Welcome to validator AlxVoy ⚡ ANODE.TEAM



NexaRail

NexaRail

Links

Mainnet service

Explorers

Sync

RPC & API

Peers and seeds

Genesis and addrbook

Installation

Hardware Requirements

  • Memory 16GB
  • CPUs Quad Core or larger AMD or Intel (amd64) CPU
  • Disk At least 500GB NVMe Storage

Software Requirements

  • Prerequisite: go1.27.0 required. ref
  • Prerequisite: git. ref

Install last binary

git clone https://github.com/Bookings-cpu/nexarail && cd nexarail
git checkout v0.1.0-rc1-cli-hotfix
make build
cp ./build/nexaraild $HOME/go/bin/

if an error has occurred, you can simply download the binary

wget -O $HOME/go/bin/nexaraild https://anode.team/NexaRail/main/nexaraild && chmod +x $HOME/go/bin/nexaraild

Init the config files

nexaraild init [moniker] --chain-id nexarail-testnet-2
sed -i "s/chain-id = .*/chain-id = \"nexarail-testnet-2\"/" $HOME/.nexarail/config/client.toml

Create a wallet

nexaraild keys add [wallet_name]

Download genesis and addrbook

curl https://anode.team/NexaRail/main/genesis.json > ~/.nexarail/config/genesis.json
curl https://anode.team/NexaRail/main/addrbook.json > ~/.nexarail/config/addrbook.json

Add peers, seed

SEEDS=""
PEERS="8d1ede6b689057c5b7b0eb0db55596437061da3b@65.108.229.19:26656"
sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.nexarail/config/config.toml

Add min gas

sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "0.025unxrl"|g' $HOME/.nexarail/config/app.toml

Set custom ports

curl -sSL https://anode.team/set-ports.sh | bash -s -- .nexarail

Pruning and indexer

sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.nexarail/config/app.toml 
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.nexarail/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"19\"/" $HOME/.nexarail/config/app.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.nexarail/config/config.toml

Create the service file

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

[Service]
User=$USER
ExecStart=$(which nexaraild) start --home /root/.nexarail --minimum-gas-prices 0.025unxrl
Restart=always
RestartSec=3
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF

Load service and start

sudo systemctl daemon-reload && sudo systemctl enable nexaraild
sudo systemctl restart nexaraild && journalctl -fu nexaraild -o cat

Create Validator

nexaraild tx staking create-validator \
  --amount=1000000unxrl \
  --pubkey=$(nexaraild tendermint show-validator) \
  --moniker="[moniker]" \
  --identity="[identity]" \
  --website="[website]" \
  --details="[details]" \
  --security-contact="[contact]" \
  --chain-id="nexarail-testnet-2" \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1" \
  --gas=auto --gas-adjustment=1.4 --gas-prices=0.025unxrl \
  --from=[wallet_name]

Testnet service

Explorers

Sync

RPC & API

Peers and seeds

Genesis and addrbook

Installation

Hardware Requirements

  • Memory 16GB
  • CPUs Quad Core or larger AMD or Intel (amd64) CPU
  • Disk At least 500GB NVMe Storage

Software Requirements

  • Prerequisite: go1.27.0 required. ref
  • Prerequisite: git. ref

Install last binary

git clone https://github.com/Bookings-cpu/nexarail && cd nexarail
git checkout v0.1.0-rc1-cli-hotfix
make build
cp ./build/nexaraild $HOME/go/bin/

if an error has occurred, you can simply download the binary

wget -O $HOME/go/bin/nexaraild https://anode.team/NexaRail/test/nexaraild && chmod +x $HOME/go/bin/nexaraild

Init the config files

nexaraild init [moniker] --chain-id nexarail-testnet-2
sed -i "s/chain-id = .*/chain-id = \"nexarail-testnet-2\"/" $HOME/.nexarail/config/client.toml

Create a wallet

nexaraild keys add [wallet_name]

Download genesis and addrbook

curl https://anode.team/NexaRail/test/genesis.json > ~/.nexarail/config/genesis.json
curl https://anode.team/NexaRail/test/addrbook.json > ~/.nexarail/config/addrbook.json

Add peers, seed

SEEDS=""
PEERS="8d1ede6b689057c5b7b0eb0db55596437061da3b@65.108.229.19:26656"
sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.nexarail/config/config.toml

Add min gas

sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "0.025unxrl"|g' $HOME/.nexarail/config/app.toml

Set custom ports

curl -sSL https://anode.team/set-ports.sh | bash -s -- .nexarail

Pruning and indexer

sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.nexarail/config/app.toml 
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.nexarail/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"19\"/" $HOME/.nexarail/config/app.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.nexarail/config/config.toml

Create the service file

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

[Service]
User=$USER
ExecStart=$(which nexaraild) start --home /root/.nexarail --minimum-gas-prices 0.025unxrl
Restart=always
RestartSec=3
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF

Load service and start

sudo systemctl daemon-reload && sudo systemctl enable nexaraild
sudo systemctl restart nexaraild && journalctl -fu nexaraild -o cat

Create Validator

nexaraild tx staking create-validator \
  --amount=1000000unxrl \
  --pubkey=$(nexaraild tendermint show-validator) \
  --moniker="[moniker]" \
  --identity="[identity]" \
  --website="[website]" \
  --details="[details]" \
  --security-contact="[contact]" \
  --chain-id="nexarail-testnet-2" \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1" \
  --gas=auto --gas-adjustment=1.4 --gas-prices=0.025unxrl \
  --from=[wallet_name]