How to set up a Lisk Core node via Snap.
Ubuntu 20.04 (LTS) x86_64
Ubuntu 22.04 (LTS) x86_64
- The following platforms are not officially supported but should still function as intended:
Any Linux system running systemd and AppArmor.
The following system requirements are recommended:
Machines with a minimum of 4 GB RAM for the Mainnet.
Machines with a minimum of 2 GB RAM for the Testnet.
Machines with a minimum of 40 GB HDD.
Please ensure, that the necessary ports are open to run Lisk Core as intended.
For example, in case ufw is used on Ubuntu to manage the firewall settings, the respective ports can be opened as follows:
ufw allow 7667
ufw allow 7887
To run and manage a Lisk Core node in the future, please create a separate
lisk user as described below:
sudo adduser lisk (1)
|1||Create a new user.|
It is not necessarily required to set up a
lisk user, especially when you are running a local instance for development purposes.
However, if it is required then it is recommended to create the user using the MacOS GUI.
After successful installation, start the node with the following command:
lisk-core start --network mainnet
The default log levels for Mainnet are:
So if you start the node, it won’t show any logs in the console.
This is the recommended setting for reducing the number of logs for a running node.
However, to verify that the node started correctly, update the log levels in the config to
Alternatively, start the node with the following flag:
See the Managing logs guide for more information about logging.
lisk-core start --network testnet
lisk-core start --network devnet
|The passphrase for the genesis account(s) can be found here in the Lisk Core GitHub repository under the following path: config/devnet/passphrase.json.|