Thanks to visit codestin.com
Credit goes to github.com

Skip to content

sipalingtestnet/Loyal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Join our telegram

TUTORIAL LOYAL NODE

Spek VPS yang dibutuhkan

Komponen Persyaratan Minimum
CPU 3/4 or more physical CPU cores
RAM At least 4GB/8GB of memory (RAM)
Penyimpanan At least 200GB of SSD disk storage
Koneksi At least 100mbps network bandwidth

Website Explorer

https://explorer.nodestake.top/loyal-testnet

Detail

https://docs.joinloyal.io/validators/run-a-loyal-validator

Install Node

wget -O loyal.sh https://raw.githubusercontent.com/sipalingtestnet/Loyal/main/loyal.sh && chmod +x loyal.sh && ./loyal.sh

Kemudian masukin nama validator lu bang

Add Peers

Restart Node

systemctl restart loyald

Cek Status Node

loyald status 2>&1 | jq .SyncInfo

Tunggu status node false baru mulai buat wallet

Buat Wallet

loyald keys add $LYL_WALLET

Claim Faucet

curl -X POST -d '{"address": "'"YOUR_ADDRESS"'", "coins": ["10000000ulyl"]}' "https://faucet.joinloyal.io/"

YOUR_ADDRESS ganti pake address lu bang

Simpan info Dompet

LYL_WALLET_ADDRESS=$(loyald keys show $LYL_WALLET -a)

Enter keyring passphrase = Kata Sandi wallet lu

LYL_VALOPER_ADDRESS=$(loyald keys show $LYL_WALLET --bech val -a)

Enter keyring passphrase = Kata Sandi wallet lu

echo 'export LYL_WALLET_ADDRESS='${LYL_WALLET_ADDRESS} >> $HOME/.bash_profile
echo 'export LYL_VALOPER_ADDRESS='${LYL_VALOPER_ADDRESS} >> $HOME/.bash_profile
source $HOME/.bash_profile

Buat Validator

loyald tx staking create-validator \
  --amount 8000000ulyl \
  --from $LYL_WALLET \
  --min-self-delegation "1" \
  --commission-max-rate "0.2" \
  --commission-max-change-rate "0.07" \
  --commission-rate "0.07" \
  --pubkey  $(loyald tendermint show-validator) \
  --moniker $LYL_NODENAME \
  --chain-id $LYL_ID \
  --gas-prices 1ulyl

salin txhashnya jangan sampe ilang

Perintah tambahan ilmu

Check Log Node

journalctl -fu loyald -o cat

Start Node

systemctl start loyald

Stop Node

systemctl stop loyald

Restart Node

systemctl restart loyald

Cek Informasi Node

loyald status 2>&1 | jq .SyncInfo

Cek Informasi validator

loyald status 2>&1 | jq .ValidatorInfo

Cek Informasi Node

loyald status 2>&1 | jq .NodeInfo

Cek ID Node

loyald tendermint show-node-id

Daftar Wallet

loyald keys list

Import Wallet

loyald keys add $LYL_WALLET --recover

Delet Wallet

loyald keys delete $LYL_WALLET

Check Saldo Wallet

loyald query bank balances $LYL_WALLET_ADDRESS

Transfer Saldo Wallet ke Wallet Lain

loyald tx bank send $LYL_WALLET_ADDRESS <TO_WALLET_ADDRESS> 10000000ulyl

Vote

loyald tx gov vote 1 yes --from $LYL_WALLET --chain-id=$LYL_ID

Delegate

Proses Delegasi:

loyald tx staking delegate $LYL_VALOPER_ADDRESS 10000000ulyl --from=$LYL_WALLET --chain-id=$LYL_ID --gas=auto --fees 250ulyl

Mentransfer ulang bagian dari validator ke validator lain

loyald tx staking redelegate <srcValidatorAddress> <destValidatorAddress> 10000000ulyl --from=$LYL_WALLET --chain-id=$LYL_ID --gas=auto --fees 250ulyl

Withdraw semua staking

loyald tx distribution withdraw-all-rewards --from=$LYL_WALLET --chain-id=$LYL_ID --gas=auto --fees 250ulyl

Claim Reward Staking

loyald tx distribution withdraw-rewards $LYL_VALOPER_ADDRESS --from=$LYL_WALLET --commission --chain-id=$LYL_ID

Ubah Nama Validator

loyald tx staking edit-validator \
--moniker=NEWNODENAME \
--chain-id=$LYL_ID \
--from=$LYL_WALLET

Unjail Node

loyald tx slashing unjail \
  --broadcast-mode=block \
  --from=$LYL_WALLET \
  --chain-id=$LYL_ID \
  --gas=auto --fees 250ulyl

Untuk Menghapus Node Sepenuhnya

sudo systemctl stop loyald
sudo systemctl disable loyald
sudo rm /etc/systemd/system/loyald* -rf
sudo rm $(which loyald) -rf
sudo rm $HOME/.loyal* -rf
sudo rm $HOME/loyal* -rf
sed -i '/LYL_/d' ~/.bash_profile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages