Skip to content

About

A web component that generates a BIP39 mnemonic

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

<blox-mnemonic>

Build Status

A web component that generates a BIP39 mnemonic seed and 12 word phrase

Install the Polymer-CLI

First, make sure you have the Polymer CLI and npm (packaged with Node.js) installed. Run npm install to install your element's dependencies, then run polymer serve to serve your element locally.

Install blox-mnemonic

$ npm install blox-mnemonic

Viewing Your Element

$ polymer serve

Running Tests

$ polymer test

Import

$ import 'blox-mnemonic';

Basic Use

<blox-mnemonic
    password="secret!!"
    mnemonic="{{mnemonic}}"
    seed="{{seed}}">
</blox-mnemonic>

Javascript Use

<blox-mnemonic id="bloxMnemonic"></blox-mnemonic>
<script>
    this.$.bloxMnemonic.mnemonicfromPassword('secret!!')
    .then((hash) => {
        // Do Something
    })
    .catch((err) => {
        // Do Something
    })
</script>

About

A web component that generates a BIP39 mnemonic

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages