Nodevism.com
  • Nodevism
    • Booting Up Nodevism
  • Mainnet
    • CrossFi
      • Installation
    • Hippo Protocol
      • Endpoint
      • Installation
      • Creating-validator
      • CLI-cheatsheet
    • Medasdigital
  • Testnet
    • Aztec
    • Cortensor
    • Covalent
      • EWM Client
    • Empeiria
      • Endpoints
      • Requirement
      • Installation
      • Snapshot
      • Creating Validator
      • CLI Cheatsheet
    • Lumera Protocol
      • Public endpoint
      • Installation
      • Snapshot
      • Create Validator
      • Upgrade
      • CLI Cheatsheet
    • Odiseo
      • Installation
      • Creating Validator
      • Snapshot
      • CLI Cheatsheet
    • Symphony (Orchestra Labs)
      • Endpoint
      • Requirement
      • Installation
      • Create Validator
      • Cheatsheet
    • Union
      • Union ceremony task
    • XRVL-EVM
      • Public Endpoint
      • Installation
      • Creating Validator
      • Snapshot
      • CLI Cheatsheet
      • Cli Cheatsheet
  • Archive
    • Artela
      • Requirement
        • Public Endpoint
        • Installation
        • Create Validator
        • Upgrade
        • Snapshot
      • Testnet User Guide
    • CrossFi Chain
      • Endpoints
      • Installation
      • Upgrade
      • Validator Setup
      • Cheatsheet
      • How to create RPC,API, and Json-RPC
      • CrossFi user incentivized testnet guide
    • Dill.xyz
      • Dill light node
    • InitiaFDN
      • Endpoint
      • Run Initia Node
        • Installation
        • Creating validator
        • Setup Oracle
        • Cheatsheet
        • Upgrade
      • User Testnet Guide
    • Network3 AI
      • Installation
    • Nubit
      • Nubit Light Node
    • 0G_Labs
      • Page 2
    • Story protocol
    • Warden
      • Endpoint
      • Run Warden Node
      • Installation
      • Creating Validator
      • Cheatsheet
    • Zenrock
      • Public endpoint
      • Automatic installation
      • Manual installation
      • Creating validator
      • Usefull command
  • Other
    • Secure server settup (optional)
    • Make Terminal Colorful
Powered by GitBook
On this page
Edit on GitHub
  1. Mainnet
  2. Hippo Protocol

Installation

Installation

Install Dependencies

sudo apt update && sudo apt upgrade -y 
sudo apt install -y git gcc make unzip jq

Install GO if needed

ver="1.23.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

Sett Vars

change MONIKER="Moniker"" with your own moniker and change HIPPOD_PORT="14"" to your own port

echo "export WALLET="wallet"" >> $HOME/.bash_profile
echo "export MONIKER="Moniker"" >> $HOME/.bash_profile
echo "export HIPPOD_CHAIN_ID="hippo-protocol-1"" >> $HOME/.bash_profile
echo "export HIPPOD_PORT="14"" >> $HOME/.bash_profile
source $HOME/.bash_profile

Install Binary

cd $HOME
git clone https://github.com/hippocrat-dao/hippo-protocol hippo
cd hippo
git checkout main
make install

Initialize Node

hippod init $MONIKER --chain-id hippo-protocol-1
hippod config chain-id $HIPPOD_CHAIN_ID
hippod config keyring-backend os
hippod config node tcp://localhost:${HIPPOD_PORT}657

Download Genesis and Addrbook

curl -L https://snapshot.sychonix.com/mainnet/hippo/genesis.json > $HOME/.hippo/config/genesis.json
curl -L https://snapshot.sychonix.com/mainnet/hippo/addrbook.json > $HOME/.hippo/config/addrbook.json

Configure seed

SEEDS="a840f904e753880c6fe23c1ee7a6106517b0e58f@hippo.nodevism.com:29656,f94b1ad39835a9ce9fe9f6a83ca528d9be6ba276@hippo-mainnet.sychonix.com:12556"
PEERS="$(curl -sS https://rpc.hippo.nodevism.com/net_info | jq '.result.peers[] | "\(node_id: .node_info.id, address: .remote_ip, moniker: .node_info.moniker)"' | awk -F ':' '{print $1":"$(NF)}' | sed -z 's|\n|,|g;s|.$||')"
sed -i -e "s|^seeds *=.*|seeds = '"$SEEDS"'|; s|^persistent_peers *=.*|persistent_peers = '"$PEERS"'|" $HOME/.hippo/config/config.toml

Configure Pruning

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

Sett gas price enable prometheus and disable indexing

sed -i -e "s|^minimum-gas-prices *=.*|minimum-gas-prices = \"0.001ahp\"|" $HOME/.hippo/config/app.toml
sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.hippo/config/config.toml
sed -i -e "s/^indexer *=.*/indexer = \"null\"/" $HOME/.hippo/config/config.toml

Costumize port in app.toml

sed -i.bak -e "s%:1317%:${HIPPOD_PORT}317%g;
s%:8080%:${HIPPOD_PORT}080%g;
s%:9090%:${HIPPOD_PORT}090%g;
s%:9091%:${HIPPOD_PORT}091%g;
s%:8545%:${HIPPOD_PORT}545%g;
s%:8546%:${HIPPOD_PORT}546%g;
s%:6065%:${HIPPOD_PORT}065%g" $HOME/.hippo/config/app.toml

Costumize port in config.toml

sed -i.bak -e "s%:26658%:${HIPPOD_PORT}658%g;
s%:26657%:${HIPPOD_PORT}657%g;
s%:6060%:${HIPPOD_PORT}060%g;
s%:26656%:${HIPPOD_PORT}656%g;
s%^external_address = \"\"%external_address = \"$(wget -qO- eth0.me):${HIPPOD_PORT}656\"%;
s%:26660%:${HIPPOD_PORT}660%g" $HOME/.hippo/config/config.toml

Create service

sudo tee /etc/systemd/system/hippod.service > /dev/null <<EOF
[Unit]
Description=hippod node service
After=network-online.target
[Service]
User=$USER
ExecStart=$(which hippod) start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF

Download Snapshot

curl "https://snapshot.sychonix.com/mainnet/hippo/hippo-snapshot.tar.lz4" | lz4 -dc - | tar -xf - -C "$HOME/.hippo"

Enable Service and start node

sudo systemctl daemon-reload
sudo systemctl enable hippod.service
sudo systemctl restart hippod.service && sudo journalctl -u hippod.service -f --no-hostname -o cat
PreviousEndpointNextCreating-validator

Last updated 2 days ago