A collection of extensions to ripple-lib
Switch branches/tags
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
messagesigner style guide fixes Feb 9, 2016
orderbook Update ripple-lib to 0.22.0 and update package-lock Jul 27, 2018
transactionparser v0.7.1 Jul 18, 2018
value Add value package Sep 22, 2015
.gitignore create browser versions Feb 1, 2016
.travis.yml Disable build emails Feb 5, 2015
README.md Update README.md Nov 3, 2017
circle.yml Update dependencies in transactionparser and orderbook (#35) Sep 22, 2017

README.md

ripple-lib-extensions

A collection of packages that extend the functionality of ripple-lib.

Use in the Browser

These modules will need to be compiled for use in the browser. From the root directory of each module, run $ npm install then $ gulp The compiled libraries will be available in the /dist/web directory

Orderbook

Live updating orderbook data from the Ripple Network. Requires RippleAPI version 0.14.0 or greater.

  var api = new ripple.RippleAPI({server: 'wss://s1.ripple.com'});

  api.connect().then(function() {

    var book = rippleOrderbook.OrderBook.createOrderBook(api, {
      currency_gets: 'XRP',
      issuer_pays: 'rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B',
      currency_pays: 'USD'
    });

    book.on('model', function(offers) {
      console.log(offers);
    });
  });

Transaction Parser

Parses transaction objects to a higher-level view.

Message Signer

Signs arbitrary data.