Methods of payment Abuse

Arkeo. Installing the node

05.09.2024, 10:44

Arkeo is a decentralized solution for storing node data. The project aims to create a censorship-resistant open platform for sharing various types of indexed node data. Arkeo achieves this goal with a proprietary blockchain system built on the Cosmos SDK, which allows the coordination and provisioning of different blockchain nodes on the same marketplace.

ArkeoA decentralized platform for all data nodes

Arkeo was created to provide decentralized applications with an accelerated development pace, censorship protection, and most importantly, a fully decentralized user interface in the Web3 stack. Arkeo is a market-driven solution for decentralized infrastructure to reduce dependency on centralized data sources.

Minimum system requirements

Node type

Processor

RAM

Storage

Testnet

4

8 GB

150 GB

Script auto-installation

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

Manual installation

Server preparation

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 chrony liblz4-tool -y

Installing 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
Версия: 1
Коммит: 68c59e9057e306dd99cdf55ebf4e6b1876835dc8

Initialization

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

Creating/Restoring a wallet

arkeod keys add <имя кошелька>
ИЛИ
arkeod keys add <имя кошелька> --recover

Loading Genesis

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

Setting the minimum gas price and Peers/Seeds/Filter peers/MaxPeers parameters

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

Data Trimming (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

Indexing (optional)

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

Uploading addrbook

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

Creating 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

Startup

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

Services and tools

Deleting a 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)

Useful commands

arkeod status 2>&1 | jq .NodeInfo
arkeod status 2>&1 | jq .SyncInfo
arkeod status 2>&1 | jq .ValidatorInfo

View node logs

sudo journalctl -fu arkeod -o cat

Service Status

sudo systemctl status arkeod

Restart service

sudo systemctl restart arkeod

Stopping the service

sudo systemctl stop arkeod

Start service

sudo systemctl start arkeod

Reboot/shutdown/enable

sudo systemctl daemon-reload
sudo systemctl disable arkeod
sudo systemctl enable arkeod

Your node

echo $(arkeod tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.arkeo/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')

Working with keys

Creating a new key

arkeod keys add <имя_ключа>

Restore a key from a seed phrase

arkeod keys add <имя_ключа> --recover

Import a key from a file

arkeod keys import <имя_ключа> <путь_к_файлу>

Export a key to a file

arkeod keys export <имя_ключа>

View all keys

arkeod keys list

View key information

arkeod keys show <имя_ключа>

Deleting a key

arkeod keys delete <имя_ключа>

Network commands

Check balance

arkeod query bank balances <адрес>

Sending tokens

arkeod tx bank send <отправитель> <получатель> <количество>

Delegating tokens to validator

arkeod tx staking delegate <валопаблик> <количество> --from <имя_ключа>

Delegating tokens between validators

arkeod tx staking redelegate <из_валопаблика> <в_валопаблик> <количество> --from <имя_ключа>

Revoking delegated tokens

arkeod tx staking unbond <валопаблик> <количество> --from <имя_ключа>

Voting on proposals

arkeod tx gov vote <id_предложения> <вариант_голоса> --from <имя_ключа>

This guide covers the basic steps to install and configure an Arkeo node. Following all steps and recommendations will help you successfully launch and maintain a node on the Arkeo network.