π»Installation
Server preparation
apt update && apt upgrade -yapt install curl iptables build-essential git wget jq make gcc nano tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev -yNode installation
Before installing a node, please read the validator recommendations. It is necessary to configure the validator alongside sentry nodes for security - https://github.com/network-lumen/validator-kit/blob/master/ops/validator_specs.md
The team is gradually adding validators to the active set. To make your presence known, set up a validator node that will work through sentry and introduce yourself in the Introduction Discord channel. The team also recommends using servers outside of Europe and Indonesia to increase decentralization and improve your chances of being included in the active set. Learn more about the validator development plans here - https://github.com/network-lumen/validator-kit/blob/master/ops/stake_bootstrap.md
The project team has created numerous convenient scripts for configuring both the validator and sentry and RPC nodes
For quick installation, use the script
git clone https://github.com/network-lumen/validator-kit.git
cd validator-kit
./join.sh <moniker>
$HOME/validator-kit/bin/lumend version
# v1.3.0
cp $HOME//validator-kit/bin/lumend /usr/local/bin/lumend
lumend version
# v1.3.0
journalctl -u lumend -f -o catAt this point, a full node will be running on the server, and you can leave everything as is or make any necessary changes through the config files
If the node can't find peers, update the address book
Recommendations for validator and sentrys: https://github.com/network-lumen/validator-kit/blob/master/ops/validator_specs.md
Please note that there are fine-grained settings for sentry and validator. You can use a ready-made script from the team on GitHub or manually change the firewall settings and configuration files.
When manually changing configurations, you must at least:
Change validator settings
Change settings for sentrys
Configure your firewalls to restrict sentry and validator communication
After you've configured everything and launched the nodes, check how many peers your nodes have. The validator value should be equal to the number of your sentries
You can also use snapshot or state-sync. Please use the scripts on GitHub or the commands in the relevant sections of the guide
Creating a validator
Create or restore a wallet and save wallet data
To create a validator, you will need to use the script below. This script will:
Verify that the PQC key validator-pqc exists (and generate one if necessary);
Link the PQC account to the blockchain, using the existing public consensus key from lumen tendermint show-validator;
Submit the create-validator staking transaction with minimal self-delegation;
If necessary, create a structured backup in ~/.lumen/validator-node.bak
Validators MUST back up BOTH cryptographic keys:
β ed25519 key (classic Cosmos key) β PQC key (Dilithium) π If you lose ONE of them, you WILL LOSE ACCESS TO YOUR FUNDS!!! Learn more about keys here - https://github.com/network-lumen/validator-kit/blob/master/learn/validator-key-hardening.md
You can add delegation later
Last updated