About

Metadata

  • Last updated , by wraithm
  • License BSD-3-Clause
  • Categories Network Development
  • Maintained by: Matt Wraith <matt@bitnomial.com>

  • Lottery factor: 0

Links

Installation

Tested Compilers

  1. 8.4.3

Readme

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.