eonacore-mnemonic
v1.0.0
Published
BIP39 Mnemonics implemented for EonaCore.
Downloads
2
Maintainers
Readme
EonaCore Mnemonics
BIP39 Mnemonics for EonaCore
Getting Started
This library is distributed in both the npm packaging systems.
npm install eonacore-lib
npm install eonacore-mnemonic
There are many examples of how to use it on the developer guide section for mnemonic. For example, the following code would generate a new random mnemonic code and convert it to a HDPrivateKey
.
var Mnemonic = require('eonacore-mnemonic');
var code = new Mnemonic(Mnemonic.Words.SPANISH);
code.toString(); // natal hada sutil año sólido papel jamón combate aula flota ver esfera...
var xpriv = code.toHDPrivateKey();