Skip to content

paradiso-io/casper-contracts-js-clients

 
 

Repository files navigation

casper-contracts-js-clients

This project contains a library that will help you create clients for Casper contracts and a few implementations of such clients dedicated to interacting with smart contracts on Casper. You will find these clients published in npm:

Also, we provide a toolkit that you can use to write your contract clients:

Usage examples

In this project, you will find end-to-end (e2e) tests, which you can also use as examples of interacting and using the contracts. The tests are well documented and can give you an overview of all contract functionality.

Before running an e2e test, run `npm i' inside the project's root directory:

cd casper-erc20-js-client
npm i

ERC-20 client usage

Before running this example client, you must specify all the environment variables in the .env.erc20 file. If you need help, reference the .env.erc20.example file.

Steps:

CEP-47 client usage

Before running this example client, you must specify all the environment variables in the .env.cep47 file. If you need help, reference the .env.cep47.example file.

Steps:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 91.2%
  • JavaScript 8.8%