GithubHelp home page GithubHelp logo

interledger-ripple / ilp-pluginproxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from interledgerjs/ilp-pluginproxy

0.0 0.0 0.0 40 KB

A proxy for ILP plugins to bridge between different plugins

License: Apache License 2.0

JavaScript 29.34% TypeScript 70.66%

ilp-pluginproxy's Introduction

ILP Plugin Proxy

Javascript wrapper for plugins that expose the Ledger Plugin Interface v2.

CircleCI codecov JavaScript Style Guide

The Plugin Proxy can be run as a stand-alone service. It is configured with two ILP plugins and provides a bridge between them registering the sendData and sendMoney functions on each as the handleMoney and handleData handlers on the other.

The package also provides a basic implementation of the BTP plugin which will:

  • handle BTP Transfer messages and pass the amount to the sendMoney of the other plugin.
  • handle calls to sendMoney by sending a BTP Transfer message

By using BTP as a standard messaging interface ILP implementations that are not written in JavaScript can use the proxy to get functionality provided by the various JS plugins already written.

Installation

npm install ilp-pluginproxy

API Documentation

See https://interledgerjs.github.io/ilp-pluginproxy

Usage

Creating a Proxy

//TODO

Try it out by running the example script.

ilp-pluginproxy's People

Contributors

adrianhopebailie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.