espend-wallet-generator

1.0.3 • Public • Published

eSpend Wallet

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

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

Usage

var espendLib = require('espend-lib');
var espendWallet = require('espend-wallet')({
  sjcl: espendLib.sjcl
});
 
espendWallet.generate();

will generate a random, unfunded eSpend 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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    2
  • 1.0.2
    1
  • 1.0.1
    1

Package Sidebar

Install

npm i espend-wallet-generator

Weekly Downloads

4

Version

1.0.3

License

MIT

Last publish

Collaborators

  • espend-public