Evan Schwartz 0b7ff197c8 added toc
2013-09-06 15:41:00 -07:00
2013-09-03 12:29:45 -07:00
2013-04-26 08:59:48 +02:00
2013-09-06 15:41:00 -07:00
2013-04-26 09:00:22 +02:00
2013-07-18 07:58:55 +09:00
2013-05-07 20:54:04 +02:00
2013-04-26 09:10:42 +02:00
2013-09-06 15:21:54 -07:00

#The Ripple JavaScript Library

ripple-lib connects to the Ripple network via the WebSocket protocol and runs in Node.js as well as in the browser.

This file contains installation and quickstart instructions. For the full documentation see:

  1. The ripple-lib Guides
  2. The ripple-lib API Reference
  3. Additional documentation resources can be found at:

##Getting ripple-lib

  1. Via npm for Node.js: npm install ripple-lib
  2. Build from the source using grunt and load the minified ripple-#.#.#-min.js into your webpage

##Quickstart

Remote (remote.js) is the module responsible for managing connections to rippled servers.

/* Loading ripple-lib with Node.js */
var Remote = require('ripple-lib').Remote;

/* Loading ripple-lib in a webpage */
// var Remote = ripple.Remote;

var remote = new Remote({
  // see next section for available options
  trusted:        true,
  local_signing:  true,
  local_fee:      true,
  servers: [
    {
        host:    's1.ripple.com'
      , port:    443,
      , secure:  true
    }
  ]
});

remote.connect(function() {
  /* remote connected */
});
Description
A JavaScript/TypeScript API for interacting with the Xahau Ledger in Node.js and the browser
Readme 43 MiB
Languages
TypeScript 97.4%
JavaScript 2.6%