An open API service indexing awesome lists of open source software.

https://github.com/make-software/casper-net-sdk-clients

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.
https://github.com/make-software/casper-net-sdk-clients

blockchain casper-network library sdk

Last synced: 9 months ago
JSON representation

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.

Awesome Lists containing this project

README

          

# Casper .NET SDK Clients

This library is an extension of the [Casper .NET SDK](https://github.com/make-software/casper-net-sdk) that provides easy to use client classes for the Casper [ERC20](https://github.com/casper-ecosystem/erc20) and [CEP47](https://github.com/casper-ecosystem/casper-nft-cep47) smart contracts.

Support for the enhanced NFT standard [CEP-78](https://github.com/casper-ecosystem/cep-78-enhanced-nft) is coming soon.

## Documentation

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](https://make-software.github.io/casper-net-sdk/). Articles for the ERC20 and CEP47 clients will be added soon.

## Prerequisites

To use this Clients library you'll need to have .NET 5 or later installed in your system.

## Get started

This library is published as a nuget package in [nuget.org](https://www.nuget.org/packages/Casper.Network.SDK.Clients).

To add a reference to the Clients library in your project, use the Package Manager in Visual Studio or the `dotnet` cli tool.

### Package Manager (Windows)
```
Install-Package Casper.Network.SDK.Clients
```

### dotnet cli tool (Windows/Mac/Linux)
```
dotnet add package Casper.Network.SDK.Clients
```

## Integration tests

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](https://github.com/make-software/casper-nctl-docker)

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'
```

## Create a workspace in Gitpod

Click the button to start coding in Gitpod with an online IDE.

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/make-software/casper-net-sdk-clients)