/pwasm-token-example

A simple ERC-20 compatible token contract written in Rust compiled into WebAssembly

Primary LanguageRustMIT LicenseMIT

Build Status

Build prerequisites

Install rust with wasm32-unknown-unknown target:

rustup target add wasm32-unknown-unknown

Install Wasm build util:

cargo install pwasm-utils-cli

Build

Run:

./build.sh

Testing

cargo test --manifest-path="contract/Cargo.toml" --features std