ewasm / wrc20-examples

This repository contains examples of WRC20 tokens written in different languages.
MIT License
12 stars 5 forks source link

links to wrc20 examples #1

Open cdetrio opened 5 years ago

cdetrio commented 5 years ago

Link to your wrc20 examples here.

cdetrio commented 5 years ago

The rust w.i.p. is here: https://github.com/ewasm/rust-ewasm/tree/wrc20/ewasm-token

lrettig commented 5 years ago

AS is here: https://github.com/ewasm/assemblyscript-ewasm-api/blob/master/assembly/src/main.ts

cdetrio commented 5 years ago

Nim is here: https://github.com/status-im/nim-eth-contracts/blob/master/examples/wrc20.nim

poemm commented 5 years ago

C is here (C++ is similar.) (It works. Some extra files are for creating a test filler. WebAssembly text is in wrc20Filler.yml, follow the shell script to reproduce it.): https://gist.github.com/poemm/edc40a7103d1efc91f9fe0c7ba19ddf4

poemm commented 5 years ago

Handwritten WebAssembly is here (It works.): https://gist.github.com/poemm/11563b49f75ee890dca769c43f5c20ba

cdetrio commented 5 years ago

Kotlin https://github.com/walleth/KWRC20 (see also https://github.com/ligi/kotlin-eWASM-test)

lrettig commented 5 years ago

Not Ewasm, but an interesting comparison for us: Parity's ink! eDSL on top of Rust for Substrate: https://github.com/paritytech/ink/blob/master/examples/lang/erc20/src/lib.rs