Komponen | Spesifikasi minimal |
---|---|
CPU | Intel Core i3 or i5 |
RAM | 4 GB DDR4 RAM |
Penyimpanan | 500 GB HDD |
Koneksi | 100 Mbit/s port |
Komponen | Spesifikasi rekomendasi |
---|---|
CPU | Intel Core i7-8700 Hexa-Core |
RAM | 64 GB DDR4 RAM |
Penyimpanan | 2 x 1 TB NVMe SSD |
Koneksi | 1 Gbit/s port |
Komponen | Spesifikasi minimal |
---|---|
Sistem Operasi | Ubuntu 16.04 |
Komponen | Spesifikasi rekomendasi |
---|---|
Sistem Operasi | Ubuntu 18.04 atau lebih tinggi |
wget -O LYL.sh https://raw.githubusercontent.com/Nodeist/Kurulumlar/main/Loyal/LYL && chmod +x LYL.sh && ./LYL.sh
Masukan nama validator anda
[email protected]:26656,[email protected]:26656,[email protected]:26624,[email protected]:31656,[email protected]:2566,[email protected]:48656,[email protected]:26656,[email protected]:26656,[email protected]:26656,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:26656,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566,[email protected]:2566
sed -i.bak -e "s/^persistent_peers *=.*/persistent_peers = \"$PEERS\"/" $HOME/.loyal/config/config.toml
https://polkachu.com/testnets/loyal/peers
systemctl restart loyald
loyald status 2>&1 | jq .SyncInfo
Jika
catching_up
==false
anda dapat melanjutkan langkah berikut, jikacatching_up
masih berstatustrue
maka anda harus menunggu beberapa jam sampai node tersinkronisasi
Setelah node tersinkronisasi sekarang anda dapat membuat dompet
loyald keys add $LYL_WALLET
Masukan kata sandi (bebas)
LYL_WALLET_ADDRESS=$(loyald keys show $LYL_WALLET -a)
LYL_VALOPER_ADDRESS=$(loyald keys show $LYL_WALLET --bech val -a)
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
Masukan kata sandi yang tadi dibuat
curl -X POST -d '{"address": "'"$LYL_WALLET_ADDRESS"'", "coins": ["10000000ulyl"]}' "https://faucet.joinloyal.io/"
loyald query bank balances $LYL_WALLET_ADDRESS
Pastikan saldo dari faucet sudah masuk
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 dan simpan tx hash yang keluar di layar
- Cek log node
journalctl -fu loyald -o cat
- Menjalankan node
systemctl start loyald
- Menghentikan node
systemctl stop loyald
- Mulai ulang node
systemctl restart loyald
- Cek informasi node
loyald status 2>&1 | jq .NodeInfo
- Cek informasi validator
loyald status 2>&1 | jq .ValidatorInfo
- Cek informasi blok
loyald status 2>&1 | jq .SyncInfo
- Cek jumlah blok saat ini
curl -s https://api-t.loyal.nodestake.top/cosmos/base/tendermint/v1beta1/blocks/latest | echo "Current block height: $(jq .block.header.height)"
- Buat dompet
loyald keys add NAMA_DOMPET
- Import dompet
loyald keys add $LYL_WALLET --recover
- Hapus dompet
loyald keys delete NAMA_DOMPET
- Melihat list dompet
loyald keys list
- Cek saldo dompet
loyald query bank balances LYL_WALLET_ADDRESS
- Transfer saldo ke dompet lain
loyald tx bank send ALAMAT_PENGIRIM ALAMAT_PENERIMA 10000000ulyl
loyald tx gov vote 1 yes --from $LYL_WALLET --chain-id=$LYL_ID
- Delegasi stake
loyald tx staking delegate $LYL_VALOPER_ADDRESS 10000000ulyl --from=$LYL_WALLET --chain-id=$LYL_ID --gas=auto --fees 250ulyl
- Mendelegasikan ulang dari validator ke validator lain
loyald tx staking redelegate <srcValidatorAddress> <destValidatorAddress> 10000000ulyl --from=$LYL_WALLET --chain-id=$LYL_ID --gas=auto --fees 250ulyl
- Tarik upah staking
loyald tx distribution withdraw-rewards $LYL_VALOPER_ADDRESS --from=$LYL_WALLET --commission --chain-id=$LYL_ID
- Tarik semua upah staking
loyald tx distribution withdraw-all-rewards --from=$LYL_WALLET --chain-id=$LYL_ID --gas=auto --fees 250ulyl
- Ubah nama validator
loyald tx staking edit-validator \
--moniker=NAMA_BARU \
--chain-id=$LYL_ID \
--from=$LYL_WALLET
- Unjail validator
loyald tx slashing unjail \
--broadcast-mode=block \
--from=$LYL_WALLET \
--chain-id=$LYL_ID \
--gas=auto --fees 250ulyl
- Hapus node
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