Network Overview

Hippo Protocol is a Layer 1 blockchain designed to address these challenges by empowering patients, decentralizing data ownership, and enabling secure and compliant data transactions for healthcare and AI applications.
https://rpc-hippo.sychonix.com
https://api-hippo.sychonix.com
f94b1ad39835a9ce9fe9f6a83ca528d9be6ba276@hippo-mainnet.sychonix.com:12556
PEERS="$(curl -sS https://rpc-hippo.sychonix.com/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}' | sed -z 's|\n|,|g;s|.$||')"
sed -i -e "s|^persistent_peers *=.*|persistent_peers = \"$PEERS\"|" $HOME/.hippo/config/config.toml
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
Installation
- Install Dependencies
sudo apt update && sudo apt upgrade -y
sudo apt install curl iptables build-essential git wget jq make gcc nano tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev aria2 -y
- Install Go
sudo rm -rf /usr/local/go
curl -Ls https://go.dev/dl/go1.21.13.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
eval $(echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee /etc/profile.d/golang.sh)
eval $(echo 'export PATH=$PATH:$HOME/go/bin' | tee -a $HOME/.profile)
- Install binary
cd $HOME
git clone https://github.com/hippocrat-dao/hippo-protocol hippo
cd hippo
git checkout main
make install
- Initialize The Node
hippod init $MONIKER --chain-id hippo-protocol-1
sed -i -e "s|^node *=.*|node = \"tcp://localhost:12557\"|" $HOME/.hippo/config/client.toml
sed -i -e "s|^keyring-backend *=.*|keyring-backend = \"os\"|" $HOME/.hippo/config/client.toml
sed -i -e "s|^chain-id *=.*|chain-id = \"hippo-protocol-1\"|" $HOME/.hippo/config/client.toml
- Download Genesis & 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 Seeds and Peers
SEEDS="f94b1ad39835a9ce9fe9f6a83ca528d9be6ba276@hippo-mainnet.sychonix.com:12556"
PEERS="$(curl -sS https://rpc-hippo.sychonix.com/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | 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
- Update Port Configuration
sed -i -e "s%:1317%:12517%; s%:8080%:12580%; s%:9090%:12590%; s%:9091%:12591%; s%:8545%:12545%; s%:8546%:12546%; s%:6065%:12565%" $HOME/.hippo/config/app.toml
sed -i -e "s%:26658%:12558%; s%:26657%:12557%; s%:6060%:12560%; s%:26656%:12556%; s%:26660%:12561%" $HOME/.hippo/config/config.toml
- Customize 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
- Set Minimum Gas Price, Enable Prometheus, and Disable the Indexer
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
- Create Service File
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 Current Snapshot
curl "https://snapshot.sychonix.com/mainnet/hippo/hippo-snapshot.tar.lz4" | lz4 -dc - | tar -xf - -C "$HOME/.hippo"
- Enable the Service and Start the 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
Upgrade
No chain upgrades scheduled yet.
Peers
PEERS="$(curl -sS https://rpc-hippo.sychonix.com/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}' | sed -z 's|\n|,|g;s|.$||')"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.hippo/config/config.toml
Snapshot
Height: Loading... | Last updated: Loading... | Size: Loading...
- Install dependencies, if needed
sudo apt update && sudo apt install aria2
- Stop Service
sudo systemctl stop hippod
- Back up priv_validator_state.json
cp $HOME/.hippo/data/priv_validator_state.json $HOME/.hippo/priv_validator_state.json.backup
- Reset the data
hippod tendermint unsafe-reset-all --home $HOME/.hippo --keep-addr-book
- Download Snapshot
aria2c -x 16 -s 16 -o hippo-snapshot.tar.lz4 https://snapshot.sychonix.com/mainnet/hippo/hippo-snapshot.tar.lz4
lz4 -dc hippo-snapshot.tar.lz4 | tar -xf - -C $HOME/.hippo
rm -v hippo-snapshot.tar.lz4
- Restore Backup and Restart Service
mv $HOME/.hippo/priv_validator_state.json.backup $HOME/.hippo/data/priv_validator_state.json
sudo systemctl restart hippod && sudo journalctl -u hippod -f -o cat
Addrbook
curl -L https://snapshot.sychonix.com/mainnet/hippo/addrbook.json > $HOME/.hippo/config/addrbook.json
Genesis
curl -L https://snapshot.sychonix.com/mainnet/hippo/genesis.json > $HOME/.hippo/config/genesis.json
API
api-hippo.sychonix.com
RPC
rpc-hippo.sychonix.com
CLI Cheatsheet
Wallet Management
hippod keys add
hippod keys add --recover
hippod keys list
hippod keys delete
hippod keys export
hippod keys import .backup
hippod q bank balances $(hippod keys show -a)
Validator Management
Moniker
Identity
Details
Website
Security Contact
Amount
hippod tx staking create-validator \ --amount=1000000ahp \ --pubkey=$(hippod tendermint show-validator) \ --moniker="" \ --identity="" \ --details="" \ --website="" \ --security-contact= \ --chain-id=hippo-protocol-1 \ --commission-rate=0.05 \ --commission-max-rate=0.20 \ --commission-max-change-rate=0.01 \ --min-self-delegation=1 \ --gas-prices 0.001ahp \ --gas "auto" \ --gas-adjustment "1.5" \ --from wallet \ -y
hippod tx staking edit-validator \
--new-moniker="" \
--identity="" \
--details="" \
--website="" \
--chain-id=hippo-protocol-1 \
--commission-rate=0.07 \
--from wallet \
--gas=auto \
--gas-prices 0.001ahp \
-y
hippod tx slashing unjail --from wallet --chain-id hippo-protocol-1 --gas auto --gas-adjustment 1.5
hippod query slashing signing-info $(hippod tendermint show-validator)
hippod q staking validator $(hippod keys show wallet --bech val -a)
hippod q bank denom-metadata -oj | jq
hippod status 2>&1 | jq -r '.SyncInfo.catching_up // .sync_info.catching_up'
hippod status 2>&1 | jq -r '.SyncInfo.latest_block_height // .sync_info.latest_block_height'
Token Management
hippod tx distribution withdraw-all-rewards --from wallet --chain-id hippo-protocol-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.001ahp -y
hippod tx distribution withdraw-rewards $(hippod keys show wallet --bech val -a) --commission --from wallet --chain-id hippo-protocol-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.001ahp -y
hippod tx staking delegate $(hippod keys show wallet --bech val -a) 1000000ahp --from wallet --chain-id hippo-protocol-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.001ahp -y
hippod tx staking redelegate $(hippod keys show wallet --bech val -a) 1000000ahp --from wallet --chain-id hippo-protocol-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.001ahp -y
hippod tx staking delegate 1000000ahp --from --chain-id hippo-protocol-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.001ahp -y
hippod tx staking unbond $(hippod keys show wallet --bech val -a) 1000000ahp --from wallet --chain-id hippo-protocol-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.001ahp -y
hippod tx bank send wallet 1000000ahp --from wallet --chain-id hippo-protocol-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.001ahp -y
Service Management
sudo systemctl daemon-reload
sudo systemctl enable hippod
sudo systemctl disable hippod
sudo systemctl start hippod
sudo systemctl stop hippod
sudo systemctl restart hippod
sudo systemctl status hippod
sudo journalctl -u hippod -f --no-hostname -o cat
CUSTOM_PORT= sed -i.bak -e "s%^proxy_app = \"tcp://127.0.0.1:26658\"%proxy_app = \"tcp://127.0.0.1:${CUSTOM_PORT}658\"%; s%^laddr = \"tcp://127.0.0.1:26657\"%laddr = \"tcp://127.0.0.1:${CUSTOM_PORT}657\"%; s%^pprof_laddr = \"localhost:6060\"%pprof_laddr = \"localhost:${CUSTOM_PORT}060\"%; s%^laddr = \"tcp://0.0.0.0:26656\"%laddr = \"tcp://0.0.0.0:${CUSTOM_PORT}656\"%; s%^prometheus_listen_addr = \":26660\"%prometheus_listen_addr = \":${CUSTOM_PORT}660\"%" $HOME/.hippo/config/config.toml sed -i.bak -e "s%^address = \"tcp://0.0.0.0:1317\"%address = \"tcp://0.0.0.0:${CUSTOM_PORT}317\"%; s%^address = \":8080\"%address = \":${CUSTOM_PORT}080\"%; s%^address = \"0.0.0.0:9090\"%address = \"0.0.0.0:${CUSTOM_PORT}090\"%; s%^address = \"0.0.0.0:9091\"%address = \"0.0.0.0:${CUSTOM_PORT}091\"%" $HOME/.hippo/config/app.toml
cd $HOME && sudo systemctl stop hippod && sudo systemctl disable hippod && sudo rm /etc/systemd/system/hippod .service && sudo systemctl daemon-reload && sudo rm -rf $(which hippod ) && sudo rm -rf $HOME/.hippo && sudo rm -rf $(which hippod )