# 🛠️ CLI Cheatsheet

Check logs

<pre class="language-bash"><code class="lang-bash"><strong>sudo journalctl -u atomoned -fo cat
</strong></code></pre>

Start service

```bash
sudo systemctl start atomoned
```

Stop service

```bash
sudo systemctl stop atomoned
```

Restart service

```bash
sudo systemctl restart atomoned
```

Check service status

```bash
sudo systemctl status atomoned
```

Reload services

```bash
sudo systemctl daemon-reload
```

Enable Service

```bash
sudo systemctl enable atomoned
```

Disable Service

```bash
sudo systemctl disable atomoned
```

Node info

```bash
atomoned status 2>&1 | jq
```

Add New Wallet

```bash
atomoned keys add WALLET
```

Restore executing wallet

```bash
atomoned keys add WALLET --recover
```

List All Wallets

```bash
atomoned keys list
```

Delete wallet

```bash
atomoned keys delete WALLET
```

Check Balance

```bash
atomoned q bank balances WALLET_ADDRESS 
```

Delegate Yourself

```bash
atomoned tx staking delegate $(atomoned keys show WALLET --bech val -a) 1000000uatone --from WALLET --chain-id atomone-1 --gas auto --gas-adjustment 1.5 --fees 60000uphoton -y 
```

Create New Validator

```bash
atomoned tx staking create-validator \
--amount 1000000uphoton \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(atomoned tendermint show-validator) \
--moniker "MONIKER NAME" \
--identity "" \
--details "DETAILS" \
--chain-id atomone-testnet-1 \
--gas auto --gas-adjustment 1.5 --fees 500uphoton \
-y 

```

Edit Existing Validator

```bash
atomoned tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "MONIKER NAME" \
--identity "" \
--details "DETAILS" \
--from $WALLET \
--chain-id atomone-testnet-1 \
--gas auto --gas-adjustment 1.5 --fees 500uphoton \
-y 

```

### Delege  <a href="#delete" id="delete"></a>

```
atomoned tx staking delegate $(atomoned keys show $WALLET --bech val -a) 1000000uphoton --from WALLETNAME --chain-id atomone-testnet-1 --gas auto --gas-adjustment 1.5 --fees 500uphoton -y 
```

### Delete node <a href="#delete" id="delete"></a>

```bash
sudo systemctl stop atomoned
sudo systemctl disable atomoned
sudo rm -rf /etc/systemd/system/atomoned.service
sudo rm $(which atomoned)
sudo rm -rf $HOME/.atomone
```


---

# 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://services.noderuner.xyz/atomone-testnet/cli-cheatsheet.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.
