Installation Node

  • Network Type: Mainnet
  • Chain-id: hippo-protocol-1
  • Current Node version: v1.0.1
  • 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.22.6 If you already have GO installed you can skip this

    ver="1.22.6"
    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 hippo
    git clone https://github.com/hippo-protocol/hippo-protocol.git
    cd hippo-protocol
    git checkout v1.0.1
    make install

    Init Change <MONIKER> with ur Name

    hippod init <MONIKER> --chain-id hippo-protocol-1

    Custom Port

    PORT=115
    sed -i -e "s|^chain-id *=.*|chain-id = \"hippo-protocol-1\"|" $HOME/.hippo/config/client.toml
    sed -i -e "s%:26657%:${PORT}57%" $HOME/.hippo/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}60%" $HOME/.hippo/config/config.toml
    sed -i -e "s%:1317%:${PORT}17%; s%:9090%:${PORT}90%" $HOME/.hippo/config/app.toml

    Download Genesis file and addrbook

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

    Configure Gas

    sed -i -e "s/^minimum-gas-prices *=.*/minimum-gas-prices = \"5000000000000ahp\"/;" ~/.hippo/config/app.toml

    Indexer Off

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

    create service file and start node

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

    Snapshot

    Create Validator