Skip to content

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

Notifications You must be signed in to change notification settings

IgorFrolov/pwasm-token-example

 
 

Repository files navigation

Build Status

Build prerequisites

  • rust with wasm32-unknown-emscripten target - instruction to setup can be found here
  • make sure emcc tool is in the PATH since build script uses it internally
  • wasm build util, run cargo install --git https://github.com/paritytech/wasm-utils wasm-build to install
  • bash to run ./build.sh

Build

./build.sh

Testing

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 97.8%
  • Shell 2.2%