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.2
support building on GHC 7.2
Properties
| 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 |
|---|---|
| Dependencies | aeson (0.3.*), attoparsec (≥0.7 & <0.10), 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 Nov 15 03:06:41 UTC 2011 |
| Uploaded by | MichaelHendricks |
| Build failure | ghc-7.2 (log) |
Modules
- Network
- Network.Bitcoin
- Network.Bitcoin.Address
- Network.Bitcoin
Downloads
- network-bitcoin-0.1.2.tar.gz (Cabal source package)
- package description (included in the package)