Mainnet

Chain ID: humans_1089-1 | Node Version: v1.0.0

Node Installation Guide

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 Go

rm -rf $HOME/go
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.19.5.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version

Install Node

cd $HOME

rm -rf humans

git clone https://github.com/humansdotai/humans.git

cd humans

git checkout v1.0.0

make install

humansd version

Initialize Node

Replace NodeName with your own moniker.

humansd init NodeName --chain-id=humans_1089-1

Download Genesis

curl -Ls https://ss.humans.nodestake.org/genesis.json > $HOME/.humansd/config/genesis.json 

Download addrbook

curl -Ls https://ss.humans.nodestake.org/addrbook.json > $HOME/.humansd/config/addrbook.json

Create Service

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

Download Snapshot(optional)

SNAP_NAME=$(curl -s https://ss.humans.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss.humans.nodestake.org/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.humansd

Launch Node

sudo systemctl restart humansd
journalctl -u humansd -f

If you have any questions, please reach out to our Discord

 

https://rpc.humans.nodestake.org

 

https://api.humans.nodestake.org

 

https://grpc.humans.nodestake.org:443

Chain Name: Humans Mainnet
RPC: https://jsonrpc.humans.nodestake.org/
Chain ID: 1089
Symbol: HEART
Explorer: 

https://ss.humans.nodestake.org/genesis.json

Download Genesis File

curl -Ls https://ss.humans.nodestake.org/genesis.json > $HOME/.humansd/config/genesis.json 

42cf07f20fbbcc9da26ab5f2391aeb40e8315a47@rpc.humans.nodestake.org:666

Set Seed Node

seed="42cf07f20fbbcc9da26ab5f2391aeb40e8315a47@rpc.humans.nodestake.org:666"
sed -i.bak -e "s/^seed *=.*/seed = \"$seed\"/" ~/.humansd/config/config.toml

Restart Node

sudo systemctl restart humansd
journalctl -u humansd -f

https://ss.humans.nodestake.org/addrbook.json

Download Addrbook

curl -Ls https://ss.humans.nodestake.org/addrbook.json > $HOME/.humansd/config/addrbook.json 

Restart Node

sudo systemctl restart humansd
journalctl -u humansd -f

Set Peers

peers=$(curl -s https://ss.humans.nodestake.org/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.humansd/config/config.toml

Restart Node

sudo systemctl restart humansd
journalctl -u humansd -f

Stop Node And Reset

sudo systemctl stop humansd

humansd tendermint unsafe-reset-all --home ~/.humansd/ --keep-addr-book

Configure State Sync

SNAP_RPC="https://rpc.humans.nodestake.org:443"

LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \

BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \

TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)

echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

 

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \

s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \

s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \

s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \

s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" ~/.humansd/config/config.toml

more ~/.humansd/config/config.toml | grep 'rpc_servers'

more ~/.humansd/config/config.toml | grep 'trust_height'

more ~/.humansd/config/config.toml | grep 'trust_hash'

Restart Node

sudo systemctl restart humansd
journalctl -u humansd -f

Install lz4

sudo apt update

sudo apt-get install snapd lz4 -y

Off State Sync

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.humansd/config/config.toml

Stop Node and Reset Date

sudo systemctl stop humansd

cp $HOME/.humansd/data/priv_validator_state.json $HOME/.humansd/priv_validator_state.json.backup

rm -rf $HOME/.humansd/data

humansd tendermint unsafe-reset-all --home ~/.humansd/ --keep-addr-book

Download Snapshot

SNAP_NAME=$(curl -s https://ss.humans.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss.humans.nodestake.org/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.humansd

mv $HOME/.humansd/priv_validator_state.json.backup $HOME/.humansd/data/priv_validator_state.json

Restart Node

sudo systemctl restart humansd
journalctl -u humansd -f

If you have any questions, please reach out to our Discord

Testnet

Chain ID: humans_3000-31 | Node Version: v0.2.2

Node Installation Guide

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 Go

rm -rf $HOME/go
sudo rm -rf /usr/local/go
cd $HOME
curl https://dl.google.com/go/go1.20.1.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -
cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOF
source $HOME/.profile
go version

Install Node

cd $HOME

rm -rf humans

git clone https://github.com/humansdotai/humans.git

cd humans

git checkout v0.2.2

make install

humansd version

Initialize Node

Replace NodeName with your own moniker.

humansd init NodeName --chain-id=humans_3000-31

Download Genesis

curl -Ls https://ss-t.humans.nodestake.org/genesis.json > $HOME/.humansd/config/genesis.json 

Download addrbook

curl -Ls https://ss-t.humans.nodestake.org/addrbook.json > $HOME/.humansd/config/addrbook.json

Create Service

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

Download Snapshot(optional)

SNAP_NAME=$(curl -s https://ss-t.humans.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss-t.humans.nodestake.org/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.humansd

Launch Node

sudo systemctl restart humansd
journalctl -u humansd -f

If you have any questions, please reach out to our Discord

 

https://rpc-t.humans.nodestake.org

 

https://api-t.humans.nodestake.org

 

https://grpc-t.humans.nodestake.org:443

Chain Name: Humans Testnet
RPC: https://jsonrpc-t.humans.nodestake.org/
Chain ID: 3000
Symbol: HEART
Explorer: 

https://ss-t.humans.nodestake.org/genesis.json

Download Genesis File

curl -Ls https://ss-t.humans.nodestake.org/genesis.json > $HOME/.humansd/config/genesis.json 

https://ss-t.humans.nodestake.org/addrbook.json

Download Addrbook

curl -Ls https://ss-t.humans.nodestake.org/addrbook.json > $HOME/.humansd/config/addrbook.json 

Restart Node

sudo systemctl restart humansd
journalctl -u humansd -f

Set Peers

peers=$(curl -s https://ss-t.humans.nodestake.org/peers.txt)
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" ~/.humansd/config/config.toml

Restart Node

sudo systemctl restart humansd
journalctl -u humansd -f

Stop Node And Reset

sudo systemctl stop humansd

humansd tendermint unsafe-reset-all --home ~/.humansd/ --keep-addr-book

Configure State Sync

SNAP_RPC="https://rpc-t.humans.nodestake.org:443"

LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height); \

BLOCK_HEIGHT=$((LATEST_HEIGHT - 1000)); \

TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)

echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH

 

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1true| ; \

s|^(rpc_servers[[:space:]]+=[[:space:]]+).*$|\1\"$SNAP_RPC,$SNAP_RPC\"| ; \

s|^(trust_height[[:space:]]+=[[:space:]]+).*$|\1$BLOCK_HEIGHT| ; \

s|^(trust_hash[[:space:]]+=[[:space:]]+).*$|\1\"$TRUST_HASH\"| ; \

s|^(seeds[[:space:]]+=[[:space:]]+).*$|\1\"\"|" ~/.humansd/config/config.toml

more ~/.humansd/config/config.toml | grep 'rpc_servers'

more ~/.humansd/config/config.toml | grep 'trust_height'

more ~/.humansd/config/config.toml | grep 'trust_hash'

Restart Node

sudo systemctl restart humansd
journalctl -u humansd -f

We make the node snapshot every 6h

Install lz4

sudo apt update

sudo apt-get install snapd lz4 -y

Off State Sync

sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.humansd/config/config.toml

Stop Node and Reset Date

sudo systemctl stop humansd

cp $HOME/.humansd/data/priv_validator_state.json $HOME/.humansd/priv_validator_state.json.backup

rm -rf ~/.humansd/data

humansd tendermint unsafe-reset-all --home ~/.humansd/ --keep-addr-book

Download Snapshot

SNAP_NAME=$(curl -s https://ss-t.humans.nodestake.org/ | egrep -o ">20.*\.tar.lz4" | tr -d ">")

curl -o - -L https://ss-t.humans.nodestake.org/${SNAP_NAME}  | lz4 -c -d - | tar -x -C $HOME/.humansd

mv $HOME/.humansd/priv_validator_state.json.backup $HOME/.humansd/data/priv_validator_state.json

Restart Node

sudo systemctl restart humansd
journalctl -u humansd -f

If you have any questions, please reach out to our Discord