Giter Club home page Giter Club logo

loyal_node_testnets's Introduction

Loyal Testnet Node

Referensi

Dokumen resmi dari Loyal

Explorer

Persyaratan perangkat keras

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

Persyaratan perangkat lunak

Komponen Spesifikasi minimal
Sistem Operasi Ubuntu 16.04
Komponen Spesifikasi rekomendasi
Sistem Operasi Ubuntu 18.04 atau lebih tinggi

Unduh dan jalankan node

Unduh paket Loyal dan pasang node

wget -O LYL.sh https://raw.githubusercontent.com/Nodeist/Kurulumlar/main/Loyal/LYL && chmod +x LYL.sh && ./LYL.sh

Masukan nama validator anda

Tambahkan peers

Atau Ambil Disini

https://polkachu.com/testnets/loyal/peers

Mulai ulang node

systemctl restart loyald

Cek status node

loyald status 2>&1 | jq .SyncInfo

Jika catching_up == false anda dapat melanjutkan langkah berikut, jika catching_up masih berstatus true maka anda harus menunggu beberapa jam sampai node tersinkronisasi

Membuat dompet

Setelah node tersinkronisasi sekarang anda dapat membuat dompet

loyald keys add $LYL_WALLET

Masukan kata sandi (bebas)

Simpan informasi dompet

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

Klaim faucet

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

Cek saldo dompet

loyald query bank balances $LYL_WALLET_ADDRESS

Pastikan saldo dari faucet sudah masuk

Membuat 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 dan simpan tx hash yang keluar di layar

Perintah berguna

Operasi Node

  • 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)"

Operasi dompet

  • 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

Voting

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

Staking, delegasi, dan upah

  • 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

Operasi validator

  • 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

loyal_node_testnets's People

Contributors

bayy420-999 avatar kaelvnode avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.