> For the complete documentation index, see [llms.txt](https://services.noderuner.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://services.noderuner.xyz/atomone-mainnet/cli-cheatsheet.md).

# 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 1000000uatone \
--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 "KeyBase" \
--details "Node Details" \
--chain-id atomone-1 \
--gas auto --gas-adjustment 1.5 --fees 60000uphoton \
-y 
```

Edit Existing Validator

```bash
atomoned tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "Moniker-Name" \
--identity "KeyBase" \
--details "Node Details" \
--from $WALLET \
--chain-id atomone-1 \
--gas auto --gas-adjustment 1.5 --fees 60000uphoton \
-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
sed -i "/ATOMONE_/d" $HOME/.bash_profile
```
