|
Since the blockchain handling and the wallet are separate programs, many uses of `monero-wallet-cli` need to work with the @daemon. This includes looking for incoming transactions to your address. Once you are running both `monero-wallet-cli` and `monerod`, enter `balance`.
|
|
|
If you pay a merchant, and the merchant claims to not have received the funds, you may need to prove to a third party you did send the funds - or even to the merchant, if it is a honest mistake. Monero is private, so you can't just point to your transaction in the blockchain, as you can't tell who sent it, and who received it. However, by supplying the per-transaction private key to a party, that party can tell whether that transaction sent monero to that particular address. Note that storing these per-transaction keys is disabled by default, and you will have to enable it before sending, if you think you may need it:
|
|
|
You can retrieve the tx key from an earlier transaction:
|
|
|
Pass in the transaction ID you want the key for. Remember that a payment might have been split in more than one transaction, so you may need several keys. You can then send that key, or these keys, to whoever you want to provide proof of your transaction, along with the transaction id and the address you sent to. Note that this third party, if knowing your own address, will be able to see how much change was returned to you as well.
|
|
|
If you are the third party (that is, someone wants to prove to you that they sent monero to an address), then you can check this way:
|
|
|
If you received a payment using a particular payment ID, you can look it up:
|
|
|
You can give more than one payment ID too.
|
|
|
More generally, you can review incoming and outgoing payments:
|
|
|
You can give an optional height to list only recent transactions, and request only incoming or outgoing transactions. For example,
|
|
|
will only show incoming transfers after block 650000. You can also give a height range.
|
|
|
If you want to mine, you can do so from the wallet:
|
|
|
This will start mining on the daemon usin two threads. Note that this is solo mining, and may take a while before you find a block. To stop mining:
|
|
|
`monero-wallet-cli` is the wallet software shipped in the Monero archives. It is a console program, and manages an account. While a bitcoin wallet manages both an account and the blockchain, Monero separates these: `monerod` handles the blockchain, and `monero-wallet-cli` handles the account.
|
|
|
This guide will show how to perform various operations with `monero-wallet-cli`. The guide assumes you are using the most recent version of Monero and have already created an account according to the other guides.
|
|
|
Overview
|
|
|
You can have a list of the most important commands by running `help`:
|
|
|
Important commands:
"welcome" - Show welcome message. "help all" - Show the list of all available commands. "help <command>" - Show a command's documentation. "apropos <keyword>" - Show commands related to a keyword.
"wallet_info" - Show wallet main address and other info. "balance" - Show balance. "address all" - Show all addresses. "address new [<label text with white spaces allowed>]" - Create new subaddress. "transfer <address> <amount>" - Send XMR to an address. "show_transfers [in|out|pending|failed|pool]" - Show transactions. "sweep_all <address>" - Send whole balance to another wallet. "seed" - Show secret 25 words that can be used to recover this wallet. "refresh" - Synchronize wallet with the Monero network. "status" - Check current status of wallet. "version" - Check software version. "exit" - Exit wallet.
"donate <amount>" - Donate XMR to the development team.
|
|
|
Checking your balance
|
|
|
Output:
|
|
|
Currently selected account: [0] Primary account Tag: (No tag assigned) Balance: 7.499942880000, unlocked balance: 7.499942880000
|
|