init
The init
command is the first command to call when setting up a new MakeOS node using the Kit client. Its purpose is to create the necessary directories, files and seed them with default configuration values required to connect and interact with the MakeOS network.
Usage
Options
-s, --gen-state
- Specify a path to a JSON file containing the genesis state.-t, --gen-time
- Provide the Unix timestamp when the blockchain will start.-h, --help
- Print out help message for the command.--v1
- Apply network preset for testnet v1.-k, --validator-key
- The base58 encoded private key to use as the node’s validator private key.-v, --validators
- A comma-separated list of base58 encoded public keys of the initial validators.
Examples
The example below initializes the node in development mode setting the genesis validators using the -v
flag, its validator key using -k
flag and the genesis time with the -t
flag.
Last updated