💾Node Installation

Arkeo Testnet guide

  • Minimum hardware requirements:

1) Auto_install script

wget -O arkeot https://raw.githubusercontent.com/111STAVR111/props/main/Arkeo/arkeot && chmod +x arkeot && ./arkeot

2) Manual installation

Preparing the server

sudo apt update && sudo apt upgrade -y
sudo apt install curl tar wget clang pkg-config libssl-dev jq build-essential bsdmainutils git make ncdu gcc git jq chrony liblz4-tool -y

GO 1.21.6

ver="1.21.6"
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"
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile
source $HOME/.bash_profile
go version

Build 06.09.23

cd $HOME && mkdir $HOME/go/bin/
git clone https://github.com/arkeonetwork/arkeo && cd arkeo
wget https://share101.utsa.tech/arkeo/arkeod
chmod +x arkeod
mv arkeod $HOME/go/bin/

arkeod version --long | grep -e commit -e version

  • version: 1

  • commit: 68c59e9057e306dd99cdf55ebf4e6b1876835dc8

Initiation

arkeod init STAVR_guide --chain-id=arkeo
arkeod config chain-id arkeo

Create/recover wallet

arkeod keys add <walletname>
           OR
arkeod keys add <walletname> --recover

Download Genesis

curl -s http://seed.arkeo.network:26657/genesis | jq '.result.genesis' > $HOME/.arkeo/config/genesis.json

sha256sum $HOME/.arkeo/config/genesis.json

  • 214828d2dac5eaaa4d2e70dde63bd460dcc86ab9e5dd7868dbfa8c3186b6abf9

Set up the minimum gas price and Peers/Seeds/Filter peers/MaxPeers

sed -i.bak -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0.0uarkeo\"/;" ~/.arkeo/config/app.toml
external_address=$(wget -qO- eth0.me) 
sed -i.bak -e "s/^external_address *=.*/external_address = \"$external_address:26656\"/" $HOME/.arkeo/config/config.toml
peers=""
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.arkeo/config/config.toml
seeds=""
sed -i.bak -e "s/^seeds =.*/seeds = \"$seeds\"/" $HOME/.arkeo/config/config.toml
sed -i 's/max_num_inbound_peers =.*/max_num_inbound_peers = 50/g' $HOME/.arkeo/config/config.toml
sed -i 's/max_num_outbound_peers =.*/max_num_outbound_peers = 50/g' $HOME/.arkeo/config/config.toml

Pruning (optional)

pruning="custom"
pruning_keep_recent="1000"
pruning_keep_every="0"
pruning_interval="10"
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

Indexer (optional)

indexer="null" &&
sed -i -e "s/^indexer *=.*/indexer = \"$indexer\"/" $HOME/.arkeo/config/config.toml

Download addrbook

wget -O $HOME/.arkeo/config/addrbook.json "https://raw.githubusercontent.com/111STAVR111/props/main/Arkeo/addrbook.json"

Create a service file

tee /etc/systemd/system/arkeod.service > /dev/null <<EOF
[Unit]
Description=arkeod
After=network-online.target

[Service]
User=$USER
ExecStart=$(which arkeod) start
Restart=on-failure
RestartSec=3
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF

StateSync Arkeo Testnet

SOOON

SnapShot Testnet updated every 5 hours

SOON

Start

sudo systemctl daemon-reload
sudo systemctl enable arkeod
sudo systemctl restart arkeod && sudo journalctl -fu arkeod -o cat

Create validator

arkeod tx staking create-validator \
--commission-rate 0.1 \
--commission-max-rate 0.1 \
--commission-max-change-rate 0.2 \
--min-self-delegation "1" \
--amount "1000000"uarkeo \
--pubkey $(arkeod tendermint show-validator) \
--moniker "STAVRGuide" \
--from STAVR1 \
--chain-id arkeo \
--gas 350000 \
--details="" \
--identity="" \
--website="" -y

Delete node

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

Last updated