bitcoin-payment-channel: Library for working with Bitcoin payment channels

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

A Bitcoin payment channel allows two parties two send value to each other very rapidly. The speed of the value transfer is limited primarily by network latency, and payments cannot be double spent, as the receiver of funds is defined during channel setup. The channel setup procedure is trustless, in that the funding party is able to retrieve the funds, after a chosen expiration date, in case the receiving party goes missing. This library implements a type of payment channel (CHECKLOCKTIMEVERIFY-style) where channel setup is safe from transaction ID malleability, and value transfer is uni-directional (one party sends and the other party receives).


  • Data
    • Bitcoin
      • Data.Bitcoin.PaymentChannel
        • Data.Bitcoin.PaymentChannel.Types
        • Data.Bitcoin.PaymentChannel.Util


Maintainer's Corner

For package maintainers and hackage trustees


Versions [RSS],,,,,,,,,,,,,,,,,,,, (info)
Dependencies base (>=4.7 && <5), base16-bytestring, base58string, binary, bytestring, cereal, haskoin-core, hexstring, text, time [details]
License LicenseRef-PublicDomain
Author Rune K. Svendsen <>
Maintainer Rune K. Svendsen <>
Category Bitcoin, Finance, Network
Home page
Bug tracker
Source repo head: git clone git://
Uploaded by runeks at 2016-05-13T15:11:26Z
Distributions NixOS:
Downloads 10336 total (24 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 2016-11-25 [all 1 reports]