Skip to content

[feature]: add asset metadata to unsigned minting group virtual PSBT #1298

@ffranr

Description

@ffranr

This PR introduces support for asset group key signatures using an external key during asset minting: #1272.

To enhance functionality, the unsigned PSBT generated during the minting process should include additional asset metadata, such as:

  • Asset ID
  • Asset name
  • Units to be minted

This enrichment would allow external signing software to display helpful asset metadata, providing more transparency and usability during the signing process.

We can add arbitrary fields to psbt.Packet.Unknowns.

Shaping TODO

We need additional shaping on the following:

  1. Decide on a global key prefix to ensure uniqueness and avoid conflicts.
  2. Define the exact fields that need to be included.
  3. Determine how to encode the Value for these fields as bytes. Value field encoding needs to be easy for hardware signers to decode.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    🆕 New

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions