Node Installation
Hardware requirements The following requirements are recommended for running ARKEO:
4 or more physical CPU cores
At least 1TB of SSD disk storage
At least 8GB of memory (RAM)
At least 100mbps network bandwidth
Manual Installation
# Update & install dependencies
sudo apt update && sudo apt upgrade -y
sudo apt install clang pkg-config libssl-dev curl git wget htop tmux build-essential jq make lz4 gcc unzip -y
# Set Firewall
sudo apt install -y ufw
sudo ufw default allow outgoing
sudo ufw default deny incoming
sudo ufw allow ssh
sudo ufw enable
# Install Go
cd $HOME
sudo rm -rf /usr/local/go
curl -Ls https://go.dev/dl/go1.21.4.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)
go version
# Set Vars
MONIKER=<YOUR_MONIKER_NAME_GOES_HERE>
echo "export MONIKER=$MONIKER" >> $HOME/.bash_profile
echo "export ARKEO_CHAIN_ID="arkeo"" >> $HOME/.bash_profile
echo "export ARKEO_PORT="25"" >> $HOME/.bash_profile
source $HOME/.bash_profile
# Download Binary
cd $HOME
rm -rf arkeod
wget https://testnet-files.itrocket.net/arkeo/arkeod
chmod +x $HOME/arkeod
mv $HOME/arkeod $HOME/go/bin/arkeod
# Config and Init App
arkeod config node tcp://localhost:${ARKEO_PORT}657
arkeod config keyring-backend test
arkeod config chain-id $ARKEO_CHAIN_ID
arkeod init $MONIKER --chain-id $ARKEO_CHAIN_ID
# Add Genesis File and Addrbook
wget -O $HOME/.arkeo/config/genesis.json https://syanodes.my.id/arkeo/genesis.json
wget -O $HOME/.arkeo/config/addrbook.json https://syanodes.my.id/arkeo/addrbook.json
#Configure Seeds and Peers
SEEDS=""
PEERS="[email protected]:26656,[email protected]:60656,[email protected]:37656,[email protected]:02656,[email protected]:15756,[email protected]:22856,[email protected]:26656,[email protected]:28656,[email protected]:36656,[email protected]:14656,[email protected]:18656,[email protected]:26656,[email protected]:31656,[email protected]:26656,[email protected]:60656,[email protected]:26856,[email protected]:18656,[email protected]:18656,[email protected]:26656,[email protected]:26656,[email protected]:11006,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:14056,efd40fa78d967c0cc85aa05f88f224c93f75b0f8@2a01:11656,[email protected]:60656,[email protected]:24656,[email protected]:14656,[email protected]:26656,[email protected]:26656,[email protected]:29656,[email protected]:26656,[email protected]:26656,[email protected]:38656,[email protected]:30656,[email protected]:26656,[email protected]:24656,[email protected]:55926,[email protected]:21304,[email protected]:27656,[email protected]:36656,[email protected]:26656,[email protected]:17656,[email protected]:15756,[email protected]:12656,[email protected]:26656"
sed -i -e "s|^persistent_peers *=.*|persistent_peers = \"$PEERS\"|" $HOME/.arkeo/config/config.toml
sed -i -e "s|^seeds *=.*|seeds = \"$SEEDS\"|" $HOME/.arkeo/config/config.toml
sed -i 's/minimum-gas-prices =.*/minimum-gas-prices = "0.001uarkeo"/g' $HOME/.arkeo/config/app.toml
sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.arkeo/config/config.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.arkeo/config/config.toml
# Config Pruning
pruning="custom"
pruning_keep_recent="100"
pruning_keep_every="0"
pruning_interval="19"
sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.arkeo/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.arkeo/config/app.toml
sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.arkeo/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.arkeo/config/app.toml
# Set Custom Port
sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${ARKEO_PORT}658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${ARKEO_PORT}657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${ARKEO_PORT}060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${ARKEO_PORT}656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${ARKEO_PORT}660\"%" $HOME/.arkeo/config/config.toml
sed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${ARKEO_PORT}317\"%; s%^address = \":8080\"%address = \":${ARKEO_PORT}080\"%; s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${ARKEO_PORT}090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${ARKEO_PORT}091\"%" $HOME/.arkeo/config/app.toml
# Set Service File
sudo tee /etc/systemd/system/arkeod.service > /dev/null <<EOF
[Unit]
Description=arkeo-testnet
After=network-online.target
[Service]
User=$USER
ExecStart=$(which arkeod) start --home $HOME/.arkeo
Restart=on-failure
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
# Enable and Start Service
sudo systemctl daemon-reload
sudo systemctl enable arkeod
sudo systemctl start arkeod
sudo journalctl -fu arkeod -o cat
Last updated