Join our telegram  Join our twitter
Join our twitter  
| Komponen | Persyaratan Minimum | 
|---|---|
| CPU | 4 or more physical CPU cores | 
| RAM | At least 8GB of memory (RAM) | 
| Penyimpanan | At least 160GB of SSD disk storage | 
| koneksi | At least 100mbps network bandwidth | 
| Komponen | Persyaratan Minimum | 
|---|---|
| OS | Ubuntu 20.04 | 
wget -O source.sh https://raw.githubusercontent.com/xsons/TestnetNode/main/Source/source.sh && chmod +x source.sh && ./source.shOpsi 2 (manual)
Anda dapat mengikuti panduan manual jika Anda lebih suka mengatur node secara manual
Selanjutnya Anda harus memastikan validator Anda menyinkronkan blok. Anda dapat menggunakan perintah di bawah ini untuk memeriksa status sinkronisasi
sourced status 2>&1 | jq .SyncInfoSnapShot 28.10.22 (0.1 GB) block height --> 2981026 by obajay
# install the node as standard, but do not launch. Then we delete the .data directory and create an empty directory
sudo systemctl stop sourced
rm -rf $HOME/.source/data/
mkdir $HOME/.source/data/
# download archive
cd $HOME
wget http://116.202.236.115:7150/sourcedata.tar.gz
# unpack the archive
tar -C $HOME/ -zxvf sourcedata.tar.gz --strip-components 1
# !! IMPORTANT POINT. If the validator was created earlier. Need to reset priv_validator_state.json  !!
wget -O $HOME/.source/data/priv_validator_state.json "https://raw.githubusercontent.com/obajay/StateSync-snapshots/main/priv_validator_state.json"
cd && cat .source/data/priv_validator_state.json
{
  "height": "0",
  "round": 0,
  "step": 0
}
# after unpacking, run the node
# don't forget to delete the archive to save space
cd $HOME
rm sourcedata.tar.gz
# start the node
sudo systemctl daemon-reload && \
sudo systemctl enable sourced && \
sudo systemctl restart sourced && \
sudo journalctl -u sourced -f -o cat
Untuk membuat dompet baru Anda dapat menggunakan perintah di bawah ini. Jangan lupa simpan mnemonicnya
sourced keys add wallet(OPSIONAL) Untuk memulihkan dompet Anda menggunakan frase seed
sourced keys add wallet --recoverUntuk mendapatkan daftar dompet saat ini
sourced keys listTambahkan alamat dompet dan valoper dan muat variabel ke dalam sistem
SRC_WALLET_ADDRESS=$(sourced keys show wallet -a)
SRC_VALOPER_ADDRESS=$(sourced keys show wallet --bech val -a)
echo 'export SRC_WALLET_ADDRESS='${SRC_WALLET_ADDRESS} >> $HOME/.bash_profile
echo 'export SRC_VALOPER_ADDRESS='${SRC_VALOPER_ADDRESS} >> $HOME/.bash_profile
source $HOME/.bash_profileDapatkan Token Faucet Di Discord
Untuk memeriksa saldo dompet Anda:
sourced query bank balances $SRC_WALLET_ADDRESSsourced tx staking create-validator \
--amount=1000000usource \
--pubkey=$(sourced tendermint show-validator) \
--moniker=<moniker> \
--chain-id=sourcechain-testnet \
--commission-rate="0.10" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.1" \
--min-self-delegation="1" \
--fees=100usource \
--from=<walletName> \
--identity="" \
--website="" \
--details="" \
-yPeriksa log
journalctl -fu sourced -o catMemulai layanan
sudo systemctl start sourcedHentikan layanan
sudo systemctl stop sourcedMulai ulang layanan
sudo systemctl restart sourcedInformasi sinkronisasi
sourced status 2>&1 | jq .SyncInfoInfo validator
seid status 2>&1 | jq .ValidatorInfoInformasi simpul
sourced status 2>&1 | jq .NodeInfoTampilkan id simpul
sourced tendermint show-node-idDaftar dompet
sourced keys listPulihkan dompet
sourced keys add $SRC_WALLET --recoverHapus dompet
sourced keys delete $SRC_WALLETCadangan Kunci Pribadi
sourced keys export $SRC_WALLET --unarmored-hex --unsafeDapatkan saldo dompet
sourced query bank balances $SRC_WALLET_ADDRESSTransfer dana
sourced tx bank send $SRC_WALLET_ADDRESS <TO_WALLET_ADDRESS> 10000000usourcePemungutan suara
sourced tx gov vote 1 yes --from $SRC_WALLET --chain-id=$SRC_IDDelegasikan saham
sourced tx staking delegate $SRC_VALOPER_ADDRESS 10000000usource --from=$SRC_WALLET --chain-id=$SRC_ID --gas=auto --fees 250usourceDelegasikan ulang stake dari validator ke validator lain
sourced tx staking redelegate <srcValidatorAddress> <destValidatorAddress> 10000000usource --from=$SRC_WALLET --chain-id=$SRC_ID --gas=auto --fees 250usourceTarik semua hadiah
sourced tx distribution withdraw-all-rewards --from=$SRC_WALLET --chain-id=$SRC_ID --gas=auto --fees 250usourceTarik hadiah dengan komisi
sourced tx distribution withdraw-rewards $SRC_VALOPER_ADDRESS --from=$SRC_WALLET --commission --chain-id=$SRC_IDEdit validator
sourced tx staking edit-validator \
--moniker=NEWNODENAME \
--chain-id=$SRC_ID \
--from=$SRC_WALLETUnjail validator
sourced tx slashing unjail \
  --broadcast-mode=block \
  --from=$SRC_WALLET \
  --chain-id=$SRC_ID \
  --gas=auto --fees 250usourceHapus node Perintah ini akan menghapus node sepenuhnya dari server. Gunakan dengan risiko Anda sendiri!
sudo systemctl stop sourced
sudo systemctl disable sourced
sudo rm /etc/systemd/system/sourced* -rf
sudo rm $(which sourced) -rf
sudo rm $HOME/.source* -rf
sudo rm $HOME/source -rf
sed -i '/SRC_/d' ~/.bash_profile