Skip to content
/ cli Public

A command line tool to interact with CENNZNet

Notifications You must be signed in to change notification settings

cennznet/cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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