eos-metro-keygen
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Install

npm install eos-metro-keygen

Usage

import * as metroKeyGen from 'eos-metro-keygen';
let keyInfo = metroKeyGen.generateKeys();
console.log(JSON.stringify(keyInfo));

The return structure

{
  "seedPhrase": "will skin rent problem urge oven carry can vote solve dynamic tank",
  "owner": {
    "privateKey": "5Jvuw6JUZKVqYhooqqTCABjfH6QfSAs7tVwsKV1BSuJMwKXwLec",
    "publicKey": "EOS7rGxckSR8xkrUSiAEvS6tfw94v372MwsuWCTMNxCueiEWGNnrb"
  },
  "active": {
    "privateKey": "5JYYy7jQuGzhwbfqMQw1dQbL7HEVBhkWmQSeKzgjAfyQN7CsfFg",
    "publicKey": "EOS6PYKrWJXYvwsr8PtshgpRQEsDoP6cyvHLeZj6tbnVtXsSWYjun"
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i eos-metro-keygen

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

4.91 kB

Total Files

6

Last publish

Collaborators

  • eosnewyorkio