@cennznet/cennznut-wasm

Wasm Cennznut codec

Usage no npm install needed!

<script type="module">
  import cennznetCennznutWasm from 'https://cdn.skypack.dev/@cennznet/cennznut-wasm';
</script>

README

cennznut-rs

CircleCI

The CENNZnet permission domain set and codec.
Intended for use with Doughnuts on CENNZnet to provide safe, delegated transactions.

The formal spec. is available here

Generate JS/Wasm bindings

This crate also generates an npm package @cennznet/cennznut-wasm using wasm-pack.

To generate the package run:

# install wasm pack
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh

# build
cd js/ && yarn build

# Run tests
yarn test