You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add `supportsScriptType` function to check if a given network supports
a particular wallet script type (p2sh, p2wsh, p2tr, etc). This provides
a simple API for frontends to determine script compatibility before
attempting to create wallets.
Major improvements:
- Refactored script type handling to use a dedicated OutputScriptType enum
- Separated script type from derivation chain/scope concerns
- Added network compatibility checks for script types
- Exposed JS API with proper TypeScript definitions
Issue: BTC-2916
Co-authored-by: llm-git <llm-git@ttll.de>
0 commit comments