Humans.ai Friction Incentivized Testnet
Overview
The Friction incentivized testnet is a set of competitive tasks that validators can participate in to get ready, educate themselves, and gain points before the Humans.ai mainnet.
The Humans blockchain network will be validated and secured throughout the course of 3 (three) missions that make up the testnet, each of which will test a different part of that process. During each phase, points are gained by finishing technical and social tasks.
- 6 or more physical CPU cores
- At least 500GB of SSD disk storage
- At least 32GB of memory (RAM)
- At least 1000mbps network bandwidth
- Network Chain ID:
humans_3000-1 - Denom:
aheart - Binary:
humansd - Working directory:
.humansd - Explorers: https://humans.explorers.guru/
Installation
1. Update packages and install useful tools.
sudo apt update && sudo apt upgrade --yes && \ sudo apt install git build-essential ufw curl jq snapd screen ncdu nano fuse ufw --yes
ver="1.20.1" && \ 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" >> $HOME/.bash_profile && \ source $HOME/.bash_profile && \ go version
3.Install the binary from source.
git clone https://github.com/humansdotai/humans cd humans && git checkout tags/v0.1.0 make install humansd version --long | grep -e version -e commit #commit: baab99e300d97ef17ee7ff33cb59e183d1ece2b2 #cosmos_sdk_version: v0.46.11 #go: go version go1.20.1 linux/amd64 #version: 0.1.0
humansd init <moniker> --chain-id=humans_3000-1
humansd keys add <your key name>
6. Add the account to your local genesis file
humansd add-genesis-account $(humansd keys show <your key name> -a) 1000000000000000000aheart
humansd gentx <your key name> 1000000000000000000aheart \ --chain-id=humans_3000-1 \ --moniker=<moniker> \ --details="your moniker description" \ --commission-rate=0.05 \ --commission-max-rate=0.2 \ --commission-max-change-rate=0.01 \ --pubkey $(humansd tendermint show-validator) \ --identity="<Keybase.io Public Key>"
8. Create Pull Request to the repository (humansdotai/testnets) with the file friction/gentxs/<your validator moniker>.json. In order to be a valid submission, you need the .json file extension and no whitespace or special characters in your filename.
After submission, we expect the genesis of the file from the publishing team
wget -O $HOME/.humansd/config/genesis.json "https://raw.githubusercontent.com/humansdotai/testnets/master/friction/genesis-M1-P2.json"
sudo tee /etc/systemd/system/humansd.service > /dev/null <<EOF [Unit] Description=Humans Daemon After=network-online.target [Service] User=$USER ExecStart=$(which humansd) start Restart=on-failure RestartSec=3 LimitNOFILE=65535 [Install] WantedBy=multi-user.target EOF
systemctl daemon-reload systemctl enable humansd systemctl restart humansd journalctl -u humansd -f -o cat
And finally, to complete missions, you will need to open some ports