Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

interledger-deprecated/ilp-plugin-bitcoin-paychan

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ilp-plugin-bitcoin-paychan

Interledger.js Ledger Plugin for Bitcoin using CLTV Payment Channels

BitcoinInterledger.js

This plugin enables Interledger payments through Bitcoin using simple payment channels.

ilp-plugin-bitcoin-paychan implements the Interledger.js Ledger Plugin Interface, which allows Bitcoin to be used with ilp client and the ilp-connector.

Installation

Dependencies:

  • Node.js >=v7.10.0
  • Bitcoin Cored Node

Setup:

git clone https://github.com/interledgerjs/ilp-plugin-bitcoin-paychan.git
cd ilp-plugin-bitcoin-paychan
npm install

How It Works

ilp-plugin-bitcoin-paychan uses simple unidirectional Bitcoin payment channels implemented with CHECKLOCKTIMEVERIFY (CLTV). While the underlying channel is not conditional (i.e. does not use hashlocks), the plugin only sends updates to the channel when it receives the fulfillment from the other party. This means that payments that there is some risk for payments that are in flight. However, the Interledger Protocol isolates participants from risk from indirect peers.

By implementing all of the functions required by the Ledger Plugin Interface, this allows Bitcoin to be used by standard Interledger.js components.

For more information about how Interledger works, see IL-RFC 1: Interledger Architecture.

About

ILP ledger plugin for simple unidirectional Bitcoin payment channels

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.