ripple-wallet

A node.js library for generating a Ripple wallet.

npm install ripple-wallet
31 downloads in the last day
84 downloads in the last week
385 downloads in the last month

Ripple Wallet

This is a simple, lightweight tool to generate a new ripple wallet, which consists of public and secret key components.

Beyond portability, the tool was created to isolate the cryptography behind wallet generation in the ripple client and ripple-lib.

The algorithm for generating wallets is described here.

Usage

var Ripple = require('ripple-wallet').Ripple;

Ripple.Wallet.generate();

will generate a random, unfunded Ripple address and secret.

{ 
  address: 'r3sBHwjwAb6eFpHbCEbJmhC8scmDeqXZyZ',
  secret: 'snovmDoPbb5Y14JVA5wxtBtPgHNaP' 
}

Docs and Test Vectors

A description of the Cryptography can be found on the Wiki.

npm loves you