bitcoin-payment-channel: Instant, two-party Bitcoin payments

[ bitcoin, finance, library, network ] [ Propose Tags ]

A Bitcoin payment channel allows secure and instant transfer of bitcoins from one party to another. Payments are created and verified in less than a millisecond (plus network latency), and cannot be double spent, as the receiver of funds is defined during channel setup. When the channel is closed, the settlement transaction transfers the appropriate value to each party, thus paying the Bitcoin transaction fee only once, regardless of the number of payments made over the channel. The channel setup procedure is trustless, because the funding party - after the chosen expiration date - is able to reclaim the bitcoins used to fund the channel, in case the receiving party goes missing. This library implements a type of payment channel where channel setup is safe from transaction ID malleability, and value transfer is uni-directional (one party sends and the other party receives) (CHECKLOCKTIMEVERIFY-style).

Modules

[Last Documentation]

  • PaymentChannel
    • PaymentChannel.Test
    • PaymentChannel.Types
    • PaymentChannel.Util

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.1.1.2, 0.1.1.3, 0.2.0.0, 0.2.1.0, 0.2.2.0, 0.2.3.0, 0.2.3.1, 0.3.0.0, 0.3.0.1, 0.4.0.0, 0.4.0.1, 0.5.0.0, 0.5.0.1, 0.6.0.0, 0.6.0.1, 1.0.0.0, 1.0.1.0, 1.2.0.0 (info)
Dependencies aeson (>=0.11.0 && <1.1), base (>=4.7 && <5), base16-bytestring (>=0.1.0 && <0.2.0), bytestring (>=0.10.0 && <0.11.0), cereal (>=0.5.0 && <0.6.0), errors (>=2.0.0 && <2.2.0), haskell-rbpcp-api, haskoin-core (>=0.4.0 && <0.5.0), hexstring (>=0.11.0 && <0.12.0), hspec, monad-time (==0.2), QuickCheck (>=2.8 && <2.10), scientific (>=0.3.0 && <0.4.0), semigroups (>=0.17 && <0.19), string-conversions (>=0.4 && <0.5), tagged (>=0.8 && <1.0), text (>=1.2.0 && <1.3.0), time (>=1.5.0 && <1.7.0) [details]
License LicenseRef-PublicDomain
Author Rune K. Svendsen <runesvend@gmail.com>
Maintainer Rune K. Svendsen <runesvend@gmail.com>
Category Bitcoin, Finance, Network
Home page https://github.com/runeksvendsen/bitcoin-payment-channel
Bug tracker https://github.com/runeksvendsen/bitcoin-payment-channel/issues
Source repo head: git clone git://github.com/runeksvendsen/bitcoin-payment-channel.git
Uploaded by runeks at 2017-01-23T14:33:29Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 11188 total (53 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-01-23 [all 3 reports]