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
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