Welcome to validator AlxVoy ⚡ ANODE.TEAM
Website
https://lumen-network.orgTelegram
https://t.me/+HBWh_cUJCrZiODE0Discord
https://discord.gg/DwK6V9shKcGitHub
https://github.com/network-lumen/Tokenomics
github.com/network-lumen/blockchain/blob/master/docs/tokenemission_ov…ANODE.TEAM https://main.anode.team/lumenRPC https://lumen.rpc.m.anode.teamAPI https://lumen.api.m.anode.teamgRPC http://lumen.grpc.m.anode.teamSeed Peer 3e68eb6203476d7e4aa051a4208e34e7439ccca2@65.108.229.19:26956Live peers https://anode.team/Lumen/main/peers.txtGenesis https://anode.team/Lumen/main/genesis.jsonAddrbook https://anode.team/Lumen/main/addrbook.jsonMemory 16GBCPUs Quad Core or larger AMD or Intel (amd64) CPUDisk At least 500GB NVMe Storagewget https://github.com/network-lumen/blockchain/releases/download/v2.0.0/linux-amd64-v2.0.0
mv linux-amd64-v2.0.0 lumend
chmod +x lumend
mv lumend $HOME/go/bin/lumend
wget -O $HOME/go/bin/lumend https://anode.team/Lumen/main/lumend && chmod +x $HOME/go/bin/lumend
lumend init [moniker] --chain-id lumen
sed -i "s/chain-id = .*/chain-id = \"lumen\"/" $HOME/.lumen/config/client.toml
lumend keys add [wallet_name]
curl https://anode.team/Lumen/main/genesis.json > ~/.lumen/config/genesis.json
curl https://anode.team/Lumen/main/addrbook.json > ~/.lumen/config/addrbook.json
SEEDS=""
PEERS="3e68eb6203476d7e4aa051a4208e34e7439ccca2@65.108.229.19:26956"
sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.lumen/config/config.toml
sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "0ulmn"|g' $HOME/.lumen/config/app.toml
curl -sSL https://anode.team/set-ports.sh | bash -s -- .lumen
sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.lumen/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.lumen/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"19\"/" $HOME/.lumen/config/app.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.lumen/config/config.toml
sudo tee /etc/systemd/system/lumend.service > /dev/null <<EOF
[Unit]
Description=Lumen
After=network-online.target
[Service]
User=$USER
ExecStart=$(which lumend) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload && sudo systemctl enable lumend
sudo systemctl restart lumend && journalctl -fu lumend -o cat
cat > validator.json <<EOF
{
"pubkey": $(lumend comet show-validator),
"amount": "1000000ulmn",
"moniker": "[moniker]",
"identity": "[identity]",
"website": "[website]",
"details": "[details]",
"security": "[contact]",
"commission-rate": "0.05",
"commission-max-rate": "0.20",
"commission-max-change-rate": "0.01",
"min-self-delegation": "1"
}
EOF
FROM_ADDR=$($BIN keys show [wallet_name] -a --keyring-backend test --home "$HOME/.lumen")
lumend keys pqc-generate \
--name "validator-pqc" \
--home "$HOME/.lumen" \
--keyring-backend "test"
lumend tx staking create-validator validator.json \
--from [wallet_name] \
--chain-id lumen \
--keyring-backend "test" \
--home "$HOME/.lumen" \
--pqc-from "$FROM_ADDR" \
--pqc-key "validator-pqc" \
--gas auto \
--gas-adjustment "1.5" \
--yes
SNAP_RPC=https://lumen.rpc.m.anode.team:443 && \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) && \
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
wget https://anode.team/unsafe-reset-all.sh && chmod u+x unsafe-reset-all.sh && ./unsafe-reset-all.sh lumend .lumen
peers="3e68eb6203476d7e4aa051a4208e34e7439ccca2@65.108.229.19:26956"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.lumen/config/config.toml
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.lumen/config/config.toml
sudo systemctl restart lumend && journalctl -fu lumend -o cat
ANODE.TEAM https://test.anode.team/lumenRPC https://lumen.rpc.t.anode.teamAPI https://lumen.api.t.anode.teamgRPC http://lumen.grpc.t.anode.teamSeed Peer 3e68eb6203476d7e4aa051a4208e34e7439ccca2@65.108.229.19:26956Live peers https://anode.team/Lumen/test/peers.txtGenesis https://anode.team/Lumen/test/genesis.jsonAddrbook https://anode.team/Lumen/test/addrbook.jsonMemory 16GBCPUs Quad Core or larger AMD or Intel (amd64) CPUDisk At least 500GB NVMe Storagewget https://github.com/network-lumen/blockchain/releases/download/v2.0.0/linux-amd64-v2.0.0
mv linux-amd64-v2.0.0 lumend
chmod +x lumend
mv lumend $HOME/go/bin/lumend
wget -O $HOME/go/bin/lumend https://anode.team/Lumen/test/lumend && chmod +x $HOME/go/bin/lumend
lumend init [moniker] --chain-id lumen
sed -i "s/chain-id = .*/chain-id = \"lumen\"/" $HOME/.lumen/config/client.toml
lumend keys add [wallet_name]
curl https://anode.team/Lumen/test/genesis.json > ~/.lumen/config/genesis.json
curl https://anode.team/Lumen/test/addrbook.json > ~/.lumen/config/addrbook.json
SEEDS=""
PEERS="3e68eb6203476d7e4aa051a4208e34e7439ccca2@65.108.229.19:26956"
sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.lumen/config/config.toml
sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "0ulmn"|g' $HOME/.lumen/config/app.toml
curl -sSL https://anode.team/set-ports.sh | bash -s -- .lumen
sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.lumen/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.lumen/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"19\"/" $HOME/.lumen/config/app.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.lumen/config/config.toml
sudo tee /etc/systemd/system/lumend.service > /dev/null <<EOF
[Unit]
Description=Lumen
After=network-online.target
[Service]
User=$USER
ExecStart=$(which lumend) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload && sudo systemctl enable lumend
sudo systemctl restart lumend && journalctl -fu lumend -o cat
cat > validator.json <<EOF
{
"pubkey": $(lumend comet show-validator),
"amount": "1000000ulmn",
"moniker": "[moniker]",
"identity": "[identity]",
"website": "[website]",
"details": "[details]",
"security": "[contact]",
"commission-rate": "0.05",
"commission-max-rate": "0.20",
"commission-max-change-rate": "0.01",
"min-self-delegation": "1"
}
EOF
FROM_ADDR=$($BIN keys show [wallet_name] -a --keyring-backend test --home "$HOME/.lumen")
lumend keys pqc-generate \
--name "validator-pqc" \
--home "$HOME/.lumen" \
--keyring-backend "test"
lumend tx staking create-validator validator.json \
--from [wallet_name] \
--chain-id lumen \
--keyring-backend "test" \
--home "$HOME/.lumen" \
--pqc-from "$FROM_ADDR" \
--pqc-key "validator-pqc" \
--gas auto \
--gas-adjustment "1.5" \
--yes
SNAP_RPC=https://lumen.rpc.m.anode.team:443 && \
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \
BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash) && \
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH
wget https://anode.team/unsafe-reset-all.sh && chmod u+x unsafe-reset-all.sh && ./unsafe-reset-all.sh lumend .lumen
peers="3e68eb6203476d7e4aa051a4208e34e7439ccca2@65.108.229.19:26956"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.lumen/config/config.toml
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \
s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \
s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \
s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \
s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" $HOME/.lumen/config/config.toml
sudo systemctl restart lumend && journalctl -fu lumend -o cat