Skip to content

EOSBlox/blox-keypair

Repository files navigation

<blox-keypair>

Makes two EOS key-pairs

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-keypair

$ npm install blox-keypair

Viewing Your Element

$ polymer serve

Running Tests

$ polymer test

Import

$ import 'blox-keypair';

Basic Use

<blox-keypair
    id="keypair"
    generate="0"
    keypairs="{{keyPairs}}">
</blox-keypair>

Javascript Generate Number

<blox-keypair id="keypair"></blox-keypair>
<script>
    this.$.keypair.generate()
    .then((keypairArray) => {
        // Do Something
    })
    .catch((err) => {
        // Do Something
    })
</script>

About

Creates two new EOS key-pairs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published