Skip to content

[feature]: store and verify peer-issued pre-commitment outputs when syncing asset issuance proofs #1782

@ffranr

Description

@ffranr

A supply pre-commitment output is an output on the mint anchor transaction that is later spent by a supply commitment transaction. This creates the spend chain linking mint anchor transactions to supply commitments.

For locally issued assets, the node already stores pre-commitment outputs during minting. These outputs are then spent when the node publishes new supply commitment updates.

We also need to handle assets issued by peer nodes. Specifically:

  • When syncing issuance proofs from a peer, store the corresponding pre-commitment outputs.
  • During verification of supply commitments published by that peer, assert that any unspent pre-commitment output is consumed by a new supply commitment transaction.

Implementation details:

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestsupply commitWork on the supply commitment feature, enabling issuers to attest to total asset supply on-chain.

Projects

Status

✅ Done

Relationships

None yet

Development

No branches or pull requests

Issue actions