Wallet seed
Last updated
Last updated
A robust implementation of BIP39 seed generation and management. This is lib is a wrapper around and
This library is part of the .
Here's a quick example of how to use Bip39Seed:
Bip39Seed
new Bip39Seed(config)
config.seed
: (optional) The seed buffer
config.mnemonic
: (required) The mnemonic phrase
Bip39Seed.generate(mnemonic)
Generates a new Bip39Seed instance
mnemonic
: (optional) A specific mnemonic phrase to use
exportSeed(opts)
Exports the seed and mnemonic
opts.string
: (optional) If false, returns an object instead of a JSON string
We use the testing framework for our unit tests. To run the tests for this package, use the following command: