Author

Topic: Automatically catch transactioon made (Read 609 times)

legendary
Activity: 1260
Merit: 1019
jza
full member
Activity: 126
Merit: 103
July 21, 2016, 12:58:05 AM
#4
I get the way to do this with a local bitcoin node, using the wallet as a daemon, I dont really know if there is a blockchain-less (or SPV) development library that can just connec tto a remote blockchain and perform the scanning and such.
full member
Activity: 170
Merit: 101
July 20, 2016, 10:16:54 PM
#3
If I understood you right. You can use getrawmempool in Bitcoin core.
It also has api with json response, so should be easily implemented with python or any other language.
staff
Activity: 3458
Merit: 6793
Just writing some code
July 20, 2016, 10:14:22 PM
#2
Your question is unclear. Are you asking how the merchant knows that he has been paid? If so, it does it the exact same way that every wallet does. It connects to a node (or is a node) and is notified when the node learns of a transaction which spends to the addresses it is watching for.
jza
full member
Activity: 126
Merit: 103
July 20, 2016, 10:02:22 PM
#1
I want to know how does a web checkout 'scan' a transaction once the payment wallet is generated, if anyone can share some code regarding this auto-trade of bitcoins.

I would like to know how does ti work on a checkout app on PHP, JS or Python.
Jump to: