blox-keypair
v1.0.2
Published
Makes two EOS key-pairs
Downloads
2
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>