Skip to content

lum-network/mainnet

Repository files navigation

Lum Network - MainNet

Official documentation hosted here: https://docs.lum.network

Key informations

Chain ID

lum-network-1

Genesis file

Available in this repository: ./genesis.json

curl -s  https://raw.githubusercontent.com/lum-network/mainnet/master/genesis.json > ~/.lumd/config/genesis.json

sha256sum ~/.lumd/config/genesis.json
3bbbd7aff6c545126d869fc683f6344e65ae71b048b25540826cd2f3be91a24c

Seed nodes

Available here: ./seeds.txt

19ad16527c98b782ee35df56b65a3a251bd99971@peer-1.mainnet.lum.network:26656

Persistent peers

Available here: ./persistent_peers.txt

b47626b9d78ed7ed3c413304387026f907c70cbe@peer-0.mainnet.lum.network:26656,[email protected]:41156,[email protected]:11656,[email protected]:12656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656

lumd version

$ lumd version --long
name: lum
server_name: lumd
version: 1.6.5
commit: 255e6e549f3ab50cd24b6b7bfbe72167aadd4e2e

Installation

Prerequisites: Make sure to have Golang >=1.18.

Make sure your Go configuration looks like that one (especially the GO111Module):

export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin

Clone the repository

git clone https://github.com/lum-network/chain.git
cd chain
git checkout v1.4.0
make install

Check that you have the right lumd version installed:

lumd version --long
name: lum
server_name: lumd
version: 1.4.0
commit: 7aef762569a35fcd6ecd2759c99bbc82a318b650

Setup your node

Download Genesis file.

curl -s  https://raw.githubusercontent.com/lum-network/mainnet/master/genesis.json > ~/.lumd/config/genesis.json

sha256sum ~/.lumd/config/genesis.json
3bbbd7aff6c545126d869fc683f6344e65ae71b048b25540826cd2f3be91a24c

Add seed peers and persistent peers to your config.toml

nano ~/.lumd/config/config.toml

Create a systemd file for your Lum Network service:

sudo nano /etc/systemd/system/lumd.service

Copy and paste the following and update <YOUR_HOME_PATH>:

[Unit]
Description=Lum Network daemon
After=network-online.target

[Service]
User=lum
ExecStart=/<YOUR_HOME_PATH>/go/bin/lumd start --p2p.laddr tcp://0.0.0.0:26656 --home /<YOUR_HOME_PATH>/.lumd
Restart=on-failure
RestartSec=3
LimitNOFILE=4096

[Install]
WantedBy=multi-user.target

2 This assumes $HOME/go to be your Go workspace, and $HOME/.lumd to be your directory for config and data. Your actual directory locations may vary.

Enable and start the new service:

sudo systemctl enable lumd
sudo systemctl start lumd

Check status:

lumd status

Check logs:

journalctl -u lumd -f

Validator setup

1. Minimum hardware requirements

  • 4 CPU ores
  • 16 GB RAM
  • 200 GB of disk space
  • 100 mbps bandwidth

2. Configure minimum gas price

Configure the minimum gas price to minimum-gas-prices = "0.001ulum"

nano ~/.lumd/config/app.toml

3. Create validator transaction

Set the parameters you want

lumd tx staking create-validator \
  --amount=1000000ulum \
  --pubkey=$(lumd tendermint show-validator) \
  --moniker="my super new validator" \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1" \
  --chain-id=lum-network-1

You can also edit your validator afterward

lumd tx staking edit-validator \
   --website="https://lum.network" \
   --details="So luminous" \
   --chain-id=lum-network-1 \

4. Upload validator logo

If you want your validator to have a logo displayed on the Lum Network explorer, you must follow the procedure detailed here: https://github.com/lum-network/public-assets

If you want to do the same for Mintscan, you must follow the similar procedure detailed here: https://github.com/cosmostation/cosmostation_token_resource

5. Join Discord

Once your validator is up and running you can join the private validator channel on Discord.

This is the main communication channel with validators.

  • Join the Lum Network Discord server
  • Ping the infrastructure-support channel to get the Validator Role and access the validator channels