opencbdc-tx
opencbdc-tx copied to clipboard
Enable supply auditing by storing values in the UHS
If we include the value of the output in the preimage used to create the UHS ID, and store the values along-side the IDs in the UHS, then we've effectively made a hash-based commitment to the value which can be verified after-the-fact.
This makes it easy to keep all our invariants, and elegantly adds a simple mechanism to verify that the full monetary supply continues to hold the total-minted-value.