An open API service indexing awesome lists of open source software.

https://github.com/wavesplatform/zwaves


https://github.com/wavesplatform/zwaves

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# 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

```bash
cargo test
```

To build

``` bash
wasm-pack build zwaves_wasm
```

To view web page with wasm in browser.

```
cd js && npm run start
```