https://github.com/openethereum/pwasm-token-example
A simple ERC-20 compatible token contract written in Rust compiled into WebAssembly
https://github.com/openethereum/pwasm-token-example
Last synced: 26 days ago
JSON representation
A simple ERC-20 compatible token contract written in Rust compiled into WebAssembly
- Host: GitHub
- URL: https://github.com/openethereum/pwasm-token-example
- Owner: openethereum
- License: mit
- Archived: true
- Created: 2017-10-13T12:24:47.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-19T15:07:38.000Z (over 5 years ago)
- Last Synced: 2025-09-27T22:05:17.100Z (about 1 month ago)
- Language: Rust
- Size: 401 KB
- Stars: 50
- Watchers: 3
- Forks: 12
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-substrate - pwasm-token-example, A complete implementation of ERC20
README
[](https://travis-ci.org/paritytech/pwasm-token-example)
## 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
```