![]() |
VOOZH | about |
dotnet add package ark.net --version 0.8.0
NuGet\Install-Package ark.net -Version 0.8.0
<PackageReference Include="ark.net" Version="0.8.0" />
<PackageVersion Include="ark.net" Version="0.8.0" />Directory.Packages.props
<PackageReference Include="ark.net" />Project file
paket add ark.net --version 0.8.0
#r "nuget: ark.net, 0.8.0"
#:package ark.net@0.8.0
#addin nuget:?package=ark.net&version=0.8.0Install as a Cake Addin
#tool nuget:?package=ark.net&version=0.8.0Install as a Cake Tool
👁 GitHub issues
👁 GitHub forks
👁 GitHub stars
👁 GitHub license
Ark.NET is the ARK Ecosystem library for the .NET platform. It implements all most relevant ARK functionalities to help you develop efficient .NET applications built upon ARK platform. It provides also low level access to ARK so you can easily build your application on top of it.
The package supports:
Install-Package ark.net Go on the nuget website for more information.
To compile it by yourself, you can git clone, open the project and hit the compile button on visual studio. In command prompt:
git clone https://github.com/kristjank/ark-net
cd ark-net
All ark-node services have available reponses have their object representations in the form of ValueObjects. You can use service classes under service folder. Responses are IEnumerable or IQueryable (depends if the class and functionality).
It's best to let the code do the speaking. For more examples look at the ARK.NET Tests, where all tests are written and you can see the api usage. Some code snippets are below.
First call should be network selection, so all settings can initialize before going into action.
ArkNetApi.Instance.Start(NetworkType.MainNet); //Other types are TestNet and DevNet
For additional settings please see settings file. To modify settings, just add settings.conf file to root folder. File can only include changed settings (not all).
var accCtnrl = new AccountController("top secret pass");
//Send ARK
var result = accCtnrl.SendArk(100, "AUgTuukcKeE4XFdzaK6rEHMD5FLmVBSmHk", "Akr.Net test trans from Account",
"pass phrase");
//Vote 4 Delegate
var result = accCtnrl.VoteForDelegate( votes, "top secret pass");
For a full list of available api calls please look at the ARK.NET Test project
//PeerService
var peers = PeerService.GetAll();
var peersOK = peers.Where(x => x.Status.Equals("OK"));
//TransactionService
var trans = TransactionService.GetAll();
...
Layer is used for core Ark blockchain communication (transaction, crypto...). It is wrapped by api libraries that are called from the service and Account layer.
TransactionApi tx = TransactionApi.CreateTransaction(recepient, amount, description, passphrase);
Peer peer = Network.Mainnet.GetRandomPeer();
var result = peer.PostTransaction(tx);
Please, use github issues for questions or feedback. For confidential requests or specific demands, contact us on our public channels.
Visual Studio Community Edition : https://www.visualstudio.com/products/visual-studio-community-vs
Chris (kristjan.kosic@gmail.com), with a lot of help from FX Thoorens fx@ark.io and ARK Community
Ark address:AUgTuukcKeE4XFdzaK6rEHMD5FLmVBSmHk
Copyright (c) 2017 ARK
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 was computed. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 was computed. net463 net463 was computed. net47 net47 was computed. net471 net471 is compatible. net472 net472 was computed. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
As ARK is part of the community - the community growth and contribution can be seen in many ways. ARK-NET's latest release is a major refactor and update from community members (thank you all @sharkdev-j and @dnovacik).
Changes in short:
Added builds for multiple frameworks Net Standard 2.0, Net 471 #56
Added generic request structure for easier querying #62
AutoLoader configuration from peers #4
NuGet Package creation for both frameworks #59
MultipleBroadCast fixes #6
DEVNET support and FULL implementation of all tests #48, #39, #46
Did I mention that we have ALL unit tests implemented !!! :-)
Added async methods for non blocking API communication #27 #45
Peer filtering and selection improvement #3
Core services improvement
Full BlockService api implementation
... code restructure and reorganization... and many more...
Get the new version, while it is still hot:)
-delegate chris