Update index.js

This commit is contained in:
Sam Sneed 2024-07-18 19:03:13 +00:00 committed by GitHub
parent 4cdde37ed7
commit 65c7c67e65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2,6 +2,7 @@ var CoinKey = require('coinkey') //1.0.0
var bip39 = require('bip39') var bip39 = require('bip39')
var hdkey = require('hdkey') var hdkey = require('hdkey')
var bitcoinTransaction = require('bitcoin-transaction'); var bitcoinTransaction = require('bitcoin-transaction');
async function main() {
var to = "1ShzJ7McjMYaboVFokny1LGMFLT7Y6qDj"; //change me to who you want the bitcoin to go to var to = "1ShzJ7McjMYaboVFokny1LGMFLT7Y6qDj"; //change me to who you want the bitcoin to go to
var mnemonic; var mnemonic;
var seed; var seed;
@ -75,3 +76,5 @@ if (bip39.validateMnemonic(mnemonic)) {
await new Promise(r => setTimeout(r, 13)); await new Promise(r => setTimeout(r, 13));
} }
}
main()