Install rust with wasm32-unknown-unknown
target:
rustup target add wasm32-unknown-unknown
Install Wasm build util:
cargo install pwasm-utils-cli
Run:
./build.sh
cargo test --manifest-path="contract/Cargo.toml" --features std
A simple ERC-20 compatible token contract written in Rust compiled into WebAssembly
RustMIT