top of page
to About

    About    

Recently, the Bitcoin mempool has filled up, with 250,000+ unconfirmed transactions, causing miners fees to skyrocket above 1000 sat/b.  Many people have transactions pending that are sitting with fees of under 500 sat/b, that are stuck.  You can possibly wait this out, which may take days or weeks, but what if you need access to the coin now?  This will show you how to delete the unconfirmed tx from your wallet, and how to create an offline, raw tx and push it to the network.  This causes an intentional double spend, and the idea is to make the new tx with a sufficient fee, so that it gets confirmed, and the original, stuck transaction goes away like it never existed.

I am just a guy that loves bitcoin, and wants to help some people.  If you use this method, and it helps, you can always tip me (please, do not tip me with a low fee tx though!)

BTC:  1CDg5detShe6dts3cngmaFKWvPYnxTaiTK

LTC: LRCgtXeRCYjuHt76yLhQhEMFkSdK4BqgKA

BCH:  16XJ5xkgkAZtgMM3UA1Ji9wG1jpKthTTVJ

ETH:  0x7be22194ead16eda13569a476b8e462dbaece9eb

DASH:  Xgu8LFjXjAzN9uRsMBpCxezrq3tqKY3pp8

All other cryptocurrency accepted also, contact me @ jasonbitcoin1@gmail.com

If you feel like you cannot do this, or run into issues, I can help by doing it for you, but it does take a little time, so bear with me.  

___________________________________________________

__________________________________________________

 

ONLY PERFORM THE FOLLOWING STEPS WITH A BACKUP COPY OF YOUR WALLET.  ALWAYS KEEP THE ORIGINAL SAVED IN CASE YOU NEED TO START OVER AGAIN!

________________________________________

First of all you will need Electrum Wallet, because it's easier to edit and configure, so download it, and verify the download signature:https://electrum.org/#download

Once you have downloaded and installed Electrum, you will need to create a new wallet file, and then import your seed phrase from the wallet that your original tx was sent from.  This will load your wallet into electrum, and will show you all of your transactions, including the unconfirmed one(s) that you need to remove and rebroadcast.

 

I will demonstrate here how to fix that unconfirmed transaction. You can fix multiple unconfirmed ones too, just by repeating this procedure.

 

We have 1 unconfirmed transaction here, and we need to get rid of it, so here is what you will do:

Disconnect the Internet, because we will remove this transaction from the wallet, it's unconfirmed so don't worry. Don't reconnect the Internet, because it will re-download it, and you have to start all over again.

Copy the hash of the transaction, by right clicking on it and copy. It should be a SHA-256 hash, the one used in this demonstration is: 8dbb8e508aaaf858412559c8047e034cda7f1f35c6738238b9db84a3cca9b872

Create a Backup of the wallet, so if you mess up you can restore it!

Open the wallet file with a text editor. The format of the wallet is JSON, so it should be easy to edit if you are familiar with it.

Press CTRL-F on the keyboard, and search for this hash in the file. It should appear 4 times, in different places, you need to delete them, but carefully to keep the JSON syntax intact, so I have highlighted what you need to delete, it should be different for you, but you will get the idea, it should be everything that is highlighted:

Here the section between the [] brackets needs to be deleted + the coma above.

This is the transaction data section, the TX hash and right below the data should be deleted, as highlighted above.

Delete everything between the {} brackets in the highlighted stuff + the comma after the brackets.

Delete everything between the {} brackets in the highlighted stuff + the comma after the brackets.

YOU MAY HAVE MORE AREAS IN YOUR WALLET FILE THAT HAVE THAT HASH INCLUDED IN THERE.  YOU NEED TO REMOVE THOSE PARTS AS WELL, FOLLOWING THE SAME IDEA AS THE PREVIOUS ONES ABOVE, MAKING SURE TO KEEP THE JSON SCRIPT INTACT (REMOVING THE LEADING COMMA, ETC)

  • Now open the wallet (you should still be offline), and check it it loads. If it loads then you did a good job. If it doesn't load then you restore the backup and do it again because you probably deleted something that you should have not.

The unconfirmed transaction should no longer be there, so that now we can spend it again!

  • Re-create the transaction, but this time put a higher fee:

    • Go to : http://bitcoinfees.21.co from another PC or phone (your pc should still be offline) and check what is the optimal fee

    • Go to Electrum's Preferences, and set your miner fee preference to match or exceed the recommended current fee.

  • Sign your transaction, and save it to a file, it should end with .txn extension.  To do this, go to the "Send" tab in Electrum, enter the address you want to send to, and enter the amount of btc you are sending.  Make sure the fee is correct this time, and then click on "Preview".  From there, click on "Save"  Save the .txn file to your desktop.

  • Open Notepad, or any other text editing program, on your computer. Open the saved .txn file you just created.  It should look like this below.  You will select only the part that I have highlighted, and copy it.

Now, you will paste that raw transaction into as many broadcasting nodes as you can.  Some may give you an error code, that is because they still have your old transaction in their mempool.  However, it really only takes one for it to start being propagated.  Enter that raw hex transaction into all of the broadcasting services below:

After a few minutes, you should be able to search for your address that you sent bitcoin to here:

https://live.blockcypher.com/

You will now see that it has a new incoming transaction.  It will say Caution:  This is a double spend attempt, however, if you used a high enough fee, this transaction will confirm before the other one, and the other one will become invalid.  Some miners will not allow a double spend transaction into new blocks themselves, but there are enough that still do, that your transaction should confirm shortly.  It just takes one confirmation, and them all the miners will agree that this is the real transaction.  Your original transaction will now cease to exist, and you have your bitcoin back again, all confirmed and ready for use.

bottom of page