PlatONet 0.1.1

dotnet add package PlatONet --version 0.1.1
NuGet\Install-Package PlatONet -Version 0.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PlatONet" Version="0.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PlatONet --version 0.1.1
#r "nuget: PlatONet, 0.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PlatONet as a Cake Addin
#addin nuget:?package=PlatONet&version=0.1.1

// Install PlatONet as a Cake Tool
#tool nuget:?package=PlatONet&version=0.1.1

PlatONet:PlatON/Alaya网络的dotnet sdk

PlatONet是PlatON/Alaya网络的dotnet sdk,通过PlatONet,开发人员能够使用dotnet(如c#,C++等)接入PlatON/Alaya网络,查询PlatON/Alaya网络的相关参数,如发送lat/atp,与智能合约进行交互,执行PlatON/Alaya网络的内置合约等。PlatONet包含client-java-sdk的所有功能。

项目仓库:https://github.com/RileyGe/PlatONet

1. 项目适用平台

PlatONet符合.net standard 2.0标准,可以广泛的应用于Windows、Mac、Linux等操作系统。

2. 安装与使用

打开Nuget命令行工具,运行以下命令:

Install-Package PlatONet

或使用Visual Studio的NuGet包管理器,搜索并安装PlatONet

3. 快速开始

请参照文档。

4. 文档

文档地址:https://rileyge.github.io/platonet-documents/

5. 项目结构

PlatONet的结构非常简单,主要包含了三个命名:PlatONetPlatONet.CryptoPlatONet.DTOs。其中PlatONet.Crypto主要是一些加密算法,仅供项目内部使用,对外公开的只有PlatONetPlatONet.DTOs两个命名空间。

5.1. PlatONet命名空间

PlatONet的主体内容都存在于这个命名空间中,主要有以下几个类:

  • Web3类:最重要入口,PlatONet的基础,可以用于查询网络基础信息、管理账号、PlatON类、PPOS类。
  • PlatON类:PlatON网络类,用于交易和查询,也可以生成PlatONContract类与智能合约进行交互。
  • PlatONContract类:智能合约类,用于与PlatON网络中的智能合约进行交互,也可以生成PlatONFunction。
  • PlatONFunction类:智能合约方法类,直接调用智能合约的方法,进行交易等。
  • Transaction类:交易信息类,进行交易内容的管理
  • Account类:账号管理、签名。
  • Address类:地址类,进行地址管理。

5.2. PlatONet.DTOs命名空间

此命名空间中包含多个数据传输对象(Data Transfer Objects),主要用于数据传输。

6. 参与本项目

任何形式的参与本项目都是欢迎的,你可以:

  • 通过Issue可Discussions来参与本项目讨论
  • 通过Pull Request向本项目提交代码
  • 资助本项目:PlatON钱包地址:lat1vvtea8l8ve7xu0pncwgrgavdpkkql4e25jp6gk
  • 给我运行的节点投票,节点名rileyge投票
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.1.1 427 12/26/2021
0.1.0.1 339 12/19/2021
0.1.0 306 12/19/2021