Cheat Sheet: Monero CLI Wallet
Using the Monero CLI Wallet to create subaddresses, transfer funds, view transactions, connect to remote nodes, and other basic tasks is not complicated at all.
Hopefully this cheat sheet can showcase that fact and encourage more users to use the CLI.
- the Monero CLI Wallet is already installed on your machine (if not, consult my previous Linux install guide)
Note that this is a WiP.
Show all addresses
Create a new subaddress
address new [<label text with white spaces allowed>]
The command above creates a new XMR subaddress with no label.
address new gift
And this one creates a new XMR subaddress labeled gift.
transfer <address> <amount>
transfer 867TAc58FK2ScH6Kyz9VSJZYSKGbyGfRiJB7M7yV2qEdamdQsxJafEbXxp6QoAkVCjjarKTbsmsZuEm1XymGmSquRdZnN2C 0.035
This command transfers 0.035 XMR to Monero Observer’s tips address.
This command lists all transactions, regardless of their status.
This command lists all transfers that are currently pending.
Connect to a remote node
[torsocks] ./monero-wallet-cli --daemon-address <address>:<port>
./monero-wallet-cli --daemon-address http://p2pmd.xmrvsbeast.com:18081
This command starts the wallet and connects to xmrvsbeast’s clearnet node.
torsocks ./monero-wallet-cli --daemon-address 6dsdenp6vjkvqzy4wzsnzn6wixkdzihx3khiumyzieauxuxslmcaeiad.onion:18081
And this one connects to boldsuck’s remote .onion node. Note that tor/torsocks needs to be installed first.
Setting: toggle password on incoming transfers
set ask-password [0|1]
set ask-password 0
This command disables the setting and you will not be asked to enter the wallet password whenever you receive a transfer.
Setting: toggle inactivity lock
set inactivity-lock-timeout [0|1]
set inactivity-lock-timeout 0
This command disables the setting and the wallet will not automatically lock.
That’s all you need to do to refresh the wallet, if it is [out of sync] with the Monero network.
This command safely closes the wallet. It is not recommended to substitute that for CTRL+C / close terminal.
Let me know if you find this helpful and I will maintain and potentially create other cheat sheets in the future.
Questions, edits and suggestions are always appreciated @ /about.