OKP4 is a PoS blockchain based on Tendermint, which relies on a set of validators that are responsible for committing new blocks in the blockchain. These validators participate in the consensus protocol by broadcasting votes which contain cryptographic signatures signed by each validator's private key.
Validator candidates can bond their own staking tokens and have the tokens "delegated", or staked, to them by token holders. The KNOW is OKP4's native token. The validators are determined by who has the most stake delegated to them - the top 100 validator candidates with the most stake will become OKP4 validators.
Recomended vps for OKP4 Testnet are https://Lihat.info/contabo and https://Lihat.info/vultr
Update packages
sudo apt update && sudo apt upgrade -y
Install dependencies
sudo apt-get install make build-essential gcc git jq chrony -y
Install Go
ver="1.19.2"
cd $HOME
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" >> ~/.bash_profile
source ~/.bash_profile
Create working directory for okp4 binary
mkdir -p bin log lib systemd
Download okp4 binary
wget -c https://github.com/okp4/okp4d/releases/download/v3.0.0/okp4d-3.0.0-linux-amd64
Move downloaded binary to the working directory
mv okp4d-3.0.0-linux-amd64 bin/okp4d
cd bin
ln -sf okp4d okp4
Init moniker
okp4d init <YourMoniker> --home .okp4d
Create new wallet
okp4d keys add mywallet --home .okp4d
Or you can import old wallet
okp4d keys add mywallet --recover
and enter your private phrase/seed keys.
Create and set genesis balance
okp4d add-genesis-account okp41zxxxxxxxxxxxxxxxx 10000200000uknow --home .okp4d
Generate a gen tx
okp4d --home .okp4d gentx mywallet 10000000000uknow \
--node-id $(okp4d --home .okp4d tendermint show-node-id) \
--chain-id okp4-nemeton-1 \
--commission-rate 0.05 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--website "YOUR WEBSITE" \
--details "YOUR NODE INFORMATION" \
--identity "PGP KEYBASE" \
--security-contact "EMAIL OF SECURITY"
*please change your website, node information, email, and your PGP keybase identity.
Then create a PR to the okp4 github on https://github.com/okp4/networks/pulls
Join CodeBlockLabs on telegram https://t.me/codeblocklabs
Follow My Twitter https://twitter.com/pramonoutomo
and Subscribe to my youtube channel https://youtube.com/c/pramonoutomo