Upon successful setup, NCTL commands are made available via aliases for execution from within a terminal session. All such commands are prefixed by nctl-
and allow you to perform various tasks:
-
For viewing account information see here.
-
For viewing chain information see here.
-
For viewing node information see here.
-
For dispatching simple transfer deploys see here.
-
For dispatching auction deploys see here.
-
For dispatching ERC-20 deploys see here.
- For setting up a network from a stage see here.
-
NOTE 1: all ordinal identifiers are 1 based.
-
NOTE 2: all command parameters have default values to simplify the general case of testing a single local network.
-
NOTE 3: when executing either the
nctl-interactive
ornctl-start
commands, the node logging level output can be assigned by passing in theloglevel
parameter. If you do not pass in this variable then NCTL defaults either to the current value of RUST_LOG ordebug
. -
NOTE 4: many commands will accept a
node
parameter to determine to which node a query or deploy will be dispatched. If node=random then a dispatch node is determined JIT. If node=0 then a single node is chosen for dispatch.