This library is an extension of the Casper .NET SDK that provides easy to use client classes for the Casper ERC20 and CEP47 smart contracts.
Support for the enhanced NFT standard CEP-78 is coming soon.
Usage examples of this Clients library can be found in the Docs/Examples
directory.
The main SDK documentation, examples and tutorials can be found here. Articles for the ERC20 and CEP47 clients will be added soon.
To use this Clients library you'll need to have .NET 5 or later installed in your system.
This library is published as a nuget package in nuget.org.
To add a reference to the Clients library in your project, use the Package Manager in Visual Studio or the dotnet
cli tool.
Install-Package Casper.Network.SDK.Clients
dotnet add package Casper.Network.SDK.Clients
To run the test suite you need to spin up a local NCTL network. We recommend using Docker to quickly have it running. See the instructions here
When NCTL is running, enter the following command to execute the tests:
dotnet test --settings Casper.Network.SDK.Clients.Test/test.runsettings --filter 'TestCategory~NCTL'
Click the button to start coding in Gitpod with an online IDE.