Coder Social home page Coder Social logo

interledger--js-ilp-connector-cli's Introduction

ilp-connector-cli

Utility scripts to configure and start connectors on ILP

Installation

npm install -g ilp-connector-cli

Usage

Configuring

To create a trustline, you must first create configs for the ledgers that you wish to use. The ilp-connector-config tool is made for this purpose. To use a five-bells-ledger account, run: ilp-connector-config -t bells -o five-bells.json. To create a config for a trustline, run ilp-connector-config -t virtual -o trustline.json. You can use ilp-connector-config -h to see more options.

Some optional settings for ilp-plugin-virtual will not be included in the generated JSON files. To read about all options in ilp-plugin-virtual, read its README.

Now go into the two files that were created: five-bells.json and trustline.json. They have partially completed configurations for creating their plugins. Fill in the necessary fields in a text editor.

Running

Once you have filled in the config files, you can launch your nerd connector. Run ilp-connector-run five-bells.json trustline.json to start the connector. The JSON files will be passed into the CONNECTOR_CREDENTIALS field in the connector.

If you want to set any of the connector's environment variables (as specified in the connector's README, you can prefix the command with them. For example:

CONNECTOR_BACKEND=fixerio ilp-connector-run five-bells.json trustline.json

interledger--js-ilp-connector-cli's People

Contributors

sharafian avatar vhpoet avatar

Watchers

 avatar  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.