2017-04-12 20:52:01 +04:00
2017-04-12 19:41:36 +03:00
2017-04-12 19:12:48 +03:00
2017-04-12 19:10:05 +03:00
2017-04-12 20:52:01 +04:00

wasm-tools

Boiler plate code to test parity wasm tools and compile rust/c/c++ code to wasm-contracts

How to compile contract

git clone https://github.com/NikVolf/wasm-tools
cd wasm-tools/runner
./build.sh <PATH TO C/C++/Rust source file>
./start.sh

and then open http://localhost:8000, press Execute call to run a contract call function, see browser console log for gas counter

Prerequisites

Emscripiten for C/C++ (see this page, emcc should be in the PATH) Rust with wasm32-unknown-emscripten target (see this instruction to setup)

S
Description
No description provided
Readme 1.1 MiB
Languages
Rust 85.7%
WebAssembly 13.9%
Just 0.4%