futureversecom / trn-trnnut-rs

The trn permission domain set for doughnuts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trnnut-rs

NOTE: This respository has been archived due to the fact that the functionality of TRNNut has been merged with the TRN-Doughnut repository - this PR was responsible for the merge.

All future developments of the trnnut and doughnuts will continue in the doughnut repository.


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

The formal spec. is available here

Generate JS/Wasm bindings

This crate also generates an npm package @trn/trnnut-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

About

The trn permission domain set for doughnuts

License:Other


Languages

Language:Rust 94.3%Language:JavaScript 5.2%Language:Shell 0.5%