Installation Node
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
git clone https://github.com/hippocrat-dao/hippo-protocol hippo
cd hippo
git checkout main
make install
Init Change <MONIKER> with ur Name
arkeod init <MONIKER> --chain-id hippo-protocol-1
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.bak -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