@bundlefyi/crypto-utils
TypeScript icon, indicating that this package has built-in type declarations

0.3.0 • Public • Published

@bundlefyi/crypto-utils

A collection of useful crypto utilities for react-native used by Bundle.

Install

npm i --save @bundlefyi/crypto-utils

Mnemonic Generation

Description

generateMnemonic implements the generation of a mnemonic code (or mnemonic sentence) - a group of easy to remember words used to generate deterministic wallets using BIP-39.

Usage

import { generateMnemonic } from '@bundlefyi/crypto-utils';
const seed = generateMnemonic(12);

console.log('->', seed);
// => seed sock milk update focus rotate barely fade car face mechanic mercy

Note

A good explanation of how to implement the key generation and wallet recovery can be found here and here.

Package Sidebar

Install

npm i @bundlefyi/crypto-utils

Weekly Downloads

8

Version

0.3.0

License

ISC

Unpacked Size

18.3 kB

Total Files

12

Last publish

Collaborators

  • jkbowa