network-bitcoin: An interface to bitcoind.

[ bsd3, library, network ] [ Propose Tags ] [ Report a vulnerability ]

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
   client <- getClient "http://127.0.0.1:8332" "user" "password"
   balance <- getBalance client
   putStrLn $ show balance ++ " BTC"

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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, 1.8.3, 1.9.1
Dependencies aeson (>=0.8), attoparsec (>=0.12), base (>=4 && <5), bytestring (>=0.9 && <0.11), cookie (>=0.4), HTTP (>=4000), http-client (>=0.4.6), http-types (>=0.8.5), network (>=2.3), network-uri, text (>=0.11), time (>=1.4.2), unordered-containers (>=0.2), vector (>=0.10) [details]
Tested with ghc ==8.4.3
License BSD-3-Clause
Copyright 2012 Michael Hendricks <michael@ndrix.org> 2013 Clark Gaebel <cgaebel@uwaterloo.ca>
Author Michael Hendricks <michael@ndrix.org> Clark Gaebel <cgaebel@uwaterloo.ca>
Maintainer Matt Wraith <matt@bitnomial.com>
Category Network
Home page http://github.com/bitnomial/network-bitcoin
Bug tracker http://github.com/bitnomial/network-bitcoin/issues
Source repo head: git clone git://github.com/bitnomial/network-bitcoin.git
Uploaded by wraithm at 2019-12-22T19:27:23Z
Distributions
Reverse Dependencies 5 direct, 0 indirect [details]
Downloads 18672 total (56 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-12-22 [all 1 reports]