01 / Origin
Was this ecash really issued?
Cashu / NUT-12 DLEQ validation, holder-reconstructed B′ — never a mint-supplied ID.
Auditable Ecash · Cashu + Nostr
Ecash is digital cash issued by a mint that holds bitcoin for it. A mint can sign a promise to count each payment it issues in its books. SOLVENT checks that the promise was kept — in the mint’s signed books, on public records, and against bitcoin it can see on chain — before you accept the ecash.
Mint & verify ecash: pay a real Mutinynet Lightning invoice, receive Cashu, then let your browser verify whether the mint kept its accounting promise before accepting it. Mutinynet is a test network: the sats have no monetary value. Mint & verify ecash: receive Cashu from a real, patched CDK mint, then let your browser verify whether the mint kept its accounting promise before accepting it. This mint’s Lightning is a labelled demo: the invoice settles by itself. Mint & verify ecash: receive Cashu from a real, patched CDK mint, then let your browser verify whether the mint kept its accounting promise before accepting it. Re-check published evidence: re-verifies an already-published reference case against live relays and the chain — it mints nothing.
Signed promise · Closed accounting epoch · Public state · Live Bitcoin reserve
HISTORICAL AUDIT CASE · NOT THE LIVE MINT
SOLVENT / EPOCH 12
DECISION
REFUSE
Reason: PROMISED ISSUANCE OMITTED
Example: SOLVENT’s reference mint omitting a promised issuance, decided by the real verifier in your browser as this page loads. The live public mint is a separate system — try it.
The problem
Cashu can prove that ecash was signed by a mint. That alone does not prove the mint included that issuance in its liabilities — or that its reserves still cover the liabilities it has committed to. A mint can issue valid ecash while omitting that obligation from its accounting.
Valid token
mint signature
but
Liability
counted or omitted
Reserve
enough or not
The gap
Wallets need a way to check the mint’s obligation before accepting the token.
In plain words
The solution
Each issuance gets a signed receipt. Before acceptance, SOLVENT checks it against the mint’s closed accounting, the public record and the reserve — and blocks acceptance when any part is missing, inconsistent, stale or underfunded.
Every check runs in your browser, on data anyone can fetch: the mint’s own signatures, public Nostr relays and the Bitcoin chain. No SOLVENT server is trusted for the verdict.
Built for
Four places where someone decides whether a payment in ecash is good enough to accept.
Cashu wallets
Check a mint’s obligation before showing a balance as spendable.
Ecash apps
Gate acceptance on independent evidence, not on the mint’s word.
Mint operators
Publish evidence holders can check, and show every signed promise was kept.
Users accepting ecash
Know a token is authentic and actually counted before taking it.
What SOLVENT catches
If the epoch a receipt promised closes without that issuance, the contradiction is in the mint’s own signatures — and SOLVENT refuses on it, even when everything else looks healthy.
Illustration — example values
RECEIPT
EPOCH 12
SOLVENT
Illustration — example values
Reserve coverage (independent)
The other half
Even when an issuance really is counted in a closed epoch, that epoch’s mint still needs real Bitcoin reserve to cover the liabilities it committed to. SOLVENT checks both independently — accounting honesty and reserve coverage — before it will ever accept.
An observed, unspent reserve that covers the committed liabilities does not prove the reserve backs only this mint, that liabilities outside the commitment don’t exist, future solvency, or that a redemption will succeed. Trust model →
Get started
1
Mint 64 test sats
Pay the invoice over Mutinynet Lightning — from any Mutinynet wallet or the public faucet. The mint issues real Cashu once its own Lightning node sees the payment.
2
Verify, then accept
SOLVENT checks the mint’s signed promise against its closed epoch, public Nostr evidence and the reserve, and answers ACCEPT_VERIFIED.
3
Swap it, pay with it
Old proofs become spent and new ones stay usable, liability unchanged; then the mint pays a Mutinynet Lightning invoice and its liabilities drop by exactly that.
4
Break the promise
Mint again with a deliberate demo fault that omits your issuance from the epoch. Every signature stays valid — SOLVENT answers REFUSE_ISSUANCE_OMITTED.
Open Mint ecash to connect and check the backend status before starting.
1
Mint an honest issuance
On the live mint. The mint signs its promise, the epoch closes and is published, and SOLVENT answers ACCEPT_VERIFIED.
2
Break the promise
The same, but the mint’s real closer leaves your issuance out. Every signature stays valid — SOLVENT answers REFUSE_ISSUANCE_OMITTED.
3
Inspect the evidence
Open the exact Nostr event and reserve transaction from the result, on public explorers, or download it. Every record is on the Evidence page.
4
Real-LND CI evidence
This browser run uses the demo settlement backend. The same pipeline over real LND is committed evidence on the Evidence page: honest ACCEPT, broken-promise REFUSE and a NUT-05 melt.
Four checks. One acceptance gate.
01 / Origin
Cashu / NUT-12 DLEQ validation, holder-reconstructed B′ — never a mint-supplied ID.
02 / Promise
Verify the signed Proof-of-Liabilities receipt and the epoch it promised to count this issuance in.
03 / Accounting
Verify sum-MMR inclusion for the exact reconstructed issuance against the signed epoch manifest.
04 / Reserve
Re-query the reserve UTXO on chain (Mutinynet, a Bitcoin Signet) and compare it with the signed total.
These four questions are what the verifier’s eight checks answer, before one final decision (ACCEPT or REFUSE): receipt (token format, mint origin, receipt signature), closed accounting state (epoch closed, manifest, inclusion), public evidence (Nostr retrieval) and reserve coverage.
Not just a warning
SOLVENT does not merely display a warning label next to bad ecash. The verification decision gates a real, observable function call.
ACCEPT_VERIFIED
accept() called
any refusal
accept() never called
Refused ecash never reaches the acceptance side effect — each result on the live mint shows the call count. Scope: the demo’s acceptance adapter is a local reference store in your browser that proves the verdict gates a real side effect exactly once. It is not a universal Cashu wallet store.
Live Bitcoin reserve
TEST NETWORK — COINS HAVE NO VALUE
Loading the live Railway mint’s reserve…
Signature, script and mint-binding checks run on every verification — mint & verify ecash.
Public evidence
Signed Proof-of-Liabilities evidence is published over Nostr — a mint identity, epoch, manifest digest, and reserve binding that any holder or relay can independently fetch and verify.
Loading the live Railway mint’s latest publication…
What SOLVENT proves
“Cryptography can prove the promise was broken. It cannot make a custodian disappear.”
Proves
Does not change
Adversarial by design
This page does not run the attacks; reproduce the claim with npm run attacks (implementation ↗, recorded outcomes ↗). CI re-runs it on every evidence refresh.
Questions
Verify the promise
“A signed receipt means nothing if nobody checks what happened next.”
Mint ecash
Get real Cashu from a real, patched CDK mint, let your browser check the mint’s accounting promise before accepting it — then spend it, and finally watch SOLVENT catch a mint that breaks its promise.
ACCEPT_VERIFIEDREFUSE_ISSUANCE_OMITTED (every signature valid, the issuance missing)This build was made without a mint address. The public app (solvent-ashen.vercel.app ↗) is connected to the live Railway mint. To use your own, start a patched CDK mint and the SOLVENT sidecar (see Deploy a real mint) and open #/mint?mint=<mint URL>&evidence=<sidecar URL>. Re-check published evidence works without a mint.
Your ecash
Step 1 · Mint
You will pay a real Mutinynet Lightning invoice. Test sats have no monetary value.
This mint’s Lightning is a labelled demo (fakewallet): its invoice settles by itself and no payment happens. Everything SOLVENT checks is real.
Need test sats? Open faucet.mutinynet.com ↗, sign in with GitHub, and paste the invoice there to pay it. Any Mutinynet (signet) Lightning wallet works too.
Step 2 · Verify
The mint promised this issuance would appear in this accounting epoch. SOLVENT checks that promise after the epoch is publicly committed.
Step 3 · Accept
Step 4 · Swap
Exchange the accepted Cashu proofs for new proofs from the same mint. SOLVENT then checks the mint’s own books: the old proof must appear as spent, the new ones as issued, and the liability must not change. NUT-03 swap
Step 5 · Pay
Use part of your accepted Cashu to pay a real Mutinynet Lightning invoice — 40 sats to the public Mutinynet faucet. The mint pays it and returns your change; SOLVENT then checks the proof of payment and the mint’s books. NUT-05 melt
Retry re-checks this exact issuance against the public relays and the reserve now; it mints nothing and never accepts twice. Start again mints a new one.
Test the attack · deliberate demo fault
The mint will still issue real Cashu and sign a receipt promising to count it. SOLVENT’s demo fault switch then makes the mint omit that exact issuance from the closed epoch — something an honest mint never does. This needs another Mutinynet Lightning payment.
Break the promise: 64 sats are minted as usual and the mint signs its receipt — but SOLVENT’s real epoch closer is told, before minting, to leave exactly this issuance out of the epoch it promised. Nothing is faked in the browser: the verifier sees what the mint actually published.
Verify evidence
Check evidence you already have — a signed liability receipt, public accounting state and live Bitcoin reserve — before ecash is accepted. To get fresh ecash and check it, use Mint ecash.
Re-verifies a captured reference case that was published earlier (dates below): its Nostr event is fetched again from public relays and its reserve UTXO re-queried on chain, now. It does not mint new ecash — for a fresh issuance, use Mint ecash.
Test-network coins have no monetary value.
CAPTURED REFERENCE RUN Purpose: a stable, published mechanism example
Accepted ecash goes into a local reference store in this browser: it proves the verdict gates a real side effect exactly once, and is not a universal Cashu wallet. The reserve is Bitcoin Signet (test-network) capital, not mainnet funds. Full trust model →
Have SOLVENT-compatible ecash and its liability evidence? Paste the verification bundle and SOLVENT will independently check the mint’s signatures, accounting promise, public state and reserve.
See the verification bundle schema for the exact structure. A mint that cannot supply this evidence is unsupported — SOLVENT does not verify arbitrary Cashu ecash from arbitrary mints.
Previous result withdrawn. It was for the evidence as it was before your change; it says nothing about what is in the box now. Verify again before accepting.
Developers
Generate local SOLVENT-compatible proofs for protocol inspection. Evidence generated here is not automatically published and is not a production mint.
This is SOLVENT’s reference mint, running in your browser. Its keys are test keys kept only in this browser. Nothing issued here is published to Nostr, so lab evidence can pass every local check but never public retrieval — it cannot be accepted. To verify real published evidence, use Verify.
Reference mint
Issue a proof
Latest issuance
Full verification also checks public Nostr retrieval and the live reserve. Lab evidence is never published, so it refuses with PUBLIC EVIDENCE NOT FOUND unless an earlier check fails first.
Evidence
Every claim SOLVENT makes, with the record behind it. The real-LND results are committed to the repository, so they can be read directly; the Phase 3B package also replays offline (the others are inspectable records). The full index is evidence/README.md ↗.
REAL-LND CI EVIDENCE
A real patched CDK mint over real regtest LND; the epoch published to public Nostr relays and bound to a Mutinynet reserve; verified by the same verifier as the app.
REAL-LND CI EVIDENCE
PUBLIC RAILWAY EVIDENCE · LIVE
Loading the live mint’s status…
CI RUNS
CAPTURED REFERENCE EVIDENCE
Gate 5 — Nostr publication (captured)
Gate 6 — Signet reserve attestation (captured)
HOW A MINT PUBLISHES
01
Issuance receipts
npm run gate1
02
Close epoch
npm run gate2
03
Issued / spent sum-MMR
src/pol/mmr.ts
04
Sign manifest
src/pol/manifest.ts
05
Bind reserve evidence
npm run gate6
06
Publish Nostr state
npm run gate5
Protocol
A complete technical overview of the v2 decision chain, gate by gate.
A Cashu mint can sign a receipt promising to count a specific issuance in a specific accounting epoch, then close that epoch without it — while everything else about the epoch looks internally consistent and its reserve is healthy. SOLVENT independently reconstructs a holder’s exact issuance from their own Cashu proof (never a mint-supplied identifier), checks it against the epoch the mint itself signed and closed, checks the mint’s public Nostr state, checks a real Bitcoin reserve, and only then decides.
A dishonest mint may try to:
Every gate below exists to catch one of these specifically.
Given a received proof and the mint’s per-amount public key, the holder derives Y = hash_to_curve(secret),
then B′ = Y + rG and C′ = C + rA — the exact point the mint
originally blind-signed. This identity is never a mint-supplied ID; it is derived independently by whoever
holds the token, using NUT-12’s DLEQ proof to confirm the mint actually signed it.
The mint signs "Cashu_PoL_Receipt_Issued:" || B′_hex || ":" || target_epoch with the same
per-amount key used for blind signing. This is the promise: “this exact issuance will be counted in
this exact epoch.”
Each keyset commits two append-only Merkle Mountain Ranges with sums — issued and spent. A leaf commits both a hash and an amount, and parent hashes fold both hash and sum together, so the root simultaneously proves membership and the total value committed. An inclusion proof’s position is derived from the committed tree size, never trusted from a claimed index — a mint cannot hand a holder a proof for the wrong slot and have it verify.
Closing an epoch means signing a manifest: the issued/spent roots and sums, the outstanding balance, and a global digest chaining this epoch to the previous one. A manifest key signs this manifest — the mint’s own closed, dated accounting statement.
On a real mint three keys are kept apart. The mint’s NUT-06 identity (fetched by the
verifier from the mint’s own /v1/info) signs only a delegation: “this
manifest key speaks for me at this URL from epoch E”. The manifest key signs every
epoch manifest and the reserve binding. The reserve key signs the reserve statement. The verifier
checks the delegation against the live identity before it trusts any manifest.
The receipt promises epoch N. Epoch N closes and its manifest verifies. SOLVENT then asks for
sum-MMR inclusion of the reconstructed B′ at the promised amount. A proof that is supplied but
does not verify is refused as an invalid proof (REFUSE_MMR_PROOF_INVALID) — it says nothing
about the mint. The broken promise is different: the mint’s own evidence for its signed, closed epoch
N carries no inclusion proof for the issuance its receipt promised to that epoch. Because every
signed issuance enters the epoch’s append-only sum-MMR in the same transaction, an honest mint can always
prove inclusion. Two valid signed statements that cannot both be kept — SOLVENT refuses with
REFUSE_ISSUANCE_OMITTED. (This is not a general cryptographic non-membership proof.)
Signed evidence is published as a kind 8181 event, schema solvent/pol/v2, binding
the mint identity, epoch, manifest/global digest, and reserve evidence. The verifier checks signature
validity, freshness (issued_at ≤ now ≤ valid_until), digest binding against what the
decision actually used, and conflicting signed state for the same epoch — querying at least two
public relays and tolerating one going unreachable.
A real Bitcoin Signet UTXO, controlled by a Taproot key-path address, is declared in a signed statement (network, outpoints, values, scripts, timestamp, height). The reserve key signs the statement; the mint’s manifest key separately signs an epoch-scoped binding between that statement and this mint’s identity and epoch. SOLVENT independently re-queries a public block explorer for every declared outpoint — existence, spent status, value, and script — before ever trusting the statement’s own claims.
The complete chain, short-circuiting at the first failure:
Every REFUSE carries a stable reason code (see §10) — never a bare failure.
The decision is not advisory. ACCEPT_VERIFIED calls the real acceptance function exactly once;
every refusal calls it zero times — proven by a spy on the real function call, not by inspection of
source code.
| Code | Meaning |
|---|---|
ACCEPT_VERIFIED | Every required check passed. |
REFUSE_INVALID_DLEQ | The proof's DLEQ data does not verify. |
REFUSE_RECEIPT_INVALID | The signed receipt does not verify for this issuance. |
REFUSE_ISSUANCE_OMITTED | The promised issuance is missing from the closed epoch. |
REFUSE_MANIFEST_INVALID | The epoch manifest signature does not verify. |
REFUSE_RESERVE_SHORT | Verified reserve is below outstanding liabilities. |
REFUSE_RESERVE_UTXO_SPENT | The declared reserve outpoint has since been spent. |
REFUSE_NOSTR_CONFLICT | Two distinct valid signed states exist for the same epoch. |
REFUSE_NOSTR_STALE | Published evidence has expired. |
REFUSE_UNVERIFIABLE | A required check could not be independently verified. |
25 adversarial cases — forged signatures, tampered proofs, omitted issuances, conflicting manifests, stale evidence, spent reserves, a correctly signed accounting event that was never publicly published, and more — are each constructed for real and run through this exact decision chain.
What this proves and does not: the mint remains custodial, the live reserve is Signet test-network capital, and the liability format follows a draft Cashu proposal, not a finalized NUT.