Installation Node

  • Network Type: Testnet
  • Chain-id: kiichain3
  • Current Node version: v2.0.0
  • Hardware requirements

    The following requirements are recommended for running :

    • 16 or more VCPU cores
    • At least 1 TB of SSD disk storage
    • At least 64 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

    ver="1.22.2"
    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 kiichain
    git clone https://github.com/KiiChain/kiichain.git
    cd kiichain
    git checkout v2.0.0
    make install

    Initialize Node

    Please change <MONIKER> To your own Moniker.

    kiichaind init <MONIKER> --chain-id kiichain3
    kiichaind config chain-id kiichain3
    kiichaind config keyring-backend test

    Download Genesis file

    wget -O $HOME/.kiichain3/config/genesis.json https://raw.githubusercontent.com/KiiChain/testnets/refs/heads/main/testnet_oro/genesis.json

    Configure Peers

    persistent_peers="c541892972a552bdb6402ae6e2a4d9812021f39c@88.99.162.99:19656,5b6aa55124c0fd28e47d7da091a69973964a9fe1@uno.sentry.testnet.v3.kiivalidator.com:26656,5e6b283c8879e8d1b0866bda20949f9886aff967@dos.sentry.testnet.v3.kiivalidator.com:26656"
    sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$persistent_peers\"/" $HOME/.kiichain3/config/config.toml

    Enable DB

    sed -i.bak -e "s|^occ-enabled *=.*|occ-enabled = true|" $HOME/.kiichain3/config/app.toml
    sed -i.bak -e "s|^sc-enable *=.*|sc-enable = true|" $HOME/.kiichain3/config/app.toml
    sed -i.bak -e "s|^ss-enable *=.*|ss-enable = true|" $HOME/.kiichain3/config/app.toml
    sed -i.bak -e 's/^# concurrency-workers = 20$/concurrency-workers = 500/' $HOME/.kiichain3/config/app.toml
    sed -i 's/mode = "full"/mode = "validator"/g' $HOME/.kiichain3/config/config.toml

    Set Prunning

    sed -i \
    -e 's|^pruning *=.*|pruning = "nothing"|' \
    $HOME/.kiichain3/config/app.toml

    Indexer Off

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

    Create service file

    sudo tee /etc/systemd/system/kiichaind.service > /dev/null << EOF
    [Unit]
    Description=kiichain
    After=network-online.target
    [Service]
    User=$USER
    ExecStart=$(which kiichaind) 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 kiichaind

    Use Statesync to faster sync

    Check Sync ( If False than go to create validator )

    kiichaind status 2>&1 | jq .SyncInfo

    Create Validator

    Heads up to the Cheat Sheets to create validator