🔌Installation
1️⃣ Installation packeges and dependencies
sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip -y
➡️ Go Installation
cd $HOME
VER="1.23.0"
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"
[ ! -f ~/.bash_profile ] && touch ~/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bash_profile
source $HOME/.bash_profile
[ ! -d ~/go/bin ] && mkdir -p ~/go/bin
➡️ Set Vars
You can replace 55 with anything you want. Please write 2 digits.
echo "export ARKEO_PORT="55"" >> $HOME/.bash_profile
source $HOME/.bash_profile
2️⃣ Install node
cd && git clone https://github.com/arkeonetwork/arkeo
cd arkeo
git checkout master
TAG=testnet make install
mkdir -p $HOME/.arkeo/cosmovisor/genesis/bin
mv $(which arkeod) $HOME/.arkeo/cosmovisor/genesis/bin
sudo ln -s $HOME/.arkeo/cosmovisor/genesis $HOME/.arkeo/cosmovisor/current -f
sudo ln -s $HOME/.arkeo/cosmovisor/current/bin/arkeod /usr/local/bin/arkeod -f
go install cosmossdk.io/tools/cosmovisor/cmd/cosmovisor@v1.7.0
➡️ Create a service
sudo tee /etc/systemd/system/arkeod.service > /dev/null << EOF
[Unit]
Description=Arkeo Network node service
After=network-online.target
[Service]
User=$USER
ExecStart=$(which cosmovisor) run start
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
Environment="DAEMON_HOME=$HOME/.arkeo"
Environment="DAEMON_NAME=arkeod"
Environment="UNSAFE_SKIP_BACKUP=true"
Environment="PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:$HOME/.arkeo/cosmovisor/current/bin"
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable arkeod
➡️ Initialize the node
arkeod config set client chain-id arkeo-testnet-3
arkeod config set client keyring-backend test
arkeod config set client node tcp://localhost:${ARKEO_PORT}657
arkeod init "Moniker-Name" --chain-id arkeo-testnet-3
➡️ Genesis
wget -O $HOME/.arkeo/config/genesis.json "https://raw.githubusercontent.com/MictoNode/arkeo-network/refs/heads/main/genesis.json"
➡️Addrbook
wget -O $HOME/.arkeo/config/addrbook.json "https://raw.githubusercontent.com/MictoNode/arkeo-network/refs/heads/main/addrbook.json"
➡️ Gas Settings
sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "0.001uarkeo"|g' $HOME/.arkeo/config/app.toml
➡️ Port
sed -i.bak -e "s%:1317%:${ARKEO_PORT}317%g;
s%:8080%:${ARKEO_PORT}080%g;
s%:9090%:${ARKEO_PORT}090%g;
s%:9091%:${ARKEO_PORT}091%g;
s%:8545%:${ARKEO_PORT}545%g;
s%:8546%:${ARKEO_PORT}546%g;
s%:6065%:${ARKEO_PORT}065%g" $HOME/.arkeo/config/app.toml
sed -i.bak -e "s%:26658%:${ARKEO_PORT}658%g;
s%:26657%:${ARKEO_PORT}657%g;
s%:6060%:${ARKEO_PORT}060%g;
s%:26656%:${ARKEO_PORT}656%g;
s%^external_address = \"\"%external_address = \"$(wget -qO- eth0.me):${ARKEO_PORT}656\"%;
s%:26660%:${ARKEO_PORT}660%g" $HOME/.arkeo/config/config.toml
➡️ Seeds and Peers
SEEDS="9dfa5f2d19c1174baf5e597965394269e654f9b7@seed31.innovationtheory.com:26656"
PEERS="bb761c984bd990f3055f412917396754cd22af7a@validator31.innovationtheory.com:26656,81e36f94351d47803b8e1e0d0ad2d2e8e14ed36b@validator32.innovationtheory.com:26656"
sed -i -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*seeds *=.*/seeds = \"$SEEDS\"/}" \
-e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*persistent_peers *=.*/persistent_peers = \"$PEERS\"/}" $HOME/.arkeo/config/config.toml
➡️ 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-interval *=.*/pruning-interval = \"10\"/" $HOME/.arkeo/config/app.toml
sed -i 's|swagger =.*| swagger = true|g' $HOME/.arkeo/config/app.toml
➡️ Indexer
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.arkeo/config/config.toml
➡️ Snap
arkeod tendermint unsafe-reset-all --home $HOME/.arkeo
if curl -s --head curl https://snapshots-testnet.nodejumper.io/arkeo/arkeo_latest.tar.lz4 | head -n 1 | grep "200" > /dev/null; then
curl https://snapshots-testnet.nodejumper.io/arkeo/arkeo_latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.arkeo
else
echo no have snap
fi
➡️ Let's get started
sudo systemctl restart arkeod
sudo journalctl -fu arkeod -o cat
➡️ Create wallet
arkeod keys add wallet-name
➡️ Import wallet
arkeod keys add wallet-name --recover
➡️ Faucet
➡️ Create Validator
Reminder: You can't create a validator without Sync. You must have to catch the latest block.
cd $HOME
arkeod tx staking create-validator \
--amount=1000000uarkeo \
--pubkey=$(arkeod tendermint show-validator) \
--moniker="MONIKER" \
--identity="IDENTITY" \
--details="YOURDETAILS" \
--chain-id=arkeo-testnet-3 \
--commission-rate=0.10 \
--commission-max-rate=0.20 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1 \
--from=WALLET-NAME \
--gas-prices=0.01uarkeo \
--gas-adjustment=1.5 \
--gas=auto \
-y
➡️ Delegation
arkeod tx staking delegate $(arkeod keys show WALLET-NAME --bech val -a) amount00000000uarkeo --from WALLET-NAME --chain-id arkeo-testnet-3 --gas-prices 0.01uarkeo --gas-adjustment 1.5 --gas auto -y
➡️ Complete deletion
cd $HOME
sudo systemctl stop arkeod
sudo systemctl disable arkeod
sudo rm -rf /etc/systemd/system/arkeod.service
sudo systemctl daemon-reload
sudo rm -f /usr/local/bin/arkeod
sudo rm -f $(which arkeod)
sudo rm -rf $HOME/.arkeo
sed -i "/ARKEO_PORT_/d" $HOME/.bash_profile
➡️ Block check
local_height=$(curl -s localhost:${ARKEO_PORT}657/status | jq -r .result.sync_info.latest_block_height); network_height=$(curl -s https://arkeo-testnet-rpc.mictonode.com/status | jq -r .result.sync_info.latest_block_height); blocks_left=$((network_height - local_height)); echo "Your node height: $local_height"; echo "Network height: $network_height"; echo "Blocks left: $blocks_left"
Your node height - the current block of your node
Network height - the last block of the network
Blocks left - how many blocks your node has left to sync.
Last updated