Browsing kristjank's repository ark-net.
Use the search box or the tree view on the right, or view ark-net on GitHub.
Copyright 2017 chris, Copyright 2017 ARK
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: * With full features, Windows Desktop applications, Mono Desktop applications, and platform supported at .NET Standard Library. Should work will all .NET solutions with framework > 4.5.2. * It's a work in progress so mobile platform testing are still to follow.
This is a work in progress. Nevertheless - it is already functional and you can include it in your solutions for ARK Ecosystem.
How to install?
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
Go on the nuget website for more information.
How to get started?
All ark-node services have available reponses have their object representations in the form of ValueObjects. You can user 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.
Layer is used for core Ark blockchain communication (transaction, crypto...). It is wrapped by api libraries that are called from the service layer.
TransactionApi tx = TransactionApi.CreateTransaction(recepient, amount, description, passphrase);
Peer peer = Network.Mainnet.GetRandomPeer();
var result = peer.PostTransaction(tx);
For a full list of available api calls please look at the ARK.NET Test project ```c# //PeerService var peers = PeerService.GetAll(); var peersOK = peers.Where(x => x.Status.Equals("OK"));
//TransactionService var trans = TransactionService.GetAll(); ... ```
More information about ARK Ecosystem and etc
Please, use github issues for questions or feedback. For confidential requests or specific demands, contact us on our public channels.
Useful link for a free IDE :
Visual Studio Community Edition : https://www.visualstudio.com/products/visual-studio-community-vs
Chris (email@example.com), with a lot of help from FX Thoorens firstname.lastname@example.org and ARK Community
Support this project
The MIT License (MIT)
Copyright (c) 2017 ARK
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.