php - How can I check a 0-confirmation Bitcoin transaction without having the private key in my wallet? -


i programming site accepts bitcoin payments, not want hold private keys on server. using so-called "lazy api" method create private keys , addresses ahead of time off-line, , customers send them, , want notified when transaction happens, fast possible, 0 confirmations.

i can't figure out how programmatically, unless add private key bitcoind's wallet, don't want security reasons. i'd prefer in php, i'll settle whatever.

on lazy api page, suggests using blockexplorer.com check confirmations.

https://en.bitcoin.it/wiki/lazy_api#solution_for_receiving_bitcoins

#4 under solution receiving bitcoins:

check blockexplorer see if sent right amount (i.e. http://blockexplorer.com/q/getreceivedbyaddress/19hmeaarmbehfskeu4gt8mgsuyr4t4m6th/1) - /1 number of confirmations require


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -