Start Node
Starting KalyChain
Last updated
Starting KalyChain
Last updated
When connecting to a network other than the network previously connected to, you must either delete the local block data or use the option to specify a different data directory.
To delete the local block data, delete the database
directory in the kaly/build/distribution/kaly-<version>
directory.
To define a genesis configuration, create a (for example, genesis.json
) and specify the file using the option.
When you specify , KalyChain uses the development mode genesis configuration with a fixed low difficulty. A node started with has an empty bootnodes list by default.
If you started Kaly with the option, use to call to confirm the node is running.
!!!example
To run a node that mines blocks at a rate suitable for testing purposes:
You can also use the following configuration file on the command line to start a node with the same options as above:
To run a node on KalyChain network specifying a genesis file and data directory:
Where <data-path>
is the path to the directory to save the chain data to. Ensure you configure a peer discovery method, such as