Created
November 9, 2021 12:28
-
-
Save hal0x2328/e73d66000500d6f4506a60888d42d537 to your computer and use it in GitHub Desktop.
Generate private key with neon-js
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
// npm i @cityofzion/neon-js@next for N3 | |
const Neon = require('@cityofzion/neon-js') | |
const { wallet } = Neon | |
const account = new wallet.Account(); | |
console.log(account.address); | |
console.log(account.WIF); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment