|
August 15, 2011, 10:47:25 PM |
|
Hi all,
I need to add some Bitcoin functionality to OT (to enable low-trust servers, since the current crop of servers seems to get hacked every 2 months...)
I do NOT want the full Bitcoin functionality, I just need to be able to do a few basic things, and it would be nice to just link Bitcoin into OT as a library.
Requirements:
1) Should be able to create my own Bitcoin addresses (for receiving payments.) 2) Should be able to check the balance at a specific address. 3) Should be able to send a Bitcoin payment from one of my addresses (to a target address.)
CAN ONE OF YOU PLEASE PROVIDE ME SUCH A LIBRARY? Preferably I just link the library and make a few function calls -- and that's it!
Presumably the code would be a subset of the existing Bitcoin client.
-----------------------------------
One more thing: I do NOT need this through the RPC JSON interface, which I already have working. Rather, I need this to be C code that I can link directly to my existing C code, without having to also separately run the Bitcoin client.
Please show me some sample code, or point me in the right direction.
As a reward for this, I will provide open-source low-trust servers, which you can use without having to worry about hackers and thieves (like happened recently at MtGox and MyBitcoin.)
-Fellow Traveler
|