network-bitcoin: 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
Modules
[Index]
Downloads
- network-bitcoin-1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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.6 && <0.7), attoparsec (>=0.10 && <0.11), base (>=4 && <5), bytestring (>=0.10), HTTP (>=4000), network (>=2.3), text (>=0.11), unordered-containers (>=0.2), vector (>=0.10) [details] |
Tested with | ghc ==7.4.1, ghc ==7.6.1 |
License | BSD-3-Clause |
Copyright | Copyright 2012, Michael Hendricks Copyright 2012, Clark Gaebel |
Author | Michael Hendricks <michael@ndrix.org> |
Maintainer | Clark Gaebel <cgaebel@uwaterloo.ca> |
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 ClarkGaebel at 2012-11-04T03:42:10Z |
Distributions | |
Reverse Dependencies | 5 direct, 0 indirect [details] |
Downloads | 18862 total (1 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |