akachain-bip39

1.0.1 • Public • Published

Akachain BIP39 library for browser

Javascript library for genrate mnemonic words, seed, private key ... of Akachain platform which is compatible with Etherium and other blockchains using BIP39. This library's purpose is for web brower and depends only on crypto-js, unorm and buffer library.

Setup

This library can be obtained through npm:

npm install akachain-bip39

Usage

const bip39 = require('akachain-bip39');

const mnemonic = new bip39();
console.log(mnemonic.toString())
//convert to seed
const seed = mnemonic.toSeed().toString('hex');
console.log(seed);
//veteran direct elegant rookie cherry stage joy erode north kitchen amazing correct
//convert word to mnemonic
const phrase = 'veteran direct elegant rookie cherry stage joy erode north kitchen amazing correct'
const mnemonic1 = new bip39(phrase);

Bugs

please email to contact@akachain.io or longnv1a@gmail.com to report for the bugs and security vulnerability

Readme

Keywords

Package Sidebar

Install

npm i akachain-bip39

Homepage

akachain.io

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

291 kB

Total Files

17

Last publish

Collaborators

  • longnv1a