Skip to main content
Share Your Experience: Take the 2024 Developer Survey
11 votes
Accepted

What significance does the wallet public spendkey and public viewkey have in a transaction?

You have a public and private spend key, and a public and private view key. The public spend and view keys are used to create an output that only you can see that exists, and that only you can spend. ...
knaccc's user avatar
  • 8,468
10 votes
Accepted

How do I prove that a payment has been sent to a particular address?

When you send a transaction, a one time random keypair is generated. You can later see it with get_tx_key txid, replacing txid with the transaction id for the transaction in question. You can then ...
user36303's user avatar
  • 34.8k
7 votes
Accepted

Simplewallet: How do I get the tx_id needed for check_tx_key and get_tx_key?

Transaction hash, transaction id, txhash, txid, are all terms for the same thing. When you send a transaction, the tx key will be saved in your wallet cache (assuming you have this enabled, this is ...
user36303's user avatar
  • 34.8k
6 votes
Accepted

Why do I see only one transaction key R=rG per transaction while there are multiple output keys P=H(rA)G+B to represent multiple denominations?

This question was cross-posted to Reddit and was answered by dEBRUYNE_1 citing luigi1111's article: You may have noticed that this scheme only gives Alice one output for Bob per r, but with auto-...
kenshi84's user avatar
  • 2,475
5 votes

What is the TX key?

The private tx key is named r in the CryptoNote whitepaper. Note that r is randomly chosen. In addition, the private tx key can be used as prove of payment on a case by case basis. That is, in case of ...
dEBRUYNE's user avatar
  • 15.2k
4 votes

How to identify sender when they send monero?

You could do that, if you want something way more cumbersome than giving a different address to everyone. Another, more secure way is to get the sender to generate a proof of sending a transaction (...
user36303's user avatar
  • 34.8k
3 votes

Why is the content of tx different between monero-utils-deserialize and print_block?

A block is not a transaction. Obviously, if you print different things, you will get different results. This should not come as a surprise. A block may contain more than one transaction (in addition ...
user36303's user avatar
  • 34.8k
3 votes
Accepted

Is it easily provable by a third party that the key image used in a transaction is associated with the spent output without revealing the (P,I) pair?

The signature verification algorithm will only return a "correct signature" result if P is equal to x·G (i.e. the real spent output's public key is derived from the output's secret spend key x) and if ...
glv's user avatar
  • 3,334
2 votes
Accepted

Generating key derivation in construct_miner_tx

Let's start by first defining a couple of things. Outputs created in a coinbase transaction can later be spent by using them as inputs to a subsequent transaction. A transaction also has a public key, ...
jtgrassie's user avatar
  • 19.1k
2 votes

How can I get the public tx key on private testnet?

The public tx key is contained in the extra field. You can use monero-utils-deserialize to decode it from the transaction's hexadecimal representation, which you can get from the daemon, like this: ...
user36303's user avatar
  • 34.8k
2 votes
Accepted

Correctly retrieving the tx_pubkey from a transaction

tx_extra can contain any number of items. The field is documented here: https://cryptonote.org/cns/cns005.txt Therefore it can contain 0..N public keys. Usually there is just one public key in it (...
jtgrassie's user avatar
  • 19.1k
2 votes

Why is the function open_tx executed twice for each transfer command?

In short, tests. You can see this by following the path taken by the CLI wallet when doing a transfer, as you essentially end up in create_transactions_2. If you follow through that, you will see ...
jtgrassie's user avatar
  • 19.1k
2 votes

Can the sender find an address of the receiver of the transaction when not using GUI wallet?

The wallet file/wallet cache contains the data it used to construct transactions. If you still have the actual wallet file used to spend the funds, then you can open the file with the GUI wallet or ...
scoobybejesus's user avatar
1 vote
Accepted

How Elliptic Curve calculations are possible when using base58 addresses, if these are 552 bits long?

How Elliptic Curve calculations are possible when using base58 addresses, if these are 552 bits long? An address is encoded (ref): The address is actually the concatenation, in Base58 format, of the ...
jtgrassie's user avatar
  • 19.1k
1 vote
Accepted

Get public key of tx that currently in txpool

The transaction public key is contained in the txextra part of the get_transaction_pool response. The format of txextra is documented here: https://cryptonote.org/cns/cns005.txt You therefore want ...
knaccc's user avatar
  • 8,468
1 vote

Can the sender of the transaction find out via any blockchain explorer, how much money he sent?

Using your spend secret key, you can calculate the key images for all your outputs. Using your view secret key, you can see their amounts. When you check the outgoing transaction in question, you can ...
user36303's user avatar
  • 34.8k

Only top scored, non community-wiki answers of a minimum length are eligible