Node guide
Server specifications
CPU
4+ VCPU
RAM
8+ GB
Storage
1+ TB SSD
UBUNTU
22.04
Bandwidth
100MBS
Installing essentials components
Before diving into the installation of your node, it's essential to update your server. To do this, simply run the following command in your VPS terminal :
sudo apt-get update && sudo apt-get upgrade -yInstall the necessary libraries
sudo apt install clang pkg-config libssl-dev curl git wget htop tmux build-essential jq make lz4 gcc unzip -yInstall Go
cd $HOME && \
ver="1.22.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" && \
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile && \
source $HOME/.bash_profile && \
go versionCheck go version
go versionThe command must respond : go version go1.22.0 linux/amd64
Install artela
artela We will use the artela library for quick and simple update when needed.
cd $HOMEgit clone https://github.com/artela-network/artelacd artelagit checkout v0.4.7-rc6make installWe check the initia version :
artelad versionThe response must be : v0.4.7-rc6
Create your variables
echo 'export MONIKER="my_custom_moniker"' >> ~/.bash_profileecho 'export CHAIN_ID="artela_11822-1"' >> ~/.bash_profileecho 'export WALLET="my_custom_wallet"' >> ~/.bash_profileecho 'export PORT="30"' >> ~/.bash_profilesource $HOME/.bash_profileNode Initialisation
cd $HOMEartelad config node tcp://localhost:${PORT}657artelad config keyring-backend testartelad config chain-id $CHAIN_IDartelad init $MONIKER --chain-id $CHAIN_IDGet the genesis.json file
wget -qO $HOME/.artelad/config/genesis.json https://docs.artela.network/assets/files/genesis-314f4b0294712c1bc6c3f4213fa76465.jsonUpdate config.toml with seeds and peers
Peers and seeds list will be added later as they are actually unstable
PEERS="[email protected]:22256,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:11656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:25556,[email protected]:45656,[email protected]:26656"SEEDS=""sed -i -e "s/^seeds *=.*/seeds = \"$SEEDS\"/" -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" "$HOME/.artela/config/config.toml"Update app.toml
sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0uart\"/" $HOME/.artelad/config/app.tomlsed -i -e 's|^indexer *=.*|indexer = "null"|' $HOME/.artelad/config/config.tomlsed -i 's|^prometheus *=.*|prometheus = true|' $HOME/.artelad/config/config.tomlsed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${PORT}658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${PORT}657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${PORT}060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${PORT}656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${PORT}660\"%" $HOME/.artelad/config/config.tomlsed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${PORT}317\"%; s%^address = \":8080\"%address = \":${PORT}080\"%; s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${PORT}090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${PORT}091\"%" $HOME/.artelad/config/app.tomlpruning="custom"
pruning_keep_recent="100"
pruning_keep_every="0"
pruning_interval="19"
sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" $HOME/.artelad/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" $HOME/.artelad/config/app.toml
sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" $HOME/.artelad/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" $HOME/.artelad/config/app.tomlCreate a service
nano /etc/systemd/system/artelad.service[Unit]
Description=My artela node
After=network.target
[Service]
User=$USER
Type=simple
ExecStart=$(which artelad) start --home $HOME/.artelad
Restart=on-failure
LimitNOFILE=65535
[Install]
WantedBy=multi-user.targetLaunching the node
systemctl enable artelad.service
systemctl start artelad.serviceCheck the status of your node
systemctl status artelad.serviceCheck the node logs
sudo journalctl -u artelad-f -o catCreate your validator wallet
Before going futher you need to wait for your node to be sync. You can check this with differents commands you can find in our Quick command page.
artelad keys add $WALLETIMPORTANT : Save your seed phrase.
Fullfill you wallet with faucet
Use the faucet available on the Artela discord
Create you validator
artelad tx staking create-validator \
--amount=10000000uart \
--pubkey=$(artelad tendermint show-validator) \
--moniker=$MONIKER \
--identity="your_identity" \
--details="your_details" \
--website="your_website" \
--chain-id=$ARTELA_CHAIN_ID \
--commission-rate=0.10 \
--commission-max-rate=0.20 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1000 \
--from=wallet \
--gas-adjustment=1.5 \
--gas="auto" \
--gas-prices=10uart \
-yCheck you validator
You can check your validator status in the explorer : https://cosmotracker.com/artela/
Last updated