Nodevism.com
  • Nodevism
    • Introduction
  • Mainnet
    • CrossFi
      • Installation
    • Medasdigital
  • Testnet
    • Aztec
    • Cortensor
    • Covalent
      • EWM Client
    • Dill.xyz
      • Dill light node
    • Empeiria
      • Endpoints
      • Requirement
      • Installation
    • Lumera Protocol
      • Public endpoint
      • Installation
      • Snapshot
      • Create Validator
      • CLI Cheatsheet
    • Odiseo
      • Installation
      • Creating Validator
      • Snapshot
      • CLI Cheatsheet
    • Symphony (Orchestra Labs)
      • Endpoint
      • Requirement
      • Installation
      • Create Validator
      • Cheatsheet
    • Union
      • Union ceremony task
    • XRVL-EVM
      • Public Endpoint
      • Installation
      • Creating Validator
      • Snapshot
      • CLI Cheatsheet
      • Cli Cheatsheet
  • Archive
    • Artela
      • Requirement
        • Public Endpoint
        • Installation
        • Create Validator
        • Upgrade
        • Snapshot
      • Testnet User Guide
    • CrossFi Chain
      • Endpoints
      • Installation
      • Upgrade
      • Validator Setup
      • Cheatsheet
      • How to create RPC,API, and Json-RPC
      • CrossFi user incentivized testnet guide
    • InitiaFDN
      • Endpoint
      • Run Initia Node
        • Installation
        • Creating validator
        • Setup Oracle
        • Cheatsheet
        • Upgrade
      • User Testnet Guide
    • Network3 AI
      • Installation
    • Nubit
      • Nubit Light Node
    • 0G_Labs
      • Page 2
    • Story protocol
    • Warden
      • Endpoint
      • Run Warden Node
      • Installation
      • Creating Validator
      • Cheatsheet
    • Zenrock
      • Public endpoint
      • Automatic installation
      • Manual installation
      • Creating validator
      • Usefull command
  • Other
    • Secure server settup (optional)
Powered by GitBook
On this page
  • Install depedencies
  • Install GO if needed
  • Sett Vars
  • Download & Install Binary
  • Verify installation
  • Configure and inittial app
  • Download Genesis and Addrbook
  • Sett Seed and Peer
  • Sett Custom Port at config.toml
  • Sett Custom Port at App.toml
  • Configure Prunning
  • Sett Minimum Gas Prices & disable indexer
  • Create Service File
  • Download snapshot
  • Enable And Start Service
  1. Testnet
  2. Lumera Protocol

Installation

Install depedencies

sudo apt update && sudo apt upgrade -y

Install GO if needed

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"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> ~/.bash_profile
source ~/.bash_profile
go version

Sett Vars

to make installation easy i suggest u use this

echo "export WALLET="wallet"" >> $HOME/.bash_profile
echo "export MONIKER="Moiker"" >> $HOME/.bash_profile
echo "export LUMERA_CHAIN_ID="lumera-testnet-1"" >> $HOME/.bash_profile
echo "export LUMERA_PORT="31"" >> $HOME/.bash_profile
source $HOME/.bash_profile

make sure you change "Wallet="with your own wallet name"" MONIKER="with your own name"" this indicate your node name LUMERA_PORT="with you want"" if your server is not have any node u can keep that at port 30 or sett to deffault port, the deffault port is 26.

Download & Install Binary

cd $HOME
curl -LO https://github.com/LumeraProtocol/lumera/releases/download/v0.4.1/lumera_v0.4.1_linux_amd64.tar.gz
tar -xvf lumera_v0.4.1_linux_amd64.tar.gz
rm lumera_v0.4.1_linux_amd64.tar.gz
rm install.sh
sudo mv libwasmvm.x86_64.so /usr/lib/
chmod +x lumerad
sudo mv lumerad $HOME/go/bin/

Verify installation

lumerad version

Configure and inittial app

lumerad config node tcp://localhost:${LUMERA_PORT}657
lumerad config keyring-backend os
lumerad config chain-id lumera-testnet-1
lumerad init "test" --chain-id lumera-testnet-1

Download Genesis and Addrbook

curl -Ls "https://snapshot.nodevism.com/testnet/lumera/genesis.json" > $HOME/.lumera/config/genesis.json
curl -Ls "https://snapshot.nodevism.com/testnet/lumera/addrbook.json" > $HOME/.lumera/config/addrbook.json

NEED CHANGE

Sett Seed and Peer

sed -i -e "s|^seeds =.|seeds = "74db5018248af4207209d8de6f2f68f44480688@193.34.212.38:31656"|" $HOME/.lumera/config/config.toml

Sett Custom Port at config.toml

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

Sett Custom Port at App.toml

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

Configure Prunning

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 = "20"/" $HOME/.lumera/config/app.toml

Sett Minimum Gas Prices & disable indexer

sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "0.025ulume"|g' $HOME/.lumera/config/app.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.lumera/config/config.toml

Create Service File

sudo tee /etc/systemd/system/lumerad.service > /dev/null <<EOF
[Unit]
Description=lumera
After=network-online.target

[Service]
User=$USER
ExecStart=$(which lumerad) start
Restart=on-failure
RestartSec=3
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF

Download snapshot

curl "https://snapshot.nodevism.com/testnet/lumera/lumera-snapshot.tar.lz4" | lz4 -dc - | tar -xf - -C "$HOME/.lumera"

Enable And Start Service

sudo systemctl daemon-reload
sudo systemctl enable lumerad
sudo systemctl restart lumerad && sudo journalctl -u lumerad -f -o cat
PreviousPublic endpointNextSnapshot

Last updated 11 hours ago