Post
Topic
Board Bitcoin Technical Support
Re: [DO NOT DM] Requesting help regarding my old account
by
Henark
on 16/07/2025, 02:11:39 UTC
Thanks for the clarification! This is excellent news. You are not stuck at all; you are actually on the final step.

You are correct that you can't use `seedrecover.py` (Path B) without a public address. However, since you have the password to your `wallet.aes.json` file, we can use it to open the wallet and find a public address.

Here is the new plan. It's a two-step process:

1.  **Step 1: Use your known password to "dump" the contents of your `wallet.aes.json` file. This will reveal your public addresses.**
2.  **Step 2: Use one of those public addresses with your 17-word phrase in `seedrecover.py` to find the full 18-word seed.**

Let's go through each step carefully.

Step 1: Extracting a Public Address from Your Wallet File

For this step, we will use `btcrecover.py`. The goal is not to crack a password, but to use your known password to decrypt the file and print its contents.

1. Prepare Your Environment:
For maximum security, do this on a computer that is offline (air-gapped). [1] Place a copy of your `wallet.aes.json` file in the main `btcrecover` folder.

2. Run the "Dump Wallet" Command:
Open your terminal or command prompt in the `btcrecover` folder and run the following command. Replace `"YOUR_CORRECT_PASSWORD"` with your actual wallet password.

Code:
python btcrecover.py --wallet wallet.aes.json --dump-wallet decrypted_contents.txt --correct-wallet-password "YOUR_CORRECT_PASSWORD"

What this command does:
*   `--wallet wallet.aes.json`: Points to your wallet file.
*   `--dump-wallet decrypted_contents.txt`: This is the key part. Instead of trying to find a password, it tells the script to decrypt the wallet and save all its contents into a new file called `decrypted_contents.txt`. [3]
*   `--correct-wallet-password "..."`: This provides your known password to perform the decryption.

3. Find a Public Address:
After the command finishes, you will have a new file named `decrypted_contents.txt`. Open this file with a text editor. It will contain a lot of technical data, but somewhere inside, you will find your public addresses. Look for strings that look like a Bitcoin address. They typically start with a `1`, a `3`, or `bc1`.

Copy one of these addresses to your clipboard. The first one you find is usually the best one to use.

An Important Alternative: Securing Your Funds Immediately

Once you complete Step 1, you don't actually need the seed phrase to access your funds. You can dump the private keys directly and "sweep" them into a new, secure wallet. This is the most direct way to secure your bitcoin.

To do this, run this slightly different command:
Code:
python btcrecover.py --wallet wallet.aes.json --dump-privkeys my_private_keys.txt --correct-wallet-password "YOUR_CORRECT_PASSWORD"

This will create a file `my_private_keys.txt` containing the raw private keys. You can then import these keys into a modern wallet like Electrum or Sparrow and immediately send the funds to a new, secure address that you control. This completely bypasses the need for seed recovery.

Step 2: Using the Public Address to Recover Your Full Seed

If you still wish to recover the full seed phrase for your records, you can now proceed. You have the missing piece of the puzzle.

1. Use `seedrecover.py`:
Now we switch to the other script. Use the public address you found in Step 1.

2. Run the `seedrecover.py` Command:
In your terminal, run the following command. Replace `THE_ADDRESS_YOU_FOUND` with the actual public address you copied from the text file.

Code:
python seedrecover.py --wallet-type bip39 --addrs THE_ADDRESS_YOU_FOUND --mnemonic "your seventeen words here in order separated by spaces"

Because you now have a valid target address, the script will be able to check its guesses. It will test every possible 18th word in every position until it finds the combination that generates your public address. When it succeeds, it will print the full, correct 18-word seed phrase.

Summary - Your Golden Path

You are very close to the solution.

  • Use the `--dump-wallet` command with your known password to get your wallet's contents.
  • From the output file, copy a public address.
  • (Optional but Recommended) Use the `--dump-privkeys` command to get your private keys and secure your funds immediately by sweeping them to a new wallet.
  • (If you still want the seed) Use the public address you found in the `seedrecover.py` command to find your full 18-word seed.


You've done the hard part by keeping your password safe. This last part should get you across the finish line.

Let me know how it goes!