Commit Graph

10 Commits

Author SHA1 Message Date
54d282a36b feat: add Electrum-compatible wallet encryption
- Add src/crypto.py with AES-256-CBC pw_encode/pw_decode
  using double SHA256 key derivation (Electrum standard)
- Add encrypt_wallet() and decrypt_wallet() to src/hd_wallet.py
- Prompt for encryption password when saving HD wallet to file
- Add 13 encryption/decryption tests to tests/test_hd_wallet.py
- Add pycryptodome to requirements.txt
2026-03-09 13:35:33 +01:00
44e60383cf Update README.md 2026-03-09 12:17:07 +01:00
040a72c378 chore: translate all source files to English
- Translate docstrings, comments, print statements, input prompts
  and error messages across all src/ scripts and __main__.py
- Update LICENSE copyright holder to Davide Grilli (2026)
- p2pk: input prompt changed from s/n to y/n for compressed key selection
2026-03-09 12:14:11 +01:00
2727844ec8 feat: add HD wallet generator with BIP-44/49/84/86 support
- Add src/hd_wallet.py with deterministic key derivation (BIP-32/39)
- Support P2PKH (BIP-44), P2SH-P2WPKH (BIP-49), P2WPKH (BIP-84), P2TR (BIP-86)
- JSON output aligned to Electrum wallet format (keystore, xpub/xprv, derivation path, root fingerprint)
- Add tests/test_hd_wallet.py with 34 tests (structure, prefixes, determinism, SecretScan)
- Add bip-utils to requirements.txt
- Add option 6 to __main__.py menu
2026-03-09 12:04:43 +01:00
409669e000 test: add tests/ folder with SecretScan verification links
- Add pytest test suite for all 5 address types (P2PK, P2PKH, P2SH, P2WPKH, P2TR)
- Test output fields, address prefixes per network, key lengths and uniqueness
- Each test file prints the SecretScan URL for manual address verification
- Add pytest to requirements.txt
2026-03-09 11:11:41 +01:00
290c371169 refactor: reorganize project into src/ structure
- Move all scripts (p2pk, p2pkh, p2sh, p2wpkh, p2tr) into src/
- Rename main.py to __main__.py to allow running with `python .`
- Update script paths in __main__.py
- Translate README to English and update launch instructions
- Add __pycache__, *.pyc, *.json to .gitignore
2026-03-09 11:07:03 +01:00
f9cc995f93 Create LICENSE 2025-11-10 16:51:28 +01:00
63048d5b18 Aggiunge le istruzioni al file README.md
Aggiungi comandi PowerShell per gli utenti Windows per creare un ambiente virtuale e attivarlo, rendendo le istruzioni di installazione più complete per diversi sistemi operativi
2025-11-10 16:22:10 +01:00
1b3291c821 Aggiunge ambienti virtuali Python a gitignore 2025-11-10 16:18:24 +01:00
61788ce312 feat: prima implementazione del generatore di indirizzi Bitcoin 2025-11-10 16:12:36 +01:00