Chain ID: axone-1 Block Height: Loading...
RPC Status:

Network Overview

Axone

Axone is a Layer-1 blockchain for collaborative AI training, governance, and monetization. It provides a framework with custom conditions ensuring privacy, compatibility, and fair value sharing. Users can build AI ecosystems and access data or infrastructure from web2 and web3 protocols like DePIN, AI, and Data networks.

https://rpc-axone.sychonix.com

https://api-axone.sychonix.com

Installation

  • Install Dependencies
sudo apt update && sudo apt upgrade -y
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 aria2 -y
  • Install Go
VER="1.21.6"
sudo rm -rf /usr/local/go
curl -Ls https://go.dev/dl/go$VER.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile
go version
  • Install Binary
cd $HOME
git clone https://github.com/axone-protocol/axoned.git
cd axone
git checkout v12.0.0
make install
  • Initialize The Node
axoned init $MONIKER --chain-id axone-1
sed -i -e "s|^keyring-backend *=.*|keyring-backend = \"os\"|" $HOME/.axoned/config/client.toml
sed -i -e "s|^chain-id *=.*|chain-id = \"axone-1\"|" $HOME/.axoned/config/client.toml
sed -i -e "s|^node *=.*|node = \"tcp://localhost:13357\"|" $HOME/.axoned/config/client.toml
  • Download Genesis & Addrbook
curl -L https://snapshot.sychonix.com/mainnet/axone/genesis.json > $HOME/.axoned/config/genesis.json
curl -L https://snapshot.sychonix.com/mainnet/axone/addrbook.json > $HOME/.axoned/config/addrbook.json
  • Configure Seeds and Peers
SEEDS="8a7a547920cb0a10054702737ebf72fb182ddd2d@axone-mainnet.sychonix.com:13356"
PEERS="$(curl -sS https://rpc-axone.sychonix.com/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}' | sed -z 's|\n|,|g;s|.$||')"
sed -i -e "s|^seeds *=.*|seeds = '"$SEEDS"'|; s|^persistent_peers *=.*|persistent_peers = '"$PEERS"'|" $HOME/.axoned/config/config.toml
  • Update Port Configuration
sed -i -e "s%:1317%:13317%; s%:8080%:13380%; s%:9090%:13390%; s%:9091%:13391%; s%:8545%:13345%; s%:8546%:13346%; s%:6065%:13365%" $HOME/.axoned/config/app.toml
sed -i -e "s%:26658%:13358%; s%:26657%:13357%; s%:6060%:13360%; s%:26656%:13356%; s%:26660%:13361%" $HOME/.axoned/config/config.toml
  • Customize Pruning
sed -i \
  -e 's|^pruning *=.*|pruning = "custom"|' \
  -e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' \
  -e 's|^pruning-interval *=.*|pruning-interval = "17"|' \
  $HOME/.axoned/config/app.toml
  • Set Minimum Gas Price, Enable Prometheus, and Disable the Indexer
sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0.01uaxone\"|" $HOME/.axoned/config/app.toml
sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.axoned/config/config.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.axoned/config/config.toml
  • Create Service File
sudo tee /etc/systemd/system/axoned.service > /dev/null <<EOF
[Unit]
Description=axone node service
After=network-online.target
[Service]
User=$USER
ExecStart=$(which axoned) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
  • Download Current Snapshot
curl "https://snapshot.sychonix.com/mainnet/axone/axone-snapshot.tar.lz4" | lz4 -dc - | tar -xf - -C "$HOME/.axoned"
  • Enable the Service and Start the Node
sudo systemctl daemon-reload
sudo systemctl enable axoned.service
sudo systemctl restart axoned.service && sudo journalctl -u axoned.service -f --no-hostname -o cat
  • Create Validator
axoned tendermint show-validator
sudo nano $HOME/.axoned/validator.json
  • Create validator.json file

{
  "pubkey": {"#pubkey"},
  "amount": "", 
  "moniker": "", 
  "identity": "",
  "website": "",
  "security": "", 
  "details": "", 
  "commission-rate": "0.05",
  "commission-max-rate": "0.2",
  "commission-max-change-rate": "0.05",
  "min-self-delegation": "1"
}
axoned tx staking create-validator $HOME/.axoned/validator.json \
--from wallet \
--chain-id axone-1 \
--gas-prices=0.01uaxone \
--gas-adjustment=1.5 \
--gas=auto

Upgrade

No chain upgrades scheduled yet.

Peers

PEERS="$(curl -sS https://rpc-axone.sychonix.com/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}' | sed -z 's|\n|,|g;s|.$||')"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.axoned/config/config.toml

Snapshot

Height: Loading... | Last updated: Loading... | Size: Loading...
  • Install dependencies, if needed
sudo apt update && sudo apt install aria2
  • Stop Service
sudo systemctl stop axoned
  • Back up priv_validator_state.json
cp $HOME/.axoned/data/priv_validator_state.json $HOME/.axoned/priv_validator_state.json.backup
  • Reset the data
axoned tendermint unsafe-reset-all --home $HOME/.axoned --keep-addr-book
  • Download Snapshot
aria2c -x 16 -s 16 -o axone-snapshot.tar.lz4 https://snapshot.sychonix.com/mainnet/axone/axone-snapshot.tar.lz4
lz4 -dc axone-snapshot.tar.lz4 | tar -xf - -C $HOME/.axoned
rm -v axone-snapshot.tar.lz4
  • Restore Backup and Restart Service
mv $HOME/.axoned/priv_validator_state.json.backup $HOME/.axoned/data/priv_validator_state.json
sudo systemctl restart axoned && sudo journalctl -u axoned -f -o cat

Addrbook

curl -L https://snapshot.sychonix.com/mainnet/axone/addrbook.json > $HOME/.axoned/config/addrbook.json

Genesis

curl -L https://snapshot.sychonix.com/mainnet/axone/genesis.json > $HOME/.axoned/config/genesis.json

API

https://api-axone.sychonix.com

RPC

https://rpc-axone.sychonix.com

CLI Cheatsheet

Wallet Management

axoned keys add 

axoned keys add  --recover

axoned keys list 

axoned keys delete 

axoned keys export 

axoned keys import .backup

axoned q bank balances $(axoned keys show  -a)

Validator Management

Moniker

Identity

Details

Website

Security Contact

Amount

axoned tx staking create-validator \
--amount=1000000uaxone \
--pubkey=$(axoned tendermint show-validator) \
--moniker="" \
--identity="" \
--details="" \
--website="" \
--security-contact= \
--chain-id=axone-1 \
--commission-rate=0.05 \
--commission-max-rate=0.20 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1 \
--gas-prices 0.01uaxone \
--gas "auto" \
--gas-adjustment "1.5" \
--from wallet \
-y

axoned tx staking edit-validator \
--new-moniker="" \
--identity="" \
--details="" \
--website="" \
--chain-id=axone-1 \
--commission-rate=0.07 \
--from wallet \
--gas=auto \
--gas-prices 0.01uaxone \
-y

axoned tx slashing unjail --from wallet --chain-id axone-1 --gas auto --gas-adjustment 1.5  

axoned query slashing signing-info $(axoned tendermint show-validator)

axoned q staking validator $(axoned keys show wallet --bech val -a)

axoned q bank denom-metadata -oj | jq

axoned status 2>&1 | jq -r '.SyncInfo.catching_up // .sync_info.catching_up'

axoned status 2>&1 | jq -r '.SyncInfo.latest_block_height // .sync_info.latest_block_height'

Token Management

axoned tx distribution withdraw-all-rewards --from wallet --chain-id axone-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.01uaxone -y 

axoned tx distribution withdraw-rewards $(axoned keys show wallet --bech val -a) --commission --from wallet --chain-id axone-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.01uaxone -y 

axoned tx staking delegate $(axoned keys show wallet --bech val -a) 1000000uaxone --from wallet --chain-id axone-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.01uaxone -y 

axoned tx staking redelegate $(axoned keys show wallet --bech val -a)  1000000uaxone --from wallet --chain-id axone-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.01uaxone -y

axoned tx staking delegate  1000000uaxone --from  --chain-id axone-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.01uaxone -y 

axoned tx staking unbond $(axoned keys show wallet --bech val -a) 1000000uaxone --from wallet --chain-id axone-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.01uaxone -y

axoned tx bank send wallet  1000000uaxone --from wallet --chain-id axone-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.01uaxone -y

Service Management

sudo systemctl daemon-reload

sudo systemctl enable axoned

sudo systemctl disable axoned

sudo systemctl start axoned

sudo systemctl stop axoned

sudo systemctl restart axoned

sudo systemctl status axoned

sudo journalctl -u axoned -f --no-hostname -o cat

cd $HOME && sudo systemctl stop axoned && sudo systemctl disable axoned && sudo rm /etc/systemd/system/axoned.service && sudo systemctl daemon-reload && sudo rm -rf $(which axoned) && sudo rm -rf $HOME/.axoned && sudo rm -rf $(which axoned)