Makes two EOS key-pairs
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.
$ npm install blox-keypair
$ polymer serve
$ polymer test
$ import 'blox-keypair';
<blox-keypair
id="keypair"
generate="0"
keypairs="{{keyPairs}}">
</blox-keypair><blox-keypair id="keypair"></blox-keypair>
<script>
this.$.keypair.generate()
.then((keypairArray) => {
// Do Something
})
.catch((err) => {
// Do Something
})
</script>