Installation Node

  • Network Type: Testnet
  • Chain-id: initiation-1
  • Current Node version: v0.2.23-stage-2
  • Hardware requirements

    The following requirements are recommended for running Warden:

    • 16 or more physical CPU cores
    • At least 1 TB of SSD disk storage
    • At least 32GB 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.22.2 If you already have GO installed you can skip this

    ver="1.22.2"
    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/initia-labs/initia.git
    cd initia
    git checkout v0.2.23-stage-2
    make install

    Verify that you’ve installed Warden successfully

    initiad version --long | grep -e commit -e version

    Initialize Node

    Please change <MONIKER> To your own Moniker.

    initiad init (MONIKER) --chain-id initiation-1

    Download Genesis file and addrbook

    • Genesis
    wget -O $HOME/.initia/config/genesis.json https://raw.githubusercontent.com/initia-labs/networks/main/initiation-1/genesis.json
    • Addrbook
    wget -O $HOME/.initia/config/addrbook.json https://raw.githubusercontent.com/vinjan23/Testnet.Guide/main/Initia/addrbook.json

    Configure Seeds and Peers

    seeds=""
    sed -i.bak -e "s/^seeds =.*/seeds = \"$seeds\"/" $HOME/.initia/config/config.toml
    peers=""
    sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.initia/config/config.toml
    sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0.15uinit,0.01uusdc\"|" $HOME/.initia/config/app.toml

    config pruning

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

    Indexer Off

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

    create service file and start node

    Create service file Create a initiad.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/initiad.service > /dev/null <<EOF
    [Unit]
    Description=initia
    After=network-online.target
    
    [Service]
    User=$USER
    ExecStart=$(which initiad) 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 initiad
    sudo systemctl restart initiad
    sudo journalctl -u initiad -f -o cat

    Snapshot

    Create Validator

    Heads up to the Cheat Sheets to create validator