How to use the @liskhq/lisk-passphrase.Mnemonic.validateMnemonic function in @liskhq/lisk-passphrase

To help you get started, we’ve selected a few @liskhq/lisk-passphrase examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github LiskHQ / lisk-sdk / commander / src / utils / mnemonic.ts View on Github external
* See the LICENSE file at the top-level directory of this distribution
 * for licensing information.
 *
 * Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation,
 * no part of this software, including this file, may be copied, modified,
 * propagated, or distributed except according to the terms contained in the
 * LICENSE file.
 *
 * Removal or modification of this copyright notice is prohibited.
 *
 */
import { Mnemonic } from '@liskhq/lisk-passphrase';

export const createMnemonicPassphrase = Mnemonic.generateMnemonic;

export const isValidMnemonicPassphrase = Mnemonic.validateMnemonic;

@liskhq/lisk-passphrase

Mnemonic passphrase helpers for use with Lisk-related software

Apache-2.0
Latest version published 1 year ago

Package Health Score

59 / 100
Full package analysis