A complete command reference with all available options for starting Lisk Core can be found in the Lisk Core CLI.

Connecting to a specific network

To connect to a specific network with Lisk Core, specify the desired network with the --network or -n flag.

$ lisk-core start --network=NETWORK (1)
1 NETWORK may be devnet or testnet.

Using a custom config file

Lisk Core uses the network-specific configurations at ~/.lisk/lisk-core/config by default.

However, it is possible to use Lisk Core with a custom config, by specifying the path to the config file with the --config or -c flag.

The custom config file needs to follow the JSON config structure of Lisk Core. A straightforward and easy method is to copy one of the network-specific default configs of Lisk Core and adjust it to your requirements.

$ lisk-core start --config=path/to/custom-config.json

Enabling plugins

Plugins, including the HTTP API plugin are not enabled by default. Use the dedicated flags to enable them on application start:

$ lisk-core start --enable-forger-plugin --enable-http-api-plugin