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

Network Overview

Axone is a layer-1 protocol that supports AI collaboration in training, governance, and monetization. It allows flexible sharing of digital resources, both on-chain and off-chain, with customizable access to improve efficiency and interoperability.

https://rpc-axone-t.sychonix.com

https://api-axone-t.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
sudo rm -rf /usr/local/go
curl -Ls https://go.dev/dl/go1.23.2.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
eval $(echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee /etc/profile.d/golang.sh)
eval $(echo 'export PATH=$PATH:$HOME/go/bin' | tee -a $HOME/.profile)
  • Install Binary
cd $HOME && mkdir -p go/bin/
git clone https://github.com/axone-protocol/axoned
cd axoned
git checkout v10.0.0
make install
  • Initialize The Node
axoned init $MONIKER --chain-id axone-dentrite-1
sed -i -e "s|^node *=.*|node = \"tcp://localhost:12557\"|" $HOME/.axoned/config/client.toml
sed -i -e "s|^keyring-backend *=.*|keyring-backend = \"os\"|" $HOME/.axoned/config/client.toml
sed -i -e "s|^chain-id *=.*|chain-id = \"axone-dentrite-1\"|" $HOME/.axoned/config/client.toml
  • Download Genesis & Addrbook
curl -L https://snapshot.sychonix.com/testnet/axone/genesis.json > $HOME/.axoned/config/genesis.json
curl -L https://snapshot.sychonix.com/testnet/axone/addrbook.json > $HOME/.axoned/config/addrbook.json
  • Configure Seeds and Peers
SEEDS="5b1b9e288b538dfe2ea4600427cbde3a6ed58daf@axone-testnet.sychonix.com:12556"
PEERS="$(curl -sS https://rpc-axone-t.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%:12517%; s%:8080%:12580%; s%:9090%:12590%; s%:9091%:12591%; s%:8545%:12545%; s%:8546%:12546%; s%:6065%:12565%" $HOME/.axoned/config/app.toml
sed -i -e "s%:26658%:12558%; s%:26657%:12557%; s%:6060%:12560%; s%:26656%:12556%; s%:26660%:12561%" $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 = \"0uaxone\"|" $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/testnet/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

Upgrade

No chain upgrades scheduled yet.

Peers

PEERS="$(curl -sS https://rpc-axone-t.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/testnet/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/testnet/axone/addrbook.json > $HOME/.axoned/config/addrbook.json

Genesis

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

API

api-axone-t.sychonix.com

RPC

rpc-axone-t.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-dentrite-1 \
--commission-rate=0.05 \
--commission-max-rate=0.20 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1 \
--gas-prices 0uaxone \
--gas "auto" \
--gas-adjustment "1.5" \
--from wallet \
-y

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

axoned tx slashing unjail --from wallet --chain-id axone-dentrite-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-dentrite-1 --gas auto --gas-adjustment 1.5 --gas-prices 0uaxone -y 

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

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

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

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

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

axoned tx bank send wallet  1000000uaxone --from wallet --chain-id axone-dentrite-1 --gas auto --gas-adjustment 1.5 --gas-prices 0uaxone -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

CUSTOM_PORT=
sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${CUSTOM_PORT}658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${CUSTOM_PORT}657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${CUSTOM_PORT}060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${CUSTOM_PORT}656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${CUSTOM_PORT}660\"%" $HOME/.axoned/config/config.toml
sed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${CUSTOM_PORT}317\"%; s%^address = \":8080\"%address = \":${CUSTOM_PORT}080\"%; s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${CUSTOM_PORT}090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${CUSTOM_PORT}091\"%" $HOME/.axoned/config/app.toml

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)