44aad38464 | ||
---|---|---|
examples | ||
include | ||
LICENSE-APACHEv2 | ||
LICENSE-MIT | ||
README.md | ||
eth_contracts.nim | ||
eth_contracts.nimble | ||
postprocess.sh |
README.md
Ethereum smart contracts in Nim
Disclaimer: WIP
This is a sample of how building eWASM contracts in Nim is possible. Requirements:
- clang 6.0 or later with WebAssembly support. Most likely has to be built manually.
wasm2wat
andwat2wasm
from wabt (WebAssembly binary toolkit)- [optional] wasm-gc optimizer
Compiling examples
export WASM_LLVM_BIN=/path/to/llvm/bin/folder
nimble examples
License
Licensed under one of the following:
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license: LICENSE-MIT or http://opensource.org/licenses/MIT