Address confusion

in address •  4 years ago 

2 Address confusion

The purpose of obfuscating the address is to break the association between the input and output addresses, thereby concealing the coming and going relationship of transfer. Whenever the sender wants to initiate a transfer, the funds will not be directly sent to the recipient's address, but to an address temporarily generated by the system.

When Alice transfers money to Bob, the sender Alice uses the recipient Bob's public key and private key plus some random numbers to generate a unique, one-time address. The system adds 5XMR to this temporary address. Observers, including Alice and Bob, can see this temporary address themselves, but they don't know who the money in the address belongs to. So how does Bob know that someone transfers money to himself, and how does he receive the money? Bob's wallet will use the private key to perform a search function to check whether the temporary address on the blockchain has his own money. When Bob's private key (only the recipient Bob's own private key can) recognizes the temporary address he has the right to claim, the money can be used.

3 ring secret

How does Alice tell the blockchain network that the transfer amount is 5XMR? In the RingCT transaction, Alice will not directly disclose to the network 5XMR, but provide a digital rct as the transaction amount output. rct= random number + 5 (the real transaction amount). The random number is used to cover the real amount and is automatically generated by the wallet. The network can use this RCT value to verify whether the transaction input is equal to the transaction output amount to confirm that no additional Monero has been forged. However, for an external observer, there is no way to know the actual transaction amount.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!