network-bitcoin: Interface with Bitcoin RPC

[ bsd3, library, network, program ] [ Propose Tags ]

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 v0.1.4

Versions 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.4.0, 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.7.0, 1.7.1, 1.7.2, 1.8.0, 1.8.1
Dependencies aeson (>=0.3), attoparsec (>=0.7), base (==4.*), bytestring (>=0.9), containers (>=0.4), HTTP (>=4000), network (>=2.3), text (>=0.11) [details]
License BSD-3-Clause
Copyright Copyright 2011, Michael Hendricks
Author Michael Hendricks <michael@ndrix.org>
Maintainer Michael Hendricks <michael@ndrix.org>
Category Network
Home page http://github.com/mndrix/network-bitcoin
Bug tracker http://github.com/mndrix/network-bitcoin/issues
Source repo head: git clone git://github.com/mndrix/network-bitcoin.git
Uploaded by MichaelHendricks at Mon Dec 19 21:32:54 UTC 2011
Distributions NixOS:1.8.1
Downloads 7281 total (50 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-26 [all 7 reports]
Hackage Matrix CI

Modules

  • Network
    • Network.Bitcoin
      • Network.Bitcoin.Address

Downloads

Maintainer's Corner

For package maintainers and hackage trustees