This file contains hidden or 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
//Run node get_btc_address.js | |
const prompts = require("prompts"); | |
const ecc = require("tiny-secp256k1"); | |
const ecpair = require("ecpair"); | |
const ECPair = ecpair.ECPairFactory(ecc); | |
async function run() { | |
const cliPrompts = [ |