Created
April 5, 2018 15:12
-
-
Save ghoti143/69a4b0f634f099d1e9da0434d5b3970c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> let {PrivateKey, PublicKey, Signature, Aes, key_utils, config} = require('eosjs-ecc') | |
> let privateWif | |
> PrivateKey.randomKey().then(privateKey => privateWif = privateKey.toWif()) | |
> pubkey = PrivateKey.fromWif(privateWif).toPublic().toString() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment