RPC, API, gRPC
JSON-RPC: https://humans-testnet-evm.itrocket.net
gRPC:
humans-testnet-grpc.itrocket.net:443
peers:
b99df5397a6104fac055f21195f1fb25b77f5704@humans-testnet-peer.itrocket.net:17656
seeds:
6ce9a9acc23594ec75516617647286fe546f83ca@humans-testnet-seed.itrocket.net:17656
live peers: (0 active)
PEERS="b99df5397a6104fac055f21195f1fb25b77f5704@humans-testnet-peer.itrocket.net:17656"
sed -i -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*persistent_peers *=.*/persistent_peers = \"$PEERS\"/}" $HOME/.humansd/config/config.toml
peers scanner:
PEERS="[email protected]:46656,[email protected]:26656,[email protected]:26666,[email protected]:31656,[email protected]:12256,[email protected]:26656,[email protected]:12656,d5519e378247dfb61dfe90652d1fe3e2b3005a5b@humans-testnet.rpc.kjnodes.com:12256,b99df5397a6104fac055f21195f1fb25b77f5704@humans-testnet-rpc.itrocket.net:17656,[email protected]:17656"
sed -i -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*persistent_peers *=.*/persistent_peers = \"$PEERS\"/}" $HOME/.humansd/config/config.toml
addrbook: (upd 1h)
wget -O $HOME/.humansd/config/addrbook.json https://server-4.itrocket.net/testnet/humans/addrbook.json
genesis:
wget -O $HOME/.humansd/config/genesis.json https://server-4.itrocket.net/testnet/humans/genesis.json
Snapshot
## Snapshot is not available yet
State Sync
If you don't want to wait for a long synchronization you can use:
sudo systemctl stop humansd
cp $HOME/.humansd/data/priv_validator_state.json $HOME/.humansd/priv_validator_state.json.backup
humansd tendermint unsafe-reset-all --home $HOME/.humansd
peers="b99df5397a6104fac055f21195f1fb25b77f5704@humans-testnet-peer.itrocket.net:17656"
SNAP_RPC="https://humans-testnet-rpc.itrocket.net:443"
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$peers\"/" $HOME/.humansd/config/config.toml
LATEST_HEIGHT=$(curl -s $SNAP_RPC/block | jq -r .result.block.header.height);
BLOCK_HEIGHT=$((LATEST_HEIGHT - 2000));
TRUST_HASH=$(curl -s "$SNAP_RPC/block?height=$BLOCK_HEIGHT" | jq -r .result.block_id.hash)
echo $LATEST_HEIGHT $BLOCK_HEIGHT $TRUST_HASH && sleep 2
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\"\"|" $HOME/.humansd/config/config.toml
mv $HOME/.humansd/priv_validator_state.json.backup $HOME/.humansd/data/priv_validator_state.json
sudo systemctl restart humansd && sudo journalctl -u humansd -f
Wasm
Sorry, this project does not support WebAssembly.