https://github.com/xdv/divvy-wallet
Divvy Wallet Generator
https://github.com/xdv/divvy-wallet
cryptocurrency cryptography divvy secret test-vectors xdv
Last synced: 5 months ago
JSON representation
Divvy Wallet Generator
- Host: GitHub
- URL: https://github.com/xdv/divvy-wallet
- Owner: xdv
- License: other
- Created: 2015-05-04T04:49:29.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2020-12-08T06:09:29.000Z (over 5 years ago)
- Last Synced: 2025-11-19T23:19:40.607Z (7 months ago)
- Topics: cryptocurrency, cryptography, divvy, secret, test-vectors, xdv
- Language: JavaScript
- Homepage: https://xdv.io
- Size: 8.13 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Divvy Wallet
This is a simple, lightweight tool to generate a new divvy wallet,
which consists of public and secret key components.
Beyond portability, the tool was created to isolate the cryptography
behind wallet generation in the divvy client and divvy-lib.
### Usage
```js
var divvyLib = require('divvy-lib');
var DivvyWallet = require('divvy-wallet')({
sjcl: divvyLib.sjcl
});
DivvyWallet.generate();
```
will generate a random, unfunded Divvy address and secret.
```js
{
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](https://wiki.xdv.io/en/Account_Families).
### Notes
Environment:
node.js > 0.10.25
mocha@2.5.1