AccumulateSDK 1.0.0
dotnet add package AccumulateSDK --version 1.0.0
NuGet\Install-Package AccumulateSDK -Version 1.0.0
<PackageReference Include="AccumulateSDK" Version="1.0.0" />
<PackageVersion Include="AccumulateSDK" Version="1.0.0" />
<PackageReference Include="AccumulateSDK" />
paket add AccumulateSDK --version 1.0.0
#r "nuget: AccumulateSDK, 1.0.0"
#:package AccumulateSDK@1.0.0
#addin nuget:?package=AccumulateSDK&version=1.0.0
#tool nuget:?package=AccumulateSDK&version=1.0.0
Accumulate SDK for .NET Core
.NET Core Library for Accumulate Network (https://accumulatenetwork.io/), built with C#
License
Apache-2.0 License
Contributors
Use the library
To consume this library, just add with NuGet or DotNet CLI in your project.
Full version
Install-Package AccumulateSDK -Version 1.0.0
dotnet add package AccumulateSDK --version 1.0.0
Configuration
You need to initialized the service with AccumulateClient class, with the endpoint URL.
AccumulateClient.Init(<<endpoint_url>>);
AccumulateClient.Init(<<endpoint_url>>);
You can use the Constant class with some endpoint url:
- TESTNET_ENDPOINT_V1
- LOCALHOST_ENDPOINT_V1
Dependencies
The only dependency is Newtonsoft.Json
AccumulateGetMethod
You can use get service (AccumulateGetMethod) for getting data.
using AccumulateSDK
AccumulateGetMethod accumulateGetMethod = new AccumulateGetMethod();
Responses.GetResponse responseGet = accumulateGetMethod.Get(1, "acc://d4c8d9ab07daeecf50a7c78ff03c6524d941299e5601e578/ACME").Result;
Available Methods:
- Get()
AccumulateAdiMethod
You can use adi service (AccumulateAdiMethod) for getting data.
using AccumulateSDK
AccumulateAdiMethod accumulateAdiMethod = new AccumulateAdiMethod();
Responses.AdiResponse adiResponse = accumulateAdiMethod.Adi(1, "redwagon").Result;
Available Methods:
- Adi()
AccumulateTokenMethod
You can use AccumulateTokenMethod for getting data from "token", "token-account", "token-account-history", "token-tx" and "faucet" services.
using AccumulateSDK
AccumulateTokenMethod accumulateTokenMethod = new AccumulateTokenMethod();
Responses.TokenResponse tokenResponse = accumulateTokenMethod.Token(3, "acc://ACME").Result;
Responses.TokenAccountResponse tokenAccountResponse = accumulateTokenMethod.TokenAccount(3, "acc://d4c8d9ab07daeecf50a7c78ff03c6524d941299e5601e578/ACME").Result;
Responses.TokenAccountHistoryResponse tokenAccountHistoryResponse = accumulateTokenMethod.TokenAccountHistory(3, "acc://d4c8d9ab07daeecf50a7c78ff03c6524d941299e5601e578/ACME").Result;
Responses.TokenTransactionResponse tokenTransactionResponse = accumulateTokenMethod.TokenTransaction(3, "9bf76e3fc19efd158b13b426c29dd07b37aeb6de23da4e1642fbf6a23059512b").Result;
Responses.FaucetResponse faucetResponse = accumulateTokenMethod.Faucet(3, "acc://d4c8d9ab07daeecf50a7c78ff03c6524d941299e5601e578/ACME").Result;
Available Methods:
- Token()
- TokenAccount()
- TokenAccountHistory()
- TokenTransaction()
- Faucet()
AccumulateKeyManagementMethod
You can use AccumulateKeyManagementMethod for getting data from "sig-spec" and "sig-spec-group" services.
using AccumulateSDK
AccumulateKeyManagementMethod accumulateKeyManagementMethod = new AccumulateKeyManagementMethod();
Responses.KeyPageResponse keyPageResponse = accumulateKeyManagementMethod.KeyPage(1, "acc://testadi1/keypage1").Result;
Responses.KeyBookResponse keyBookResponse = accumulateKeyManagementMethod.KeyBook(1, "acc://testadi1/keybook1").Result;
Available Methods:
- KeyPage()
- KeyBook()
Contributions
If you want to colaborate, just fork this repository and build new things. Thanks!!
| Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- Newtonsoft.Json (>= 13.0.1)
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 |
|---|---|---|
| 1.0.0 | 493 | 1/7/2022 |