A tool to extract Phantom wallet mnemonic phrases and private keys from Chrome browser data, developed by SlowMist Team.
- Extract Phantom wallet encrypted data from Chrome browser
- Support both PBKDF2 and Scrypt key derivation functions
- Handle both mnemonic phrases and private keys
- User-friendly command-line interface
- Python 3.7 or higher
- Chrome browser with Phantom wallet extension installed
- Clone the repository:
git clone https://github.com/slowmist/PhantomKeyRetriever.git
cd PhantomKeyRetriever
- Install required dependencies:
pip install -r requirements.txt
- leveldb>=0.201
- base58>=2.1.1
- pynacl>=1.5.0
- mnemonic>=0.20
python PhantomKeyRetriever.py [OPTIONS]
-h, --help
: Show help message and exit-p PATH, --profile PATH
: Path to Chrome profile directory containing Phantom wallet data (default: "./bfnaelmomeimhlpmgjnjophhpkkoljpa/")
# Use default profile path
python PhantomKeyRetriever.py
# Specify custom profile path
python PhantomKeyRetriever.py -p /path/to/profile
# Show help message
python PhantomKeyRetriever.py --help
The Chrome profile directory containing Phantom wallet data is typically located at:
- Windows:
%LOCALAPPDATA%\Google\Chrome\User Data\Default\Local Extension Settings\bfnaelmomeimhlpmgjnjophhpkkoljpa
- MacOS:
~/Library/Application Support/Google/Chrome/Default/Local Extension Settings/bfnaelmomeimhlpmgjnjophhpkkoljpa
- Linux:
~/.config/google-chrome/Default/Local Extension Settings/bfnaelmomeimhlpmgjnjophhpkkoljpa
The tool will output:
- Extracted BIP39 mnemonic phrase (if available)
- Private key (if available)
We welcome contributions! Please feel free to submit a Pull Request.
This tool is for educational and research purposes only. Make sure you have the right to access the wallet data before using this tool.
This project is licensed under the MIT License - see the LICENSE file for details.