klvm_tools_wasm
v0.1.34
Published
tools for working with chiklisp language; compiler, repl, python and wasm bindings
Readme
Build
Clone GitHub repository
git clone https://github.com/Chik-Network/klvm_tools_rs
cd klvm_tools_rs/wasmUse wasm-pack to build the wasm pkg file used with npm. Install it with:
cargo install wasm-packThen build with
# Make sure you're at <klvm_tools_rs root>/wasm
wasm-pack build --release --target=nodejsTest
Prerequisite:
- NodeJS >= 16
- Wasm files built by
wasm-packcommand exist at<klvm_tools_rs root>/wasm/pkg/
# Make sure you're at <klvm_tools_rs root>/wasm
node ./tests/index.js