blox-keypair

Makes two EOS key-pairs

Usage no npm install needed!

<script type="module">
  import bloxKeypair from 'https://cdn.skypack.dev/blox-keypair';
</script>

README

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