/cep18

Implementation of ERC20 token for the CasperLabs platform.

Primary LanguageRustApache License 2.0Apache-2.0

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: