Skip to content

owenkellogg/ripple-wallet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Lightweight javascript tool to generate a Ripple wallet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%