Boilerplate code to test Parity WASM tools and compile rust/c/c++ code to wasm-contracts
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
http://localhost:8000
Execute call
call
see /samples directory for sample contracts that are compiled this way
/samples
emcc
PATH
wasm32-unknown-emscripten