Installation Node

  • Network Type: Testnet
  • Chain-id: pearl
  • Current Node version:
  • Hardware requirements

    The following requirements are recommended:

    • 12 or more physical CPU cores
    • At least 2 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

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

    ver="1.25.0"
    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

    git clone https://github.com/gnolang/gno.git
    cd gno && git checkout chain/pearl
    make -C gno.land install.gnoland install.gnokey

    Init

    gnoland config init
    gnoland secrets init
    gnoland config set moniker (MONIKER)

    Set Config

    gnoland config set consensus.peer_gossip_sleep_duration 10ms
    gnoland config set consensus.timeout_commit 3s
    gnoland config set mempool.size 10000
    gnoland config set p2p.flush_throttle_timeout 10ms
    gnoland config set p2p.max_num_outbound_peers 40
    gnoland config set p2p.persistent_peers g1m37xukfq6yl555k93fcyzns83qnmgyax9zm875@seed-1.pearl.testnets.gno.land:26656,g1ngukqd3khekaqjf90k45cglzm0l25wwzl2fkn2@seed-2.pearl.testnets.gno.land:26656

    Download Genesis

    • Genesis
    wget -O $HOME/gno/gnoland-data/config/genesis.json https://github.com/gnolang/gno/releases/download/chain/pearl/genesis.json

    Create Service file

    sudo tee /etc/systemd/system/gnoland.service > /dev/null <<EOF
    [Unit]
    Description=Gnoland node
    After=network-online.target
    [Service]
    User=$USER
    WorkingDirectory=$HOME/gno
    Environment="GNOROOT=/root/gno"
    ExecStart=$(which gnoland) start --genesis $HOME/gno/gnoland-data/config/genesis.json --data-dir $HOME/gno/gnoland-data/ --chainid pearl --skip-genesis-sig-verification
    Restart=always
    RestartSec=3
    LimitNOFILE=65535
    [Install]
    WantedBy=multi-user.target
    EOF
    • Enable Service and Start Node
    sudo systemctl daemon-reload
    sudo systemctl enable gnoland
    sudo systemctl restart gnoland
    journalctl -u gnoland -f -o cat

    Sync Info

    curl -s http://localhost:26657/status | jq -r .result.sync_info.catching_up

    Latest Block

    curl -s localhost:26657/status | jq .result.sync_info.latest_block_height

    Snapshot