OshVanK Node ServiceOshVanK Node Service
Lumera
Mainnet Live

Installation

Comprehensive tool to automate Lumera Network mainnet node setup with Cosmovisor support.

This script is a comprehensive tool that automates the Lumera Network mainnet node installation. It comes with Cosmovisor support and provides a user-friendly menu interface.

πŸ’’ Features

  • βœ… Automatic Go version checking and installation
  • βœ… Automatic upgrade support with Cosmovisor
  • βœ… Automatic snapshot downloading and applying
  • βœ… Multi-language support (Turkish/English)
  • βœ… Interactive menu system
  • βœ… Wallet management (create/import)
  • βœ… Validator creation and management
  • βœ… Token operations (delegate/transfer)
  • βœ… Real-time log viewing
  • βœ… Sync status check

πŸ’» System Requirements

πŸ’’ Minimum Requirements

  • CPU: 4 Core
  • RAM: 8 GB
  • Disk: 200 GB SSD
  • OS: Ubuntu 20.04 or higher
  • CPU: 8 Core
  • RAM: 16 GB
  • Disk: 500 GB NVMe SSD
  • OS: Ubuntu 22.04 LTS

πŸ’’ Quick Start

πŸ’’ One-Command Installation

wget -O lumera-setup.sh https://raw.githubusercontent.com/Edsny1/Lumera-Mainnet-Setup/refs/heads/Edsny/lumera-setup.sh && chmod +x lumera-setup.sh && ./lumera-setup.sh

πŸ’’ Detailed Installation Steps

πŸ’’ 1. Download Script

# Download the script
wget https://raw.githubusercontent.com/Edsny1/Lumera-Mainnet-Setup/refs/heads/Edsny/lumera-setup.sh

# Give execution permission
chmod +x lumera-setup.sh

# Run the script
./lumera-setup.sh

πŸ’’ 2. Language Selection

When the script starts, you will be prompted to select a language:

  • 1 - English
  • 2 - TΓΌrkΓ§e

πŸ’’ 3. Main Menu

After installation is complete, you will see the following menu options:

╔════════════════════════════════════════╗
β•‘          ANA MENÜ / MAIN MENU          β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

1)  Kurulum Yap / Install Node
2)  Sync Durumu Kontrol Et / Check Sync Status
3)  LoglarΔ± GΓΆrΓΌntΓΌle / View Logs
4)  Cüzdan Oluştur / Create Wallet
5)  CΓΌzdan Δ°Γ§e Aktar / Import Wallet
6)  Validator Oluştur / Create Validator
7)  Token Delege Et / Delegate Tokens
8)  Token GΓΆnder / Send Tokens
9)  Bakiye Kontrol Et / Check Balance
0)  Γ‡Δ±kış / Exit

πŸ’’ Installation Processes

πŸ’’ Node Installation (Menu 1)

The script automatically:

  1. Installs system dependencies
  2. Checks Go 1.23.5 version and installs if necessary
  3. Downloads Lumera binaries
  4. Installs and configures Cosmovisor
  5. Initializes the node
  6. Downloads genesis and addrbook files
  7. Downloads and applies the snapshot
  8. Creates and starts the systemd service

πŸ’’ Wallet Operations

πŸ’’ Create New Wallet (Menu 4)

# Use the menu option inside the script
# Enter a wallet name
# Save your mnemonic phrase in a safe place!

πŸ’’ Import Existing Wallet (Menu 5)

# Use the menu option inside the script
# Enter a wallet name
# Enter your mnemonic phrase

πŸ’’ Create Validator (Menu 6)

When creating a validator, you will be prompted to enter the following information:

  • Wallet Name: Wallet to be used for the validator
  • Moniker: Validator name
  • Identity: Keybase identity number (optional)
  • Website: Your website (optional)
  • Security Contact: Contact email
  • Details: Validator description
  • Commission Rate: Commission rate (e.g. 0.05 = 5%)
  • Max Rate: Maximum commission rate (e.g. 0.20 = 20%)
  • Max Change Rate: Maximum change rate (e.g. 0.01 = 1%)
  • Min Self Delegation: Minimum self delegation
  • Amount: Stake amount (e.g. 1000000ulume)

πŸ’’ Useful Commands

πŸ’’ Node Status

# Service status
sudo systemctl status lumerad

# View logs
sudo journalctl -u lumerad -f

# Node info
lumerad status 2>&1 | jq

πŸ’’ Wallet Commands

# List wallets
lumerad keys list

# Wallet balance
lumerad query bank balances $(lumerad keys show WALLET_NAME -a)

# Show wallet address
lumerad keys show WALLET_NAME -a

πŸ’’ Validator Commands

# Validator info
lumerad query staking validator $(lumerad keys show WALLET_NAME --bech val -a)

# Active validator set
lumerad query staking validators --limit 1000 -o json | jq -r '.validators[] | select(.status=="BOND_STATUS_BONDED") | [.operator_address, .description.moniker, .status] | @csv' | column -t -s','

# Unjail
lumerad tx slashing unjail --from WALLET_NAME --chain-id lumera-mainnet-1 --gas auto --gas-adjustment 1.4 --fees 500ulume -y

πŸ’’ Manual Configuration

πŸ’’ Changing Port

The script uses port 10 by default. If you want to use a different port:

# Edit .bash_profile file
nano ~/.bash_profile

# Change LUMERA_PORT value
export LUMERA_PORT="20"  # Example: 20

# Apply changes
source ~/.bash_profile

πŸ’’ Cosmovisor Configuration

Cosmovisor environment variables:

DAEMON_NAME=lumerad
DAEMON_HOME=$HOME/.lumera
DAEMON_ALLOW_DOWNLOAD_BINARIES=false
DAEMON_RESTART_AFTER_UPGRADE=true
UNSAFE_SKIP_BACKUP=true

πŸ’’ Monitoring

πŸ’’ Prometheus Metrics

Your node provides Prometheus metrics:

http://localhost:10660/metrics

πŸ’’ Log Levels

To change the log level:

lumerad config log_level "info"

Available levels: debug, info, warn, error

πŸ’’ Security

πŸ’’ Security Recommendations

  1. Firewall Configuration:
# Enable UFW
sudo ufw enable

# SSH port
sudo ufw allow 22

# P2P port
sudo ufw allow 10656

# RPC port (localhost only)
sudo ufw allow from 127.0.0.1 to any port 10657
  1. Mnemonic Phrase:

    • Never share your mnemonic phrase with anyone
    • Back it up in a safe place (paper, encrypted USB)
    • Do not store it digitally
  2. Private Key:

    • Encrypt your private key files
    • Make regular backups

πŸ’’ Troubleshooting

πŸ’’ Node is Not Syncing

# Check the number of peers
curl -s localhost:10657/net_info | jq -r '.result.n_peers'

# Add seed/peer
# Edit config.toml file
nano ~/.lumera/config/config.toml

πŸ’’ Disk is Full

# Check pruning settings
cat ~/.lumera/config/app.toml | grep pruning

# Clear log files
sudo journalctl --vacuum-time=3d

πŸ’’ Service Does Not Start

# Check error logs
sudo journalctl -u lumerad -n 100

# Check binary version
lumerad version

# Verify configuration
lumerad validate-genesis

πŸ’’ Additional Resources

On this page