Axone Mainnet node guide

Chain info

Network Chain ID:axone-1
Denom stake:uaxone
Binary:axoned
Working directory:.axoned
Explorer:Explorer
Minimum hardware requirements:
Chain type
CPU
RAM
Storage
Testnet
4
16GB
300GB

Preparing the server

Update repositories:
sudo apt update && sudo apt upgrade -y
install the necessary utilities:
sudo apt install curl iptables build-essential git wget jq make gcc nano tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev -y
install fail2ban:
sudo apt install -y fail2ban
Install Go:
ver="1.23.1" && 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" >> $HOME/.bash_profile && source $HOME/.bash_profile && go version

Node installation

Installing binaries:
cd $HOMEgit clone https://github.com/axone-protocol/axonedcd axonedgit checkout v12.0.0make install
Verify:
axoned version --long | grep -e version -e commit
Output logs should be like this:• version: 12.0.0• commit: 02cf86f0599d6c9b861a74ae14802ec121174088
axoned init BITNODES_guide --chain-id axone-1
Prepare cosmovisor directories and copy binary:
mkdir -p $HOME/.axoned/cosmovisor/genesis/binln -s $HOME/.axoned/cosmovisor/genesis $HOME/.axoned/cosmovisor/current -fcp $(which axoned) $HOME/.axoned/cosmovisor/genesis/bin
Install cosmovisor:
go install cosmossdk.io/tools/cosmovisor/cmd/cosmovisor@v1.7.0
Download genesis:
wget -O $HOME/.axoned/config/genesis.json "https://snapshots.axone.bitnodes.xyz/axone/genesis.json"sha256sum $HOME/.axoned/config/genesis.json
Important!• The correct checksum should be: f1a8ccf1eea946a12177d50c16b6f7ef00a74c287041a02382860062e324405c
Download addrbook
wget -O $HOME/.axoned/config/addrbook.json "https://snapshots.axone.bitnodes.xyz/axone/addrbook.json"
Set up the minimum gas price
sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0uaxone\"/;" ~/.axoned/config/app.toml
Set up pruning (OPTIONAL)
sed -i -e 's|^pruning *=.*|pruning = "custom"|' -e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' -e 's|^pruning-interval *=.*|pruning-interval = "10"|' $HOME/.axoned/config/app.toml
Change ports (OPTIONAL)
sed -i -e "s%:1317%:17617%; s%:8080%:17680%; s%:9090%:17690%; s%:9091%:17691%; s%:8545%:17645%; s%:8546%:17646%; s%:6065%:17665%" $HOME/.axoned/config/app.tomlsed -i -e "s%:26658%:17658%; s%:26657%:17657%; s%:6060%:17660%; s%:26656%:17656%; s%:26660%:17661%" $HOME/.axoned/config/config.toml
Enable/Disable Snapshots (OPTIONAL)
snapshot_interval=1000sed -i.bak -e "s/^snapshot-interval *=.*/snapshot-interval = \"$snapshot_interval\"/" ~/.axoned/config/app.toml
Create a service file
sudo tee /etc/systemd/system/axone.service > /dev/null << EOF [Unit] Description=Axone node service After=network-online.target [Service] User=$USER WorkingDirectory=$HOME/.axoned ExecStart=$(which cosmovisor) run start Restart=on-failure RestartSec=5 LimitNOFILE=65535 Environment="DAEMON_HOME=$HOME/.axoned" Environment="DAEMON_NAME=axoned" Environment="UNSAFE_SKIP_BACKUP=true" Environment="DAEMON_ALLOW_DOWNLOAD_BINARIES=true" [Install] WantedBy=multi-user.target EOF
Important!Don't forget to replace $USER with your username

Download latest snapshot

📦Download snapshot
Start node
systemctl daemon-reloadsudo systemctl enable axone.servicesudo systemctl start axone.servicesudo journalctl -u axone.service -f --no-hostname -o cat

Create validator

Add wallet:
Creatre new wallet: axoned keys add <Wallet_name> Add existing wallet axoned keys add <Wallet_name> --recover
Check your pubkey:
axoned tendermint show-validator --home $HOME/.axoned
Create validator json file:
cd $HOMEnano $HOME/.axoned/validator.json
Paste template and edit info:
{ "pubkey": {"@type":"/cosmos.crypto.ed25519.PubKey","key":"<your_key>"}, "amount": "1000000uaxone", "moniker": "BITNODES_guide", "identity": "<your_identify>", "security": "<your_email>", "details": "<your_details>", "website": "<your_website>", "commission-rate": "0.10", "commission-max-rate": "0.20", "commission-max-change-rate": "0.01", "min-self-delegation": "1" }
Tx staking create validator:
axoned --home $HOME/.axoned tx staking create-validator $HOME/.axoned/validator.json --from WalletName --chain-id axone-1 --fees 95000uaxone --gas-adjustment 1.6 --gas auto -y
(OPTIONAL) Tx staking edit validator:
axoned tx staking edit-validator --new-moniker "your_moniker" --identity "Keybase_ID" --details "Your_Description" --website "Your_Website" --security-contact "Your_Email" --chain-id axone-1 --commission-rate 0.05 --from <Your_wallet> --fees 95000uaxone --gas-adjustment 1.6 --gas auto -y