cryptoadvance / cryptoadvance/specter-diy

Feature Request: Recovery tool for unknown derivation paths

Open
#349 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
585
Forks
108
Avg merge
6d 1h
Merged PRs (30d)
5

Description

BlueWallet has a great feature for people who found/inherit old seed phrases, which scans many derivation paths (and also tries different formats like Electrum wallet).
However, this is somewhat dangerous using a phone hot wallet.
It would be nice to have tool where you enter/scan a seed phrase and get you a CSV of addresses to check, something like:
```csv
script_type,derivation_path,address
p2pkh,m/44h/0h/0h/0/0,1Example440000xxxxxxxxxxxxxxxxxxxxxxxxx
p2pkh,m/44h/0h/0h/0/1,1Example440001xxxxxxxxxxxxxxxxxxxxxxxxx
p2pkh,m/44h/0h/0h/0/2,1Example440002xxxxxxxxxxxxxxxxxxxxxxxxx
p2pkh,m/44h/0h/1h/0/0,1Example441000xxxxxxxxxxxxxxxxxxxxxxxxx
p2pkh,m/44h/0h/1h/0/1,1Example441001xxxxxxxxxxxxxxxxxxxxxxxxx
p2pkh,m/44h/0h/1h/0/2,1Example441002xxxxxxxxxxxxxxxxxxxxxxxxx
p2sh-p2wpkh,m/49h/0h/0h/0/0,3Example490000xxxxxxxxxxxxxxxxxxxxxxxxx
p2sh-p2wpkh,m/49h/0h/0h/0/1,3Example490001xxxxxxxxxxxxxxxxxxxxxxxxx
p2sh-p2wpkh,m/49h/0h/0h/0/2,3Example490002xxxxxxxxxxxxxxxxxxxxxxxxx
p2sh-p2wpkh,m/49h/0h/1h/0/0,3Example491000xxxxxxxxxxxxxxxxxxxxxxxxx
p2sh-p2wpkh,m/49h/0h/1h/0/1,3Example491001xxxxxxxxxxxxxxxxxxxxxxxxx
p2sh-p2wpkh,m/49h/0h/1h/0/2,3Example491002xxxxxxxxxxxxxxxxxxxxxxxxx
p2wpkh,m/84h/0h/0h/0/0,bc1qexample840000xxxxxxxxxxxxxxxxxxxxxxxxxxx
p2wpkh,m/84h/0h/0h/0/1,bc1qexample840001xxxxxxxxxxxxxxxxxxxxxxxxxxx
p2wpkh,m/84h/0h/0h/0/2,bc1qexample840002xxxxxxxxxxxxxxxxxxxxxxxxxxx
p2wpkh,m/84h/0h/1h/0/0,bc1qexample841000xxxxxxxxxxxxxxxxxxxxxxxxxxx
p2wpkh,m/84h/0h/1h/0/1,bc1qexample841001xxxxxxxxxxxxxxxxxxxxxxxxxxx
p2wpkh,m/84h/0h/1h/0/2,bc1qexample841002xxxxxxxxxxxxxxxxxxxxxxxxxxx
p2tr,m/86h/0h/0h/0/0,bc1pexample860000xxxxxxxxxxxxxxxxxxxxxxxxxx
p2tr,m/86h/0h/0h/0/1,bc1pexample860001xxxxxxxxxxxxxxxxxxxxxxxxxx
p2tr,m/86h/0h/0h/0/2,bc1pexample860002xxxxxxxxxxxxxxxxxxxxxxxxxx
p2tr,m/86h/0h/1h/0/0,bc1pexample861000xxxxxxxxxxxxxxxxxxxxxxxxxx
p2tr,m/86h/0h/1h/0/1,bc1pexample861001xxxxxxxxxxxxxxxxxxxxxxxxxx
p2tr,m/86h/0h/1h/0/2,bc1pexample861002xxxxxxxxxxxxxxxxxxxxxxxxxx
```

Then a complimantary tool could scan the addresses and tell you which ones have any history.

Another idea could be to also enter a list of possible passphrases, maybe even from a text file - i.e. if people don't remember what their exact passphrase was. They should get a similar csv with all the possible addresses for each passphrase (with a column of "password_index").

WDYT?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points. Start by clarifying whether the requested work is the derivation-path CSV, address-history scanning, passphrase enumeration, or all three, along with the security constraints for an air-gapped wallet. Done should be defined by an agreed scope and tests covering the resulting address or CSV output.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
blockchain, cryptography, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.