Join our telegram Visit our website
Dokumentasi resmi:
Explorer :
Seperti rantai Cosmos-SDK lainnya, persyaratan perangkat kerasnya cukup sederhana.
- 4x CPU; semakin cepat kecepatan jam semakin baik -RAM 8GB
- Penyimpanan 100GB (SSD atau NVME)
- Koneksi Internet permanen (lalu lintas akan minimal selama testnet; 10Mbps akan banyak - untuk produksi diharapkan setidaknya 100Mbps)
- 8x CPU; semakin cepat kecepatan jam semakin baik -RAM 64GB
- Penyimpanan 1TB (SSD atau NVME)
- Koneksi Internet permanen (lalu lintas akan minimal selama testnet; 10Mbps akan banyak - untuk produksi diharapkan setidaknya 100Mbps)
Anda dapat mengatur gitopia fullnode Anda dalam beberapa menit dengan menggunakan skrip otomatis di bawah ini. Ini akan meminta Anda untuk memasukkan nama simpul validator Anda!
wget -O gitopia.sh https://raw.githubusercontent.com/bangpateng/gitopia/main/gitopia.sh && chmod +x gitopia.sh && ./gitopia.sh
Saat instalasi selesai, silakan muat variabel ke dalam sistem
source $HOME/.bash_profile
Selanjutnya Anda harus memastikan validator Anda menyinkronkan blok. Anda dapat menggunakan perintah di bawah ini untuk memeriksa status sinkronisasi
gitopiad status 2>&1 | jq .SyncInfo
Membuat Wallet baru dan Backup Address dan Pharse Anda
gitopiad keys add $WALLET
(OPTIONAL) Jika Anda Mempunyai Wallet Sebelumnya, Silahkan Import Pharse
gitopiad keys add $WALLET --recover
To get current list of wallets
gitopiad keys list
Add wallet and valoper address into variables
GITOPIA_WALLET_ADDRESS=$(gitopiad keys show $WALLET -a)
GITOPIA_VALOPER_ADDRESS=$(gitopiad keys show $WALLET --bech val -a)
echo 'export GITOPIA_WALLET_ADDRESS='${GITOPIA_WALLET_ADDRESS} >> $HOME/.bash_profile
echo 'export GITOPIA_VALOPER_ADDRESS='${GITOPIA_VALOPER_ADDRESS} >> $HOME/.bash_profile
source $HOME/.bash_profile
- Import Validator Pharse Wallet Kalian ke Kepler
- Open Web : https://gitopia.com/
- Connect Wallet
- Get 10 Tlore Done
Stop Layanan dan Reset
sudo systemctl stop gitopiad
cp $HOME/.gitopia/data/priv_validator_state.json $HOME/.gitopia/priv_validator_state.json.backup
rm -rf $HOME/.gitopia/data
Download Snapshoot Terbaru (Size File 880 MB)
curl -L https://snapshots.kjnodes.com/gitopia-testnet/snapshot_latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.gitopia
mv $HOME/.gitopia/priv_validator_state.json.backup $HOME/.gitopia/data/priv_validator_state.json
Muat Ulang Layanan dan Periksa Block
sudo systemctl start gitopiad && journalctl -u gitopiad -f --no-hostname -o cat
Before creating validator please make sure that you have at least 1 tlore (1 tlore is equal to 1000000 utlore) and your node is synchronized
To check your wallet balance:
gitopiad query bank balances $GITOPIA_WALLET_ADDRESS
If your wallet does not show any balance than probably your node is still syncing. Please wait until it finish to synchronize and then continue To create your validator run command below
gitopiad tx staking create-validator \
--amount 1000000utlore \
--from $WALLET \
--commission-max-change-rate "0.01" \
--commission-max-rate "0.2" \
--commission-rate "0.07" \
--min-self-delegation "1" \
--pubkey $(gitopiad tendermint show-validator) \
--moniker $NODENAME \
--chain-id $GITOPIA_CHAIN_ID
[[ $(gitopiad q staking validator $GITOPIA_VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(gitopiad status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "\n\e[1m\e[32mTrue\e[0m\n" || echo -e "\n\e[1m\e[31mFalse\e[0m\n"
gitopiad q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nl
curl -sS http://localhost:${GITOPIA_PORT}657/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}'
Check logs
journalctl -fu gitopiad -o cat
Start service
sudo systemctl start gitopiad
Stop service
sudo systemctl stop gitopiad
Restart service
sudo systemctl restart gitopiad
Synchronization info
gitopiad status 2>&1 | jq .SyncInfo
Validator info
gitopiad status 2>&1 | jq .ValidatorInfo
Node info
gitopiad status 2>&1 | jq .NodeInfo
Show node id
gitopiad tendermint show-node-id
List of wallets
gitopiad keys list
Recover wallet
gitopiad keys add $WALLET --recover
Delete wallet
gitopiad keys delete $WALLET
Get wallet balance
gitopiad query bank balances $GITOPIA_WALLET_ADDRESS
Transfer funds
gitopiad tx bank send $GITOPIA_WALLET_ADDRESS <TO_GITOPIA_WALLET_ADDRESS> 10000000utlore
gitopiad tx gov vote 1 yes --from $WALLET --chain-id=$GITOPIA_CHAIN_ID
Delegate stake
gitopiad tx staking delegate $GITOPIA_VALOPER_ADDRESS 10000000utlore --from=$WALLET --chain-id=$GITOPIA_CHAIN_ID --gas=auto
Redelegate stake from validator to another validator
gitopiad tx staking redelegate <srcValidatorAddress> <destValidatorAddress> 10000000utlore --from=$WALLET --chain-id=$GITOPIA_CHAIN_ID --gas=auto
Withdraw all rewards
gitopiad tx distribution withdraw-all-rewards --from=$WALLET --chain-id=$GITOPIA_CHAIN_ID --gas=auto
Withdraw rewards with commision
gitopiad tx distribution withdraw-rewards $GITOPIA_VALOPER_ADDRESS --from=$WALLET --commission --chain-id=$GITOPIA_CHAIN_ID
Edit validator
gitopiad tx staking edit-validator \
--moniker=$NODENAME \
--identity=<your_keybase_id> \
--website="<your_website>" \
--details="<your_validator_description>" \
--chain-id=$GITOPIA_CHAIN_ID \
--from=$WALLET
Unjail validator
gitopiad tx slashing unjail \
--broadcast-mode=block \
--from=$WALLET \
--chain-id=$GITOPIA_CHAIN_ID \
--gas=auto
This commands will completely remove node from server. Use at your own risk!
sudo systemctl stop gitopiad
sudo systemctl disable gitopiad
sudo rm /etc/systemd/system/gitopia* -rf
sudo rm $(which gitopiad) -rf
sudo rm $HOME/.gitopia* -rf
sudo rm $HOME/gitopia -rf
sed -i '/GITOPIA_/d' ~/.bash_profile