-- network-bitcoin.cabal auto-generated by cabal init. For additional -- options, see -- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr. -- The name of the package. Name: network-bitcoin -- The package version. See the Haskell package versioning policy -- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for -- standards guiding when and how versions should be incremented. Version: 0.1.4 -- A short (one-line) description of the package. Synopsis: Interface with Bitcoin RPC -- A longer description of the package. Description: 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 . . Changes in v0.1.4 . - More accurate conversion of Bitcoin amounts from floating point -- The license under which the package is released. License: BSD3 -- The file containing the license text. License-file: LICENSE -- The package author(s). Author: Michael Hendricks -- An email address to which users can send suggestions, bug reports, -- and patches. Maintainer: Michael Hendricks Stability: experimental Homepage: http://github.com/mndrix/network-bitcoin Bug-reports: http://github.com/mndrix/network-bitcoin/issues -- A copyright notice. Copyright: Copyright 2011, Michael Hendricks Category: Network Build-type: Simple -- Extra files to be distributed with the package, such as examples or -- a README. -- Extra-source-files: -- Constraint on the version of Cabal needed to build this package. Cabal-version: >=1.8 Library hs-source-dirs: src ghc-options: -Wall -fno-warn-unused-binds -fno-warn-incomplete-patterns -- Modules exported by the library. Exposed-modules: Network.Bitcoin Network.Bitcoin.Address -- Packages needed in order to build this package. Build-depends: aeson >= 0.3, attoparsec >= 0.7, bytestring >= 0.9, containers >= 0.4, HTTP >= 4000, network >= 2.3, text >= 0.11, base == 4.* -- Modules not exported by this package. -- Other-modules: -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source. -- Build-tools: Test-suite test-main type: exitcode-stdio-1.0 main-is: test-main.hs Source-repository head type: git location: git://github.com/mndrix/network-bitcoin.git