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>
The REPL provides type decoding utilites
const decodedBalance = utils.createType('Balance', 0x12);