-
Notifications
You must be signed in to change notification settings - Fork 5
Description
DESCRIPTION :
Implement a fully featured “Restore Wallet” flow that allows users to recover their wallet using their mnemonic phrases. The restore process should support industry standard Bitcoin wallet derivation and encoding formats to ensure compatibility and future scalability.
The restore logic must support the following standards:
- BIP39 + BIP32 + BIP44 - Basic HD wallet with legacy addresses
- BIP84 + BIP173 - Add native SegWit support
- BIP49 - Add P2SH-wrapped SegWit
- BIP86 - Add Taproot support
- BIP21 - URI scheme support
- BIP174 - PSBT for advanced transaction handling
STEPS:
1.Create restoreWallet() method
2.Input: user mnemonic phrase
3.Validate mnemonic with BIP39
4.Derive wallet keys & addresses using BIP32/BIP44 and additional selected standards
6.Persist Wallet Securely Store user-sensitive wallet data using flutter_secure_storage
(https://pub.dev/packages/flutter_secure_storage)
7.Use Testnet
8.Ensure derivation, broadcast, and address creation are using testnet parameters since we are still on development
9.Integrate with the existing Restore Wallet ui on our figma
Note: "if your have any issues on this pls do well to contact the community projects lead teams"