Webiste Official :
Explorer :
Komponen | Persyaratan Minimum |
---|---|
CPU | Intel 4 Core |
RAM | 8 GB |
Penyimpanan | 200 SSD |
Komponen | Persyaratan Minimum |
---|---|
OS | Ubuntu 18.04 atau lebih tinggi |
wget -qO okp4.sh https://raw.githubusercontent.com/bangpateng/okp4/main/okp4.sh && chmod +x okp4.sh && ./okp4.sh
source $HOME/.bash_profile
okp4d keys add $WALLET
Jangan Lupa Simpan Address & Mnemonic Anda dan Import ke Keplr Wallet
Note: Enter Keyring Passpharse = Kalian Isi Password Bebas dan Jangan Lupa
okp4d keys add $WALLET --recover
(Opsional) Gunakan Peritah di Bawah Jika Anda Memiliki Wallet Lama Bisa menggunakan Perintah di atas
- Open Website : https://faucet.okp4.network/
- Connect Wallet Keplr Yang Sudah Kalian Import dan Simpan tadi atau Paste Saja Addressnya Untuk Mengambil Tokennya
- Done
OKP4_WALLET_ADDRESS=$(okp4d keys show $WALLET -a)
OKP4_VALOPER_ADDRESS=$(okp4d keys show $WALLET --bech val -a)
echo 'export OKP4_WALLET_ADDRESS='${OKP4_WALLET_ADDRESS} >> $HOME/.bash_profile
echo 'export OKP4_VALOPER_ADDRESS='${OKP4_VALOPER_ADDRESS} >> $HOME/.bash_profile
source $HOME/.bash_profile
journalctl -fu okp4d -o cat
Note : Pastikan Block di VPS Sampai Dengan Block Height Saat ini, Yang Ada di Blockchain nya, Silahkan Check di : https://okp4.explorers.guru/ :
okp4d q bank balances $OKP4_WALLET_ADDRESS
Jika Balance Anda Sudah Masuk, Anda Bisa Lanjut Untuk Membuat Validator
okp4d tx staking create-validator \
--amount 2000000uknow \
--from $WALLET \
--commission-max-change-rate "0.01" \
--commission-max-rate "0.2" \
--commission-rate "0.07" \
--min-self-delegation "1" \
--pubkey $(okp4d tendermint show-validator) \
--moniker $NODENAME \
--chain-id $OKP4_CHAIN_ID
Perintah ini akan sepenuhnya menghapus node dari server. Gunakan dengan risiko Anda sendiri!
sudo systemctl stop okp4d
sudo systemctl disable okp4d
sudo rm /etc/systemd/system/okp4* -rf
sudo rm $(which okp4d) -rf
sudo rm $HOME/.okp4d* -rf
sudo rm $HOME/okp4 -rf
sed -i '/OKP4_/d' ~/.bash_profile
journalctl -u okp4d -f
systemctl restart okp4d
curl localhost:26657/status
curl -s localhost:26657/status | jq .result.sync_info.catching_up
okp4d keys show wallet --bech val -a
Bond more tokens (if you want increase your validator stake you should bond more to your valoper address):
okp4d tx staking delegate YOUR_VALOPER_ADDRESS 10000000uknow --from wallet --chain-id okp4-nemeton --fees 5000uknow
okp4d query staking validators --limit 2000 -o json | jq -r '.validators[] | select(.status=="BOND_STATUS_BONDED") | [.operator_address, .status, (.tokens|tonumber / pow(10; 6)), .description.moniker] | @csv' | column -t -s"," | sort -k3 -n -r
okp4d query staking validators --limit 2000 -o json | jq -r '.validators[] | select(.status=="BOND_STATUS_UNBONDED") | [.operator_address, .status, (.tokens|tonumber / pow(10; 6)), .description.moniker] | @csv' | column -t -s"," | sort -k3 -n -r