1.1.6 • Published 12 months ago

@tyz-wallet/tyz-wallet-core-mnemonic v1.1.6

Weekly downloads
-
License
-
Repository
-
Last release
12 months ago

Tyz Wallet Core Mnemonics

BIP39 Mnemonics for tyz wallet core

Getting Started

This library is distributed in both the npm packaging systems.

npm install @tyz-wallet/tyz-wallet-core-lib
npm install @tyz-wallet/tyz-wallet-core-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('@tyz-wallet/tyz-wallet-core-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();