openethereum / pwasm-token-example

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Rust 97.1%Language:Shell 2.9%