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: 3 months 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-19T15:07:38.000Z (about 5 years ago)
- Last Synced: 2024-10-18T19:31:19.473Z (6 months ago)
- Language: Rust
- Size: 401 KB
- Stars: 48
- Watchers: 4
- Forks: 15
- 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
```