1.0.0 • Published 9 months ago

eonacore-mnemonic v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

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();