Artela Network Node

TLanderon
2 min readJul 16, 2024

--

Github | Twitter | Keybase

The TLanderon team has successfully deployed a validator node in the Artela blockchain project. This guide outlines the steps and configurations used for setting up the node.

Validator Information

Deployment Steps

To deploy the Artela node, follow these detailed steps:

Step 1: Update and Install Dependencies

sudo apt update && sudo apt upgrade -y
sudo apt install -y build-essential git curl jq

Step 2: Install Go

wget https://dl.google.com/go/go1.16.4.linux-amd64.tar.gz
sudo tar -xvf go1.16.4.linux-amd64.tar.gz
sudo mv go /usr/local
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH

Step 3: Clone Artela Repository

git clone https://github.com/artela-network/artela
cd artela
make install

Step 4: Initialize the Node

Initialize the node with the desired moniker and chain ID.

artelad init TLanderon --chain-id artela-testnet

Step 5: Configure the Node

Configure the node by setting up the config.toml and app.toml files located in the .artelad/config directory.

nano ~/.artelad/config/config.toml

Update the following fields:

  • Moniker: "TLanderon"
  • P2P Laddr: "tcp://0.0.0.0:26656"
  • RPC Laddr: "tcp://0.0.0.0:26657"
nano ~/.artelad/config/app.toml

Update the following fields:

  • minimum-gas-prices: "0.025uartela"
  • pruning: "custom"
  • pruning-keep-recent: "100"
  • pruning-keep-every: "0"
  • pruning-interval: "10"

Step 6: Add Genesis Account

Add the genesis account using the artelacli tool.

artelacli add-genesis-account $(artelacli keys show TLanderon -a) 1000000000stake

Step 7: Generate and Collect Gentxs

Generate the gentx file and collect all gentxs.

artelad gentx --name TLanderon --amount 1000000000stake
artelad collect-gentxs

Step 8: Validate Genesis File

Validate the genesis file to ensure the configuration is correct.

artelad validate-genesis

Step 9: Start the Node

Start the node with the following command.

artelad start

Example Configuration Files

Here are example configurations for config.toml and app.toml.

config.toml

moniker = "TLanderon"
fast_sync = true
db_backend = "goleveldb"
db_dir = "data"
log_level = "info"
log_format = "plain"
[api]
address = "tcp://0.0.0.0:1317"
[grpc]
address = "0.0.0.0:9090"

app.toml

minimum-gas-prices = "0.025uartela"
pruning = "custom"
pruning-keep-recent = "100"
pruning-keep-every = "0"
pruning-interval = "10"

--

--