๐Commands
๐Useful commands๐
โ๏ธService
#Check Status
curl http://127.0.0.1:26657/status
#Check Balance
viper wallet query account-balance <address>
#Stake & Create Validator
viper servicers stake self <address> 20000000000 0001 0D02 https://<hostname or ip>:443 testnet
#Check Txhash
viper network query fetch-tx <address>
#Check Validator
viper servicers query servicer <address>
#Backup Wallet
viper wallet export-encrypted <address>
viper wallet export-raw <address>
#Import Wallet
viper wallet import-encrypted <encrypted>
viper wallet import-raw <pk>
#List Validator
curl -sX POST http://127.0.0.1:8082/v1/query/servicers|jq '.result[].node_url'
#DELETE
cd ~/.viper
rm -r data
rm -r viper_evidence.db
rm -r viper_result.db
sudo git clone https://github.com/vishruthsk/data.git data
cd config
rm addrbook.json
sudo systemctl restart viper.service
journalctl -u viper -f
Last updated