#casper #token #compound #erc20 #standard #modified #casper-erc20

no-std compound-casper-erc20

Modified casper-erc20 according to compound specification

1 unstable release

0.1.0 Dec 29, 2022

#12 in #erc20


Used in compound-erc20

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
~163K SLoC