Skip to content

Install

Website | Twitter | Discord | Explorer


Public Endpoints | Genesis | Addrbook

Chain ID: arkeo-testnet-3 | Latest Version: v1.0.0-prerelease | Custom Port: 140
Specify the name of your “MONIKER” (validator) which will be visible in the explorer
MONIKER="YOUR_MONIKER_NAME"

Update system and install tools

sudo apt update && sudo apt upgrade -y
sudo apt install curl build-essential git jq lz4 ncdu bashtop -y

Install GO

cd $HOME
version="1.22.5"
wget "https://golang.org/dl/go$version.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$version.linux-amd64.tar.gz"
rm "go$version.linux-amd64.tar.gz"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile

Install Cosmovisor

go install cosmossdk.io/tools/cosmovisor/cmd/cosmovisor@v1.5.0

Download and install

cd $HOME
git clone https://github.com/arkeonetwork/arkeo
cd arkeo
git checkout master
TAG=testnet make install
arkeod version --long | grep -e commit -e version

Config and Init node

# Set node configuration
arkeod config chain-id arkeo-testnet-3
arkeod config keyring-backend test
arkeod config node tcp://localhost:14057
# Initialize node
arkeod init $MONIKER --chain-id arkeo-testnet-3
# Download genesis and addrbook
curl -Ls https://snapshots.moonbridge.team/testnet/arkeo/genesis.json > $HOME/.arkeo/config/genesis.json
curl -Ls https://snapshots.moonbridge.team/testnet/arkeo/addrbook.json > $HOME/.arkeo/config/addrbook.json
# Set seeds and peers
SEEDS=""
PEERS="fe14a2636bba5675f62998635f7751d7740a4087@arkeo-test.rpc.moonbridge.team:14056"
sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/; s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.arkeo/config/config.toml
# Setting minimum gas price
sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0.0uarkeo\"|" $HOME/.arkeo/config/app.toml
# Setting pruning
sed -i -e 's|^pruning *=.*|pruning = "custom"|' $HOME/.arkeo/config/app.toml
sed -i -e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "100"|' $HOME/.arkeo/config/app.toml
sed -i -e 's|^pruning-keep-every *=.*|pruning-keep-every = "0"|' $HOME/.arkeo/config/app.toml
sed -i -e 's|^pruning-interval *=.*|pruning-interval = "10"|' $HOME/.arkeo/config/app.toml
# Disable indexer
sed -i -e 's|^indexer *=.*|indexer = "null"|' $HOME/.arkeo/config/config.toml
# Enable Prometheus
sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.arkeo/config/config.toml
# Setting custom ports
sed -i -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:14058\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://0.0.0.0:14057\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:14060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:14056\"%; s%^external_address = \"\"%external_address = \"$(wget -qO- eth0.me):14056\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":14066\"%" $HOME/.arkeo/config/config.toml
sed -i -e "s%:1317%:14017%g; s%:8080%:14080%g; s%:9090%:14090%g; s%:9091%:14091%g; s%:8545%:14045%g; s%:8546%:14046%g; s%:6065%:14065%g" $HOME/.arkeo/config/app.toml

Configure Cosmovisor

mkdir -p $HOME/.arkeo/cosmovisor/genesis/bin
mkdir -p $HOME/.arkeo/cosmovisor/upgrades
cp $HOME/go/bin/arkeod $HOME/.arkeo/cosmovisor/genesis/bin/

Create service

sudo tee /etc/systemd/system/arkeod.service > /dev/null << EOF
[Unit]
Description=Arkeo Node
After=network-online.target
[Service]
User=$USER
ExecStart=$(which cosmovisor) run start
Restart=always
RestartSec=5
LimitNOFILE=65535
Environment="DAEMON_NAME=arkeod"
Environment="DAEMON_HOME=$HOME/.arkeo"
Environment="UNSAFE_SKIP_BACKUP=true"
Environment="DAEMON_ALLOW_DOWNLOAD_BINARIES=false"
Environment="DAEMON_RESTART_AFTER_UPGRADE=true"
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable arkeod

Download latest snapshot

curl -o - -L https://snapshots.moonbridge.team/testnet/arkeo/snapshot_latest.tar.lz4 | lz4 -dc - | tar -x -C $HOME/.arkeo
[[ -f $HOME/.arkeo/data/upgrade-info.json ]] && cp $HOME/.arkeo/data/upgrade-info.json $HOME/.arkeo/cosmovisor/genesis/upgrade-info.json

Start service and check the logs

sudo systemctl start arkeod && sudo journalctl -u arkeod -f --no-hostname -o cat

Create wallet

arkeod keys add wallet

Check wallet balance

arkeod q bank balances $(arkeod keys show wallet -a)

Create a validator.json

Get pubkey

arkeod comet show-validator
cd $HOME/.arkeo/config
nano validator.json
{
"pubkey": {"@type":"/cosmos.crypto.ed25519.PubKey","key":"lR1d7YBVK5jYijOfWVKRFoWCsS4dg3kagT7LB9GnG8I="},
"amount": "1000000uarkeo",
"moniker": "YOUR_MONIKER_NAME",
"identity": "YOUR_KEYBASE_ID",
"details": "YOUR_DETAILS",
"website": "YOUR_WEBSITE_URL",
"security": "YOUR_EMAIL_ADDRESS",
"commission-rate": "0.10",
"commission-max-rate": "0.20",
"commission-max-change-rate": "0.01",
"min-self-delegation": "1"
}

Create validator

arkeod tx staking create-validator $HOME/.arkeo/config/validator.json \
--chain-id arkeo-testnet-3 \
--from wallet \
--fees 500uarkeo \
-y

Delete node

sudo systemctl stop arkeod
sudo systemctl disable arkeod
sudo rm -rf /etc/systemd/system/arkeod.service
sudo systemctl daemon-reload
sudo rm -f $(which arkeod)
sudo rm -rf $HOME/.arkeo
sudo rm -rf $HOME/arkeo