I need more eyes/help on this. We're trying to build a proof of liabilities scheme for cashu mints. Heavily inspired by calle (nprofile…969u) original ecash pol (https://gist.github.com/callebtc/ed5228d1d8cbaade0104db5d1cf63939), but using with sum-MMRs for issued and spent notes instead of simple lists. And "anchoring" the root of the tree onchain using Peter Todd (nprofile…tqyx) 's OpenTimestamps.
The goal is not to punish the Mint for misbehaving (slashing is impossible) but simply being able to challenge them publicly on their solvency claims.
Anyway here is the spec: https://github.com/cashubtc/nuts/pull/388
And the gist I've created: https://gist.github.com/a1denvalu3/9cb8437714e0f5c0e9517611e811ca08
