cennz-cli

November 2, 2021 ยท View on GitHub

Minimal REPL env for the CENNZnet API

# Usage:
./bin/cennz-cli \
  --endpoint=<ws://<host>:<port>|nikau|mainnet> \
  --types=</path/to/types.json> \
  --run=</path/to/customScript.js>

Type creation / decoding

The REPL provides type decoding utilites

const decodedBalance = utils.createType('Balance', 0x12);