bitcoin-hs-0.0.1: Partial implementation of the Bitcoin protocol (as of 2013)

Safe HaskellNone
LanguageHaskell98

Bitcoin.RPC.HTTP

Description

JSON-RPC over HTTP. We only support Basic Authentication at the moment.

Synopsis

Documentation

data BitcoinURI Source #

An URI plus username/password for basic auth

Constructors

BitcoinURI (String, String) URI 

bitcoinURI :: String -> String -> Maybe String -> Maybe Int -> BitcoinURI Source #

Example:

myuri = bitcoinURI username password host port

Default host is 127.0.0.1, default port is 8332