Lumera Mainnet Validator
Lumera Protocol is a layer-1 blockchain designed to support decentralized AI services and Web3 applications.
Chaind ID | Last Version Tag |
---|---|
lumera-mainnet-1 | v1.6.1 |
Installation
- Install Dependencies
bash
sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip -y
- Install Go
bash
cd $HOME
VER="1.22.3"
wget "https://golang.org/dl/go$VER.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$VER.linux-amd64.tar.gz"
rm "go$VER.linux-amd64.tar.gz"
[ ! -f ~/.bash_profile ] && touch ~/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bash_profile
source $HOME/.bash_profile
[ ! -d ~/go/bin ] && mkdir -p ~/go/bin
- Set Vars
Configuration:
Generated Code:
Loading...
- Download Binary
bash
cd $HOME
wget https://github.com/LumeraProtocol/lumera/releases/download/v1.6.1/lumera_v1.6.1_linux_amd64.tar.gz
tar xzvf lumera_v1.6.1_linux_amd64.tar.gz
rm lumera_v1.6.1_linux_amd64.tar.gz install.sh
chmod +x lumerad
mv lumerad /usr/local/bin/
sudo mv libwasmvm.x86_64.so /usr/lib/
sudo ldconfig
- Initialized
bash
lumerad init $MONIKER --chain-id $LUMERA_CHAIN_ID
sed -i \
-e 's|^chain-id *=.*|chain-id = "lumera-mainnet-1"|' \
-e 's|^keyring-backend *=.*|keyring-backend = "os"|' \
-e 's|^node *=.*|node = "tcp://localhost:${LUMERA_PORT}657"|' \
$HOME/.lumera/config/client.toml
- Download addrbook & genesis
bash
wget -O $HOME/.lumera/config/genesis.json https://vault.astrostake.xyz/mainnet/lumera/genesis.json
wget -O $HOME/.lumera/config/addrbook.json https://vault.astrostake.xyz/mainnet/lumera/addrbook.json
wget -O $HOME/.lumera/config/claims.csv https://raw.githubusercontent.com/LumeraProtocol/lumera-networks/refs/heads/master/mainnet/claims.csv
- Configure Node
Configure peers
bash
SEEDS=""
PEERS="277773c00a7f7029775deba6e28532c40b670d16@95.214.55.46:30357,c8e9ab5451951bc8f75cdc0eb81b9cb25571e7df@161.35.221.191:26656,ddd091cecab267b467f9f6167e9268391fc0ec1f@57.128.98.34:20001,,faf9bc564f4d200d741da088731b6b3ba02192aa@65.108.232.93:30756,89757803f40da51678451735445ad40d5b15e059@169.155.45.78:26656,1ef18bb3ed8efee9fb150151cbcdfca438fa9db4@64.185.227.242:30756,ab5b0bafe670543d6f25dea19a264c7da1e50672@65.108.201.240:30756,5b8d4baa4e4c86b94322d452dc66c4bf218cfc95@184.107.244.74:12300,54361f222e87b7dd1cb90973079c44e7e31c03e5@15.235.42.134:12300,2afe400bfe662b915111ec6c1e5fcb0d2c0ba64e@37.27.239.10:26656"
sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.lumera/config/config.toml
Update app.toml
ports
bash
sed -i.bak -e "s%:1317%:${LUMERA_PORT}317%g;
s%:8080%:${LUMERA_PORT}080%g;
s%:9090%:${LUMERA_PORT}090%g;
s%:9091%:${LUMERA_PORT}091%g;
s%:8545%:${LUMERA_PORT}545%g;
s%:8546%:${LUMERA_PORT}546%g;
s%:6065%:${LUMERA_PORT}065%g" $HOME/.lumera/config/app.toml
Update config.toml
ports
bash
sed -i.bak -e "s%:26658%:${LUMERA_PORT}658%g;
s%:26657%:${LUMERA_PORT}657%g;
s%:6060%:${LUMERA_PORT}060%g;
s%:26656%:${LUMERA_PORT}656%g;
s%^external_address = \"\"%external_address = \"$(wget -qO- eth0.me):${LUMERA_PORT}656\"%;
s%:26660%:${LUMERA_PORT}660%g" $HOME/.lumera/config/config.toml
Configure pruning
bash
sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.lumera/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.lumera/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"19\"/" $HOME/.lumera/config/app.toml
Set Minimum Gas Fee & Other Parameters
bash
sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "0.025ulume"|g' $HOME/.lumera/config/app.toml
sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.lumera/config/config.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.lumera/config/config.toml
- Create Services
bash
sudo tee /etc/systemd/system/lumerad.service > /dev/null <<EOF
[Unit]
Description=lumera-mainnet
After=network-online.target
[Service]
User=$USER
ExecStart=$(which lumerad) start --home $HOME/.lumera
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
- Start Services
bash
sudo systemctl daemon-reload
sudo systemctl enable lumerad
sudo systemctl restart lumerad && sudo journalctl -u lumerad -fo cat
Useful Commands
INFO
For a complete guide to creating a validator, visit our Cheat Sheet & Key Management page. It covers all the necessary commands and crucial steps for securing your keys.
Check logs
bash
sudo journalctl -u lumerad -fo cat
Check Sync
bash
source <(curl -s https://vault.astrostake.xyz/mainnet/lumera/sync_check.sh)
🛡️ Security
To apply a quick security baseline, you can configure your firewall like this:
bash
sudo ufw allow ${LUMERA_PORT}656/tcp comment 'LUMERA Node p2p Port'
🔐 For a more secure and maintainable setup, check out our Essentials Guide, including SSH key setup, Fail2Ban protection, and a full VPS hardening checklist.