posthuman - nodes
Humans AI
Humans AIwebsiteHumans AIwebsite

Humans AI

type:
mainnet
chain id:
humans_1089-1
rpc:
https://rpc.humans.posthuman.digital
rest:
https://rest.humans.posthuman.digital
wss:
wss://rpc.humans.posthuman.digital
evm-rpc:
https://evm.humans.posthuman.digital
seed-node:
589eaa7656ff1af6c50f32d7b63dda1cf83c7906@46.39.246.50:26656
  • installation guide
  • state sync
  • peers
  • contributions

Before node instalation make sure you have installed go Useful guile: https://www.digitalocean.com/community/tutorials/how-to-install-go-on-ubuntu-20-04

Update system and install build tools

sudo apt update sudo apt-get install git curl build-essential make jq gcc snapd chrony lz4 tmux unzip bc -y

Install node

cd $HOME mkdir src cd src git clone https://github.com/humansdotai/ cd humans git checkout v1.0.0 make install gaiad version

Initialize Node

Replace <node_name>

~/go/bin/.humansd init <node_name> --chain-id="humans_1089-1"

Download genesis.json

curl -Ls https://github.com/humansdotai/mainnets/blob/main/mainnet/1/genesis_1089-1.json > $HOME/.humansd/config/genesis.json

Download addrbook.json

curl -Ls <addrbookUrl> > $HOME/.humansd/config/addrbook.json

Create Service

Cosmovisor:

If you haven't cosmovisor, you should install it

go install cosmossdk.io/tools/cosmovisor/cmd/cosmovisor@latest

You can find cosmovisor biniry in ~/go/bin/ folder. After that you should create

mkdir -p ~/.humans/cosmovisor/genesis/bin && mkdir -p ~/.humans/cosmovisor/upgrades

Set up service:

sudo nano /etc/systemd/system/humansd.service

Replace <your_user>

[Unit] Description=humansd Daemon cosmovisor After=network-online.target [Service] User=<your_user> ExecStart=/home/<your_user>/go/bin/cosmovisor run start Restart=always RestartSec=3 LimitNOFILE=4096 Environment="DAEMON_NAME=humansd" Environment="DAEMON_HOME=/home/<your_user>/.humansd" Environment="DAEMON_ALLOW_DOWNLOAD_BINARIES=false" Environment="DAEMON_RESTART_AFTER_UPGRADE=true" Environment="DAEMON_LOG_BUFFER_SIZE=512" [Install] WantedBy=multi-user.target

Simple service file:

Set up service:

sudo nano /etc/systemd/system/humansd.service

Replace <your_user>

[Unit] Description=humansd Daemon After=network-online.target [Service] User=<your_user> ExecStart=/home/<your_user>/go/bin/humansd start Restart=always RestartSec=3 LimitNOFILE=65535 [Install] WantedBy=multi-user.target

Sync node:

After that you sould sync node. You have 2 ways. State-sync or download snapsot. See this guides in next tabs.

Start service

sudo systemctl enable humansd.service && sudo systemctl start humansd.service && journalctl -u humansd.service -f
POSTHUMAN © Copyright 2024. All Rights Reserved.