Author

Topic: JSON-RPC C++ Library (Read 4606 times)

newbie
Activity: 19
Merit: 7
May 28, 2019, 02:12:22 AM
#5
Thank you for the great job on ancient days of Bitcoin!

But as this answer shows up in web search results, I'm about to share a newer C++ wrapper for interacting with bitcoind json/rpc interface, to help the new-comers:
https://github.com/minium/bitcoin-api-cpp
hero member
Activity: 755
Merit: 515
May 31, 2011, 05:11:06 PM
#4
I never said it wasn't still a good idea to write an easier to use library for Bitcoin RPC Wink.
hero member
Activity: 770
Merit: 566
fractally
May 31, 2011, 05:06:13 PM
#3
JSON Spirit is a nice library, but too much overhead.  This uses boost::property_tree to parse the JSON and only depends upon boost.
hero member
Activity: 755
Merit: 515
May 31, 2011, 03:49:35 PM
#2
Bitcoin uses JSON-Spirit (http://www.codeproject.com/KB/recipes/JSON_Spirit.aspx)
There is a bitcoin reference implementation in the commented-out main function in rpc.cpp (the very end).
hero member
Activity: 770
Merit: 566
fractally
May 21, 2011, 01:49:08 AM
#1
I was unable to find an existing RPC client library for C++ so I created a simple library that does what I need it to do for my own projects.

https://github.com/bytemaster/cpp_bitcoin_rpc

If I missed something already built into Bitcoin then perhaps someone could point it out here.

The library is a work in progress, I will be adding additional methods as I need them.
Jump to: