Git Product home page Git Product logo

ripple-lib's Introduction

ripple-lib

A JavaScript API for interacting with the XRP Ledger

Circle CI Coverage Status

NPM

Features

  • Connect to a rippled server from Node.js or a web browser
  • Issue rippled API requests
  • Listen to events on the XRP Ledger (transaction, ledger, etc.)
  • Sign and submit transactions to the XRP Ledger

Getting Started

See also: RippleAPI Beginners Guide

You can use npm, but we recommend using yarn for the added assurance provided by yarn.lock.

Install ripple-lib:

$ yarn add ripple-lib

Then see the documentation and code samples.

Mailing Lists

We have a low-traffic mailing list for announcements of new ripple-lib releases. (About 1 email per week)

If you're using the XRP Ledger in production, you should run a rippled server and subscribe to the ripple-server mailing list as well.

Development

To build the library for Node.js:

$ yarn compile

The TypeScript compiler will output the resulting JS files in ./dist/npm/.

To build the library for the browser:

$ yarn build

Gulp will output the resulting JS files in ./build/.

For more details, see the scripts in package.json.

Running Tests

  1. Clone the repository
  2. cd into the repository and install dependencies with yarn install
  3. yarn test

Generating Documentation

The continuous integration tests require that the documentation stays up-to-date. If you make changes to the JSON schemas, fixtures, or documentation sources, you must update the documentation by running yarn run docgen.

npm may be used instead of yarn in the commands above.

More Information

ripple-lib's People

Contributors

wltsmrz avatar geertweening avatar justmoon avatar ahbritto avatar clark800 avatar intelliot avatar shekenahglory avatar darkdarkdragon avatar sublimator avatar emschwartz avatar mduo13 avatar alandotcom avatar wilsonianb avatar jatchili avatar vhpoet avatar boxbag avatar fredkschott avatar anfedorov avatar joelkatz avatar mwshortt avatar movitto avatar ximinez avatar h0vhannes avatar reedrosenbluth avatar sentientwaffle avatar ripplerm avatar vinniefalco avatar miracle2k avatar lukeburns avatar frrichard 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.