Solvent
THE MINT MADE A PROMISE. DID IT KEEP IT?
The problem Solvent solves
SOLVENT catches when a Cashu mint issues ecash but leaves that issuance out of the liabilities it reports, making its reserves appear healthier than they really are.
Cashu already lets a user verify that a token was legitimately signed by a mint. But a valid signature only proves that the mint issued the ecash; it does not prove that the mint later counted that same issuance as money it owes.
That creates an important accounting gap for custodial ecash. A mint could hold a visible Bitcoin reserve, publish apparently healthy solvency numbers, and still understate its liabilities by omitting issued ecash from its books. A user receiving that ecash would have no way to tell that the mint's published accounting no longer matches the promises it made when issuing tokens.
SOLVENT makes that specific risk independently checkable.
When the SOLVENT-enabled mint issues ecash, it also creates a signed accounting receipt that commits the issuance to a specific accounting epoch. When that epoch closes, the mint commits its liabilities, publishes the signed evidence through public Nostr relays, and links that accounting state to its Bitcoin reserve.
Before accepting the ecash, the receiver can then verify:
- that the token itself is cryptographically valid;
- that the mint made a signed promise to account for that issuance;
- that the promised issuance actually appears in the mint's closed liabilities;
- that the accounting evidence was published and can be retrieved independently from public Nostr relays;
- and that the referenced Bitcoin reserve still exists and covers the reported liabilities.
If those checks agree, SOLVENT returns ACCEPT_VERIFIED and the wallet can accept the ecash.
If the mint issued valid ecash but omitted that promised liability from its books, SOLVENT returns REFUSE_ISSUANCE_OMITTED and blocks acceptance — even if the token's signatures are valid and the Bitcoin reserve still looks healthy.
This makes existing Cashu workflows safer without asking users to trust a solvency number shown by the same operator they are trying to verify. A Cashu wallet, merchant, exchange, payment service, or other ecash receiver could use the same verification boundary before accepting tokens from a participating mint.
SOLVENT does not make a custodial mint non-custodial or prove liabilities that were never observable. It solves a narrower but important problem: when a mint explicitly promises to account for an issuance, the receiver can verify whether that promise was actually kept before accepting the ecash.
Challenges I ran into
One of the hardest parts was proving that SOLVENT could detect a mint that issued valid ecash but deliberately left that issuance out of its liabilities.
The difficult part was that the failure could not simply be “the token is invalid.” That would be easy to catch and would not prove the idea. The token still needed to have valid Cashu cryptography, a valid signed accounting receipt, a published accounting epoch, and a healthy Bitcoin reserve. The only thing that should fail was liability inclusion.
Getting that distinction right exposed several implementation challenges.
First, I had to reliably identify the exact issuance the receiver was holding and bind it to the mint’s accounting promise. I used the proof data available to the receiver to reconstruct the issuance commitment and tied that to a signed Proof-of-Liabilities receipt for a specific accounting epoch.
Second, I needed a deterministic way to test dishonest mint behaviour. The first versions risked a race condition: if the accounting epoch closed before the demo omission was registered, the supposedly “broken” issuance could accidentally be included. I fixed this by registering the issuance for deliberate omission before minting completes, so the epoch closer already knows that exact liability must be excluded in the adversarial test.
Another challenge was making the evidence independently verifiable instead of trusting data returned by the same backend. SOLVENT now publishes the closed accounting record to public Nostr relays, retrieves it back during verification, and separately re-queries the Bitcoin reserve on Mutinynet. This means the verifier is not simply accepting a reserve number or accounting record supplied by the page itself.
I also had to keep the boundaries honest. The public browser demo uses a demo settlement backend for Lightning, while the same verification pipeline has been exercised separately against real LND in committed evidence. I kept those claims separate rather than presenting CI evidence as something a visitor had performed live.
The final result is the failure case I wanted from the beginning: the token remains cryptographically valid, the receipt is valid, the Nostr evidence is available, and the reserve is healthy — but the mint promised to account for 64 sats and reported 0. SOLVENT isolates that exact contradiction and returns REFUSE_ISSUANCE_OMITTED, preventing the wallet from accepting the ecash.
Tracks Applied (1)
Freedom Stack
Bitshala
Technologies used