Skip to content

wavesplatform/zwaves

Repository files navigation

wasm-bellman-circuit

Here is workspace to build the circuit for anonymous transactions for waves and js bindings.

  • zwaves_primitives - crate for utils and crypto function
  • zwaves_circuit - crate for circuits
  • zwaves_wasm - crate for wasm bindings
  • js - example, how to use js bindings

First, we need to install the dependencies (cargo and npm should be already installed):

cargo install wasm-pack
cd js && npm install

To run tests

cargo test

To build

wasm-pack build zwaves_wasm

To view web page with wasm in browser.

cd js && npm run start