bit icon indicating copy to clipboard operation
bit copied to clipboard

Verify receipt of bitcoin

Open shadow1349 opened this issue 6 years ago • 2 comments

Is there any way to verify receipt of bitcoin? For example, if someone were to send me some bitcoin how would I know that

1.) I received it or, 2.) That it came from the person who said they sent it to me

This is assuming I know the bitcoin address of the sender.

shadow1349 avatar May 31 '19 01:05 shadow1349

I am not sure if these are bit specific questions? But

  1. You can just check the balance/transactions of the Bitcoin address in question by polling the blockchain (directly or using web APIs).
  2. You generate and assign a new address to each sender and by checking 1) know that it must come from the sender.

bjarnemagnussen avatar May 31 '19 06:05 bjarnemagnussen

You can tell them to pay a very precise amount and look for a transaction matching.

https://github.com/teran-mckinney/bitcoinacceptor-python

ghost avatar May 31 '19 16:05 ghost