Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 348 Bytes

README.md

File metadata and controls

17 lines (14 loc) · 348 Bytes

cennz-cli

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