Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

heat-sdk | Generate account

node v6.17.1
version: 1.0.0
endpointsharetweet
var {HeatSDK} = require("heat-sdk") var sdk = new HeatSDK() var secret = sdk.secretGenerator.generate() var publickey = sdk.crypto.secretPhraseToPublicKey(secret) var account = sdk.crypto.getAccountIdFromPublicKey(publickey) console.log(`Secret = ${secret}`) console.log(`Public Key = ${publickey}`) console.log(`Account = ${account}`)
Loading…

no comments

    sign in to comment