The network-bitcoin package
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.5
Correct aeson dependency
Changes in v0.1.4
More accurate conversion of Bitcoin amounts from floating point
Properties
| Versions | 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5 |
|---|---|
| Dependencies | aeson (0.3.*), attoparsec (≥0.7), base (4.*), bytestring (≥0.9), containers (≥0.4), HTTP (≥4000), network (≥2.3), text (≥0.11) |
| License | BSD3 |
| Copyright | Copyright 2011, Michael Hendricks |
| Author | Michael Hendricks <michael@ndrix.org> |
| Maintainer | Michael Hendricks <michael@ndrix.org> |
| Stability | experimental |
| Category | Network |
| Home page | http://github.com/mndrix/network-bitcoin |
| Bug tracker | http://github.com/mndrix/network-bitcoin/issues |
| Source repository | git clone git://github.com/mndrix/network-bitcoin.git |
| Upload date | Tue Dec 20 16:25:10 UTC 2011 |
| Uploaded by | MichaelHendricks |
| Built on | ghc-7.2 |
Modules
Downloads
- network-bitcoin-0.1.5.tar.gz (Cabal source package)
- package description (included in the package)