-
-
Notifications
You must be signed in to change notification settings - Fork 355
Creating and Verifying Private Transaction Proofs
proveprivatetxown "txid" "message"
Use the proveprivatetxown
command to create a proof that you spent coin for the private transaction. You will need to unlock the wallet first with the walletpassphrase "YOURPASSPHRASE" 30
command.
proveprivatetxown a366dc93c3c0c34c3afcbccdae0152d4fc57276f6451029729da65dfb17f6377 "This is Alice's transaction."
The output will be a signed message:
o22JMR4DQmD3zFUTVOQ00aQOTwXIhp6iZf3DCbjoQIAEx+Sw0+H1X4XFVWhtQGoUWkEf/VofhQZg6ul9Bv6AQg==
verifyprivatetxown "txid" "signature" "message"
You will need to use the same transaction ID and exact message that was used in creating the proof, e.g. "This is Alice's transaction."
and not "This is Alices transaction"
verifyprivatetxown a366dc93c3c0c34c3afcbccdae0152d4fc57276f6451029729da65dfb17f6377 o22JMR4DQmD3zFUTVOQ00aQOTwXIhp6iZf3DCbjoQIAEx+Sw0+H1X4XFVWhtQGoUWkEf/VofhQZg6ul9Bv6AQg== "This is Alice's transaction."
Expected output if the proof matches:
true
- Home
- Information for exchanges
- Technical and Troubleshooting
- Deterministic Masternodes
- Exchanges and Partners
- Vulnerability bounty program