signature – Easy methods to show pockets possession?

0
39


Context

I want to confirm being A has entry to a pockets and therefore want to ask them to pay a minimal quantity to a selected pockets handle owned by somebody apart from me, e.g. 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa, with a signature ThisIsUnexpected that I gave to the being A.

The essential idea I consider is sort of easy, if being A agrees, they share with me their bitcoin pockets handle:being_A_bitcoin_wallet_address. Subsequent, I might share the anticipated signature, and chosen recipient handle (e.g. 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa) with being A. Being A then pays a minimal quantity of bitcoin to 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa. After the transaction is accomplished, I have a look at the transaction historical past of the obtained donations to 1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa and discover the transaction made by being_A_bitcoin_wallet_address. Subsequent, I have a look at the signature of that specific transaction and confirm it reads: ThisIsUnexpected. If the transaction certainly has that signature I have a excessive certainty being A has entry to being_A_bitcoin_wallet_address and I can confirm their quantity of funds.

Problem

Although the thought could also be comparatively easy, I’m experiencing some challenges within the execution.

To check the verification process, I assumed I might search for the signatures of previous transactions to that handle. Therefore I went to: https://www.blockchain.com/btc/handle/1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa and appeared on the listing of transactions. In the intervening time of writing, this is the latest transaction, so I assumed I might maybe take the Sigscript of the transaction (with index 1) and put it into this signature verification instrument to get a human-readable signature. Nevertheless that instrument doesn’t appear to offer a human-readable signature, nor do I do know whether or not the arbitrary transaction I chosen incorporates a “Thanks Satoshi”-like signature.

Query

How might I virtually confirm the signature of a bitcoin transaction (if it has one)?

Subquestions

I believe this query may very well be segmented within the following sub-questions:

  • How can I confirm that an arbitrary transaction incorporates a human-readable signature?
  • Which info of the transaction information ought to I take advantage of to acquire a human readable type of the transaction signature?
  • Which on-line sources may very well be used to confirm a signature?
  • Is there a python script that gives a perform: being_has_access_to_wallet(claimed_wallet_access_address, recipient_wallet_address,human_readable_signature, quantity=0.0001) that returns True or False utilizing one thing like a block explorer?



Supply hyperlink

Leave a reply