✔️Humans AI
Hardware Requirements
4CPU
8RAM
100GB SSD
Clone project repository
cd && rm -rf humans git clone https://github.com/humansdotai/humans cd humans git checkout v0.2.2
Build binary
make install
Set node CLI
humansd config chain-id humans_3000-31
humansd config keyring-backend test
humansd config node tcp://localhost:18457
Initialize the node
humansd init "Your Node Name" --chain-id humans_3000-31
Download genesis, addrbook
curl -L https://snapshots-testnet.nodejumper.io/humans-testnet/genesis.json > $HOME/.humansd/config/genesis.json
curl -L https://snapshots-testnet.nodejumper.io/humans-testnet/addrbook.json > $HOME/.humansd/config/addrbook.json
Setseed
sed -i -e 's|^seeds *=.*|seeds = "6ce9a9acc23594ec75516617647286fe546f83ca@humans-testnet-seed.itrocket.net:17656,b99df5397a6104fac055f21195f1fb25b77f5704@humans-testnet-peer.itrocket.net:17656,e7c7d7868fa4d9de303b1a7a028a314b7bb55ff9@65.109.92.235:33656,5e1f23a66fafd1a73871f055a6dd2165c01fe1c2@65.109.25.62:26656"|' $HOME/.humansd/config/config.toml
Set minimum gas price
sed -i -e 's|^minimum-gas-prices *=.*|minimum-gas-prices = "10aheart"|' $HOME/.humansd/config/app.toml
Set 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/.humansd/config/app.toml
Change ports
sed -i -e "s%:1317%:18417%; s%:8080%:18480%; s%:9090%:18490%; s%:9091%:18491%; s%:8545%:18445%; s%:8546%:18446%; s%:6065%:18465%" $HOME/.humansd/config/app.toml
sed -i -e "s%:26658%:18458%; s%:26657%:18457%; s%:6060%:18460%; s%:26656%:18456%; s%:26660%:18461%" $HOME/.humansd/config/config.toml
Download latest chain data snapshot
curl "https://snapshots-testnet.nodejumper.io/humans-testnet/humans-testnet_latest.tar.lz4" | lz4 -dc - | tar -xf - -C "$HOME/.humansd"
Create a service
sudo tee /etc/systemd/system/humansd.service > /dev/null << EOF
[Unit]
Description=Humans AI node service
After=network-online.target
[Service]
User=$USER
ExecStart=$(which humansd) start
Restart=on-failure
RestartSec=10
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable humansd.service
Start the service and check the logs
sudo systemctl start humansd.service
sudo journalctl -u humansd.service -f --no-hostname -o cat
Last updated