bark: Refactor Wallet::open
Summary by CodeRabbit
- Refactor
- Updated wallet initialization/opening to a seed-based flow with an
OpenWalletArgsconfiguration option set (including unified open behavior and daemon/persistence/lock configuration).
- Updated wallet initialization/opening to a seed-based flow with an
- New Features
- Added automatic default persistence backend selection per platform (including IndexedDB for wasm and sqlite elsewhere).
- Optional wallet fingerprinting now namespaces browser lock keys.
- Bug Fixes
- Unsupported targets now fail gracefully instead of panicking.
- Adjusted server-connection error messaging expectations.
- Documentation / Examples
- Updated docs and examples to use the new wallet open-and-persist flow.
Edited by coderabbit