Add monero-wallet-cli cheat (from hands-on stagenet session) + README index

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
rpriven 2026-06-30 16:22:24 -06:00
parent 31ee08b0a0
commit 484783227a
Signed by: djedi
GPG key ID: D04DED574622EF45
2 changed files with 70 additions and 1 deletions

View file

@ -2,7 +2,7 @@
Navi-compatible cheatsheets for security, privacy, and digital sovereignty.
49 cheatsheets spanning offensive security, DFIR, privacy, encryption, system hardening, and cryptocurrency.
50 cheatsheets spanning offensive security, DFIR, privacy, encryption, system hardening, and cryptocurrency.
## Installation
@ -104,6 +104,7 @@ navi --best-match --query "ssh hardening" --print # print top match, no TUI
| File | Description |
|------|-------------|
| `monero.cheat` | Monero CLI wallet operations |
| `monero-wallet-cli.cheat` | Monero wallet: keys, addresses, transfers, tx proofs |
| `bitcoin.cheat` | Bitcoin Core CLI operations |
| `anonymous-payments.cheat` | Private payments (Monero, Lightning, cash) |
| `solidity.cheat` | Smart-contract auditing (Slither, Foundry) |

68
monero-wallet-cli.cheat Normal file
View file

@ -0,0 +1,68 @@
% monero, monero-wallet-cli, xmr, wallet, privacy, cryptocurrency
# monero-wallet-cli holds your keys, tracks balance, signs txns; connects to a monerod node.
# Practice on --stagenet (fake money) before mainnet. Always verify the download (GPG+hash) before running.
# Create a new wallet (offline stagenet sandbox = fake money, zero risk)
monero-wallet-cli --stagenet --offline --generate-new-wallet <wallet_file>
# Open an existing wallet (use the BASE name, NOT the .keys file)
monero-wallet-cli --stagenet --wallet-file <wallet_file>
# Open and connect straight to a remote node
monero-wallet-cli --wallet-file <wallet_file> --daemon-address <node>
# Restore a wallet from the 25-word seed
monero-wallet-cli --restore-deterministic-wallet
# --- inside the wallet prompt ---
# Connect to a node (remote nodes require acknowledging the spy-node risk)
set_daemon <node> this-is-probably-a-spy-node
# Sync with the daemon
refresh
# Show primary address
address
# Create a new labeled subaddress (use a fresh one per sender)
address new <label>
# List all addresses + per-subaddress balances
address all
# Re-label a subaddress later
address label <index> <label>
# Show keys (private + public) — never share the private spend key or seed
viewkey
spendkey
# Show the 25-word recovery seed (write on paper, store offline)
seed
# Balance (unlocked balance lags ~10 blocks behind received funds)
balance
# Transaction history (green = confirmed, red = failed)
show_transfers in
show_transfers out
# Send XMR (shows the fee, asks to confirm; ring signatures are automatic)
transfer <address> <amount>
# Send the entire balance to one address
sweep_all <address>
# Prove you sent a payment, privately (no payment ID needed)
get_tx_proof <txid> <address>
check_tx_proof <txid> <address> <signature>
# Recheck which outputs are spent (needs a TRUSTED daemon)
rescan_spent
# Save session state and quit cleanly (always exit this way)
exit
$ node: echo -e "node.monerodevs.org:38089\nstagenet.xmr-tw.org:38081"