Bitcoin Forum
December 09, 2016, 02:13:25 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: JSON-RPC C++ Library  (Read 3989 times)
bytemaster
Hero Member
*****
Offline Offline

Activity: 728

BitShares


View Profile WWW
May 21, 2011, 06: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.

https://steemit.com  Blogging is the new Mining
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481249605
Hero Member
*
Offline Offline

Posts: 1481249605

View Profile Personal Message (Offline)

Ignore
1481249605
Reply with quote  #2

1481249605
Report to moderator
blap
Jr. Member
*
Offline Offline

Activity: 53


=)


View Profile
May 31, 2011, 08:44:10 PM
 #2

 Smiley

I could be killing, I could be stealing. But I'm begging here:
http://payb.tc/blap or
1LLqF5bdbhQoH37ztTsZ5tmyE5Lq7jYmns
=)
Matt Corallo
Hero Member
*****
expert
Offline Offline

Activity: 751


View Profile
May 31, 2011, 08:49:35 PM
 #3

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).

Bitcoin Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
bytemaster
Hero Member
*****
Offline Offline

Activity: 728

BitShares


View Profile WWW
May 31, 2011, 10:06:13 PM
 #4

JSON Spirit is a nice library, but too much overhead.  This uses boost::property_tree to parse the JSON and only depends upon boost.

https://steemit.com  Blogging is the new Mining
Matt Corallo
Hero Member
*****
expert
Offline Offline

Activity: 751


View Profile
May 31, 2011, 10:11:06 PM
 #5

I never said it wasn't still a good idea to write an easier to use library for Bitcoin RPC Wink.

Bitcoin Ubuntu PPA maintainer - donate to me personally: 1JBMattRztKDF2KRS3vhjJXA7h47NEsn2c
http://bitcoinrelaynetwork.org maintainer
PGP ID: 07DF 3E57 A548 CCFB 7530  7091 89BB B866 3E2E65CE
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!