firmware/docs/miniscript.md
scgbckbone e630dd614f MuSig2
2026-03-23 10:16:49 -04:00

1.2 KiB

Miniscript

COLDCARD® EDGE versions support Miniscript and MiniTapscript.

Import/Export

  • Settings -> Miniscript -> Import from file
  • only descriptors allowed for import
  • Settings -> Miniscript -> <name> -> Descriptors
  • only descriptors are exported
  • export extended keys to participate in miniscript:
    • Advanced/Tools -> Export Wallet -> Generic JSON
    • Settings -> Multisig Wallets -> Export XPUB

Address Explorer

Same as with basic multisig. After miniscript wallet is imported, item with <name> is added to Address Explorer menu.

Limitations

  • no duplicate keys in miniscript (at least change indexes in subderivation has to be different)
  • subderivation may be omitted during the import - default <0;1>/* is implied
  • both keys with key origin info [xfp/p/a/t/h]xpub/<0;1>/* & blinded keys xpub/<2;3>/* allowed
  • use of blinded keys for co-signers requires PSBT provider to supply path from current key fingerprint
  • maximum number of keys allowed in segwit v0 miniscript is 20
  • check MiniTapscript limitations in docs/taproot.md