A Python-based Hierarchical Deterministic (HD) Wallet supporting Bitcoin (BTC), Ethereum (ETH), and Solana (SOL). Built with FastAPI and Vue.js.
- Multi-Chain Support: Generate addresses for BTC (Legacy), ETH, and SOL.
- BIP Standards: Implements BIP39 (Mnemonic), BIP32 (HD Wallets), and BIP44 (Multi-Account).
- Security:
- Mnemonic generation and secure storage (in memory).
- Private key visibility toggle (masked by default).
- Web Interface: Clean, responsive UI built with Vue.js and Tailwind CSS.
- Python 3.8+
- pip
- Clone the repository (or download the source code).
- Install dependencies:
pip install -r requirements.txt- Start the application:
python wallet_app.py-
Open your browser and navigate to:
http://127.0.0.1:8000 -
Initialize Wallet:
- Enter an existing mnemonic phrase to recover a wallet.
- Or leave it blank and click "Create / Import Wallet" to generate a new one.
-
Manage Accounts:
- Click "+ BTC Account", "+ ETH Account", or "+ SOL Account" to generate new addresses.
- Click the "Eye" icon to reveal the private key for any account.
wallet_core.py: Core wallet logic (Key generation, address derivation).wallet_app.py: FastAPI backend application.templates/index.html: Frontend user interface.requirements.txt: Python dependencies.
Build and run with Docker:
docker build -t web3-wallet .
docker run -p 8000:8000 web3-wallet