@hackage network-bitcoin1.0.1

An interface to bitcoind.

This can be used to send Bitcoins, query balances, etc. It requires the Bitcoin daemon to be running and accessible via HTTP.

import Network.Bitcoin

main = do
   balance <- getBalance auth
   putStrLn $ show balance ++ " BTC"
 where
   auth = Auth "http://127.0.0.1:8332" "user" "password"

To learn more about Bitcoin, see http://www.bitcoin.org.

Changes in v1.0

  • Total overhaul of the library, with almost the complete bitcoin RPC API covered.

  • Dependencies upgraded, and library modernized.

Changes in v0.1.5

  • Correct aeson dependency

Changes in v0.1.4

  • More accurate conversion of Bitcoin amounts from floating point