# Commands

## 📚Useful commands📚

## ⚙️Service

```python
	#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
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://stavr-team.gitbook.io/nodes-guides/testnets/viper/commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
