Installation Node

  • Network Type: Mainnet
  • Chain-id: columbus-5
  • Current Node version: v3.6.0
  • Hardware requirements

    The following requirements are recommended for running Defund:

    • 4 or more physical CPU cores
    • At least 200GB of SSD disk storage
    • At least 8GB 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.23.5 If you already have GO installed you can skip this

    ver="1.23.5"
    cd $HOME
    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
    rm -rf core
    git clone https://github.com/classic-terra/core.git
    cd core
    git checkout v3.6.0
    make install

    Initialize Node

    Please change <MONIKER> To your own Moniker.

    terrad init $MONIKER --chain-id columbus-5
    terpd config chain-id columbus-5
    terpd config keyring-backend file

    Download Genesis file and addrbook

    • Genesis
    curl -L https://snapshot-t.vinjan.xyz/terra/genesis.json > $HOME/.terra/config/genesis.json
    • Addrbook
    curl -L https://snapshot-t.vinjan.xyz/terra/addrbook.json > $HOME/.terra/config/addrbook.json

    Custom Port

    PORT=175
    sed -i -e "s%:26657%:${PORT}57%" $HOME/.terra/config/client.toml
    sed -i -e "s%:26658%:${PORT}58%; s%:26657%:${PORT}57%; s%:6060%:${PORT}60%; s%:26656%:${PORT}56%; s%:26660%:${PORT}61%" $HOME/.terra/config/config.toml
    sed -i -e "s%:1317%:${PORT}17%; s%:8080%:${PORT}80%; s%:9090%:${PORT}90%; s%:9091%:${PORT}91%" $HOME/.terra/config/app.toml

    config pruning

    sed -i \
    -e 's|^pruning *=.*|pruning = "custom"|' \
    -e 's|^pruning-keep-recent *=.*|pruning-keep-recent = "10"|' \
    -e 's|^pruning-keep-every *=.*|pruning-keep-every = ""|' \
    -e 's|^pruning-interval *=.*|pruning-interval = "10"|' \
    $HOME/.terra/config/app.toml

    Indexer Off

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

    create service file and start node

    Create service file Create a terrad.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/terrad.service > /dev/null << EOF
    [Unit]
    Description=Terra Node
    After=network-online.target
    
    [Service]
    User=$USER
    ExecStart=$(which terrad) start
    Restart=on-failure
    RestartSec=3
    LimitNOFILE=65535
    
    [Install]
    WantedBy=multi-user.target
    EOF
    • Start Node
    sudo systemctl daemon-reload
    sudo systemctl enable terrad
    sudo systemctl restart terrad
    sudo journalctl -u terrad -f -o cat

    Create Validator

    Heads up to the Cheat Sheets to create validator