An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

[![Build Status](https://travis-ci.org/paritytech/pwasm-token-example.svg?branch=master)](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
```