Dev Mode

The page describes a basic approach to run humanode-peer in dev mode.

The dev chain should be specified to run the node in dev mode:

humanode-peer --dev

In development mode, the chain doesn't require any peer computers to produce and finalize blocks. If you see messages that blocks are being proposed and finalized, you have a running node.

... Idle (0 peers), best: #3 (0xcc78…5cb1), finalized #1 ...
... Starting consensus session on top of parent ...
... Prepared block for proposing at 4 (0 ms) ...

Additionally, --tmp flag can be passed to indicate that the node should be run as a temporary node. A temporary directory will be created to store the configuration and will be deleted at the end of the process.

humanode-peer --dev --tmp

Last updated