#casper #token #erc20 #smart-contracts #blockchain #standard #curve

no-std curve-casper-erc20

Modified casper-erc20 according to curve specification

1 unstable release

0.1.0 Dec 29, 2022

#13 in #erc20

24 downloads per month
Used in crv20

MIT license

36KB
688 lines

Casper Fungible Tokens (CEP-18 Standard)

This repository contains a reference contract implementation and tests for fungible tokens on a Casper network, following the CEP-18 standard.

Preparation

Install the wasm32-unknown-unknown Rust target with the following command.

make prepare

Building and Testing the Contract

To build the reference fungible token contract and supporting tests, run this command:

make test

Locating the Contract Wasm

Find the Wasm for the contract in the following directory:

casper/cep18/target/wasm32-unknown-unknown/release/cep18.wasm

A JavaScript Client SDK

A JavaScript client SDK has been provided to interact with the fungible token contract.

Tutorials

For more information, visit the links below:

Dependencies

~7.5MB
~164K SLoC