Author

Topic: PHP scripts for checking and validating transactions (Read 855 times)

sr. member
Activity: 403
Merit: 250
You just solved it yourself?

Use the API, use listtransaction and gettransaction API-calls against bitcoind.
Generate new addresses with getnewaddress and store somewhere, you could even assign the new address to a account (so each user has it's own account) - easier to parse.

Not sure what you need more then that.

JSON-RPC client to use against Bitcoind API is here:
http://jsonrpcphp.org/

it's not using cURL, tho... my own version does... Smiley But hell, it's just a few lines.
newbie
Activity: 42
Merit: 0
I am looking for any resources (but PHP mainly) that can be used to help validate BitCoin transactions, possibly for use with a Doubler or Multiplier service.

I am assuming the "simplest" method would be to just generate a new BitCoin receiving address for each Entry/Person and save those in a SQL database, then anything that is received by that address can be sent back to the Entry address tied to it.

I've already messed around with the API via PHP for awhile and messaged around with validating information via BlockExplorer, but that relies on a third-party service, and parsing the JSON data seemed a little messy for my tastes.
Jump to: