Installation Node

  • Network Type: Testnet
  • Chain-id: artela_11822-1
  • Current Node version: v0.4.7-rc6
  • Hardware requirements

    The following requirements are recommended for running Defund:

    • 8 or more physical CPU cores
    • At least 400 GB of SSD disk storage
    • At least 16 GB of memory (RAM)
    • At least 100mbps network bandwidth

    Install dependencies Required

    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

    Install go

    We are gonna use GO Version 1.21.1 If you already have GO installed you can skip this

    ver="1.21.1"
    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" >> ~/.bash_profile
    source ~/.bash_profile
    go version

    Install binary

    cd $HOME
    git clone https://github.com/artela-network/artela
    cd artela
    git checkout v0.4.7-rc6
    make install

    Verify that you’ve installed sged successfully

    artelad version

    Initialize Node

    Please change <MONIKER> To your own Moniker.

    artelad init $MONIKER --chain-id artela_11822-1
    artelad config chain-id artela_11822-1
    artelad config keyring-backend test

    Download Genesis file and addrbook

    • Genesis
    wget -O $HOME/.artelad/config/genesis.json https://docs.artela.network/assets/files/genesis-314f4b0294712c1bc6c3f4213fa76465.json
    • Addrbook
    wget -O $HOME/.artelad/config/addrbook.json https://raw.githubusercontent.com/vinjan23/Testnet.Guide/main/Artela/addrbook.json

    Configure Seeds and Peers

    seed=""
    sed -i.bak -e "s/^seed *=.*/seed = \"$seed\"/" ~/.artelad/config/config.toml
    peers="9e2fbfc4b32a1b013e53f3fc9b45638f4cddee36@47.254.66.177:26656,aa416d3628dcce6e87d4b92d1867c8eca36a70a7@47.254.93.86:26656,30fb0055aced21472a01911353101bc4cd356bb3@47.89.230.117:26656,7e583fda2efbc30c7a1ce13727320fc99c17a26d@testnet-artela.konsortech.xyz:42656,a6823118f972f7e852a6b0045e8a1f896ad4cf26@bea.stakerhouse.com:12756,b23bc610c374fd071c20ce4a2349bf91b8fbd7db@65.108.72.233:11656,5c4ea81ac7b8a7f5202fcbe5fe790a6d6f61fb22@47.251.14.108:26656,de5612c035bd1875f0bd36d7cbf5d660b0d1e943@5.78.64.11:26656,b87df5cd28aa262b100eb85d2f78024b17e3e53b@65.109.49.56:30656,978dee673bd447147f61aa5a1bdaabdfb8f8b853@47.88.57.107:26656,8889b28795e8be109a532464e5cc074e113de780@47.251.54.123:26656,17c071b9815b680e5402158287658cee78114ccf@47.88.58.36:26656,f809f4fd17a9cf434b059af3e86262bbac3cb809@47.251.32.165:26656,0172eec239bb213164472ea5cbd96bf07f27d9f2@47.251.14.47:26656,3a280a539aa874a98e4d2cdfa70118e8c14b6745@[2a03:cfc0:8000:b::5fd6:378a]:3656,30fb0055aced21472a01911353101bc4cd356bb3@47.89.230.117:26656,0c6b207fae1951efc596754682aa9184ccff1b4e@47.254.24.106:26656,9e2fbfc4b32a1b013e53f3fc9b45638f4cddee36@47.254.66.177:26656,8d0c626443a970034dc12df960ae1b1012ccd96a@[2a01:4f9:1a:ab5d::2]:30656"
    sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.artelad/config/config.toml
    sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"0uart\"/" $HOME/.artelad/config/app.toml

    config pruning

    pruning="custom" && \
    pruning_keep_recent="100" && \
    pruning_keep_every="0" && \
    pruning_interval="10" && \
    sed -i -e "s/^pruning *=.*/pruning = \"$pruning\"/" ~/.artelad/config/app.toml && \
    sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"$pruning_keep_recent\"/" ~/.artelad/config/app.toml && \
    sed -i -e "s/^pruning-keep-every *=.*/pruning-keep-every = \"$pruning_keep_every\"/" ~/.artelad/config/app.toml && \
    sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"$pruning_interval\"/" ~/.artelad/config/app.toml

    Disable Indexer to save memory

    sed -i -e 's|^indexer *=.*|indexer = "null"|' $HOME/.artelad/config/config.toml

    create service file and start node

    Create service file Create a artelad.service file in the /etc/systemd/system folder with the following code. You can change USER with your Linux user name. You need sudo previlege to do this step.

    sudo tee /etc/systemd/system/artelad.service > /dev/null <<EOF
    [Unit]
    Description=artelad
    After=network-online.target
    
    [Service]
    User=$USER
    ExecStart=$(which artelad) start
    Restart=always
    RestartSec=3
    LimitNOFILE=65535
    
    [Install]
    WantedBy=multi-user.target
    EOF
    • Enable Service and Start Node
    sudo systemctl daemon-reload
    sudo systemctl enable artelad
    sudo systemctl restart artelad
    sudo journalctl -u artelad -f -o cat

    Snapshot ( Block 882000 )

    Create Validator

    Heads up to the Cheat Sheets to create validator