ripple-wallet-generator
A node.js library for generating a Ripple wallet.
Last updated 10 years ago by clark800 .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ npm install ripple-wallet-generator 
SYNC missed versions from official npm registry.

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.

Usage

var rippleLib = require('ripple-lib');
var RippleWallet = require('ripple-wallet')({
  sjcl: rippleLib.sjcl
});

RippleWallet.generate();

will generate a random, unfunded Ripple address and secret.

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

Tests

Run the automated test suite, which uses test vectors from the wiki:

npm test

Algorithm Docs and Test Vectors

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

Current Tags

  • 1.0.3                                ...           latest (10 years ago)

4 Versions

  • 1.0.3                                ...           10 years ago
  • 1.0.2                                ...           10 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Downloads
Total 4
Today 1
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 2
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE