Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: mndrix on November 11, 2011, 10:18:55 PM



Title: Haskell interface to Bitcoin RPC
Post by: mndrix on November 11, 2011, 10:18:55 PM
I've created a Haskell module for interfacing with Bitcoin's JSON RPC.  You can find Network.Bitcoin (http://hackage.haskell.org/package/network-bitcoin) on Hackage.  That page links to the source at GitHub.  Hackage hasn't generated the module's documentation yet, but it should appear within the next 24 hours.

Some of the most commonly used RPC methods have convenient wrappers.  For all others, you have to use a lower level function.  The Hackage page gives some brief sample code.  If you want more, just ask.

You can post bugs here or on the GitHub issue tracker.


Title: Re: Haskell interface to Bitcoin RPC
Post by: mndrix on January 13, 2012, 08:01:58 PM
The latest version (v0.15) fixes a bug in the conversion from Bitcoin RPC's floating point numbers to the module's internal fixed point calculations.  I recommend upgrading.