SOLVENT

Auditable Ecash · Cashu + Nostr

THE MINT
MADE A PROMISE.
DID IT KEEP IT?

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

Issuance
verified
PoL receipt
SIGNED ✓

Promised epoch
12
Epoch closed
CLOSED ✓
Issuance included
NO ✗
Reserve
verifying…

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

A valid Cashu token
doesn’t prove the mint
counted what it owes.

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

Five words you will see.

Cashu proof
The ecash token you received. The mint’s signature shows it is genuine; whether it is still unspent and redeemable is something only the mint can answer when you spend it.
Receipt
The mint’s signed promise to count your issuance in a specific accounting period.
Epoch
One accounting period. When it closes, the mint signs a summary of the liabilities it has recorded.
Liability commitment
That signed summary: a total plus a structure (a sum-MMR) proving exactly which issuances it includes.
Reserve
Bitcoin the verifier looks up on chain itself, instead of taking the mint’s word for it.

The solution

SOLVENT makes
the mint’s promise
checkable.

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.

  1. Issuance
  2. Signed liability receipt
  3. Closed accounting state
  4. Public Nostr evidence
  5. Live Bitcoin reserve
  6. Accept / Refuse

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

Anyone who has to decide
whether to accept ecash.

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

A signed promise
should be checkable.

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.

  • The receipt can be validly signed
  • The promised epoch can really close
  • The epoch’s own signed manifest can look internally consistent
  • The promised issuance can still be missing from it
See every attack case →

Illustration — example values

RECEIPT

Issuance70,000 sats
Promised epoch12
SignatureVALID

EPOCH 12

ClosedYES
IssuanceMISSING

SOLVENT

DecisionREFUSE

Illustration — example values

Reserve coverage (independent)

Liabilities 70,000 sats
Live reserve 1,000,000 sats
Reserve UTXO UNSPENT ✓
Binding VALID ✓
Coverage PASS

The other half

Inclusion alone
is not enough.

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.

  • Accounting honesty: was the promise kept?
  • Reserve coverage: does the observed reserve cover the committed liabilities?
  • Both must pass, or SOLVENT refuses

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

Judge SOLVENT
in minutes.

Judge SOLVENT
in minutes.

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.

SOLVENT gates ecash
on the real decision chain.

01 / Origin

Was this ecash really issued?

Cashu / NUT-12 DLEQ validation, holder-reconstructed B′ — never a mint-supplied ID.

02 / Promise

What did the mint promise?

Verify the signed Proof-of-Liabilities receipt and the epoch it promised to count this issuance in.

03 / Accounting

Did the closed epoch keep the promise?

Verify sum-MMR inclusion for the exact reconstructed issuance against the signed epoch manifest.

04 / Reserve

Does the observed reserve cover the committed liabilities?

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

The decision controls
the real acceptance boundary.

SOLVENT does not merely display a warning label next to bad ecash. The verification decision gates a real, observable function call.

VERIFY

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

Real chain evidence,
not a typed-in number.

TEST NETWORK — COINS HAVE NO VALUE

Loading the live Railway mint’s reserve…

Network…
UTXO…
Amount…
State…
Committed liabilities…
Coverage…
Observed…

Signature, script and mint-binding checks run on every verification — mint & verify ecash.

Public evidence

The epoch doesn’t live
on a private dashboard.

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…

Event kind8181
Schemasolvent/pol/v2
Signature…
Relay state…
Published to…
Event id…

What SOLVENT proves

“Cryptography can prove the promise was broken. It cannot make a custodian disappear.”

Proves

  • The mint signed the receipt
  • The issuance was promised for an epoch
  • The closed epoch contains / omits it
  • The public state matches
  • The reserve evidence is valid
  • The acceptance gate obeyed the decision

Does not change

  • The mint remains custodial
  • Test-network capital is not mainnet capital
  • The PoL format currently follows a draft proposal
  • SOLVENT is not yet a complete wallet
Read trust model →

Adversarial by design

25 / 25
expected attack outcomes.

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

Frequently asked.

Verify the promise

DON’T ACCEPT
BLINDLY.

“A signed receipt means nothing if nobody checks what happened next.”

Mint ecash

MINT ECASH. VERIFY IT. USE IT.

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.

  1. Judge SOLVENT in minutes
  2. 1. Mint 64 test sats and pay the invoice over Mutinynet Lightning.
  3. 2. Watch SOLVENT verify the mint’s signed accounting promise and accept the ecash.
  4. 3. Swap it — old proofs become spent, replacements stay usable, liability is conserved.
  5. 4. Pay with it — the mint pays a Mutinynet Lightning invoice and its liabilities fall by exactly that.
  6. 5. Break the promise — mint another issuance that is deliberately omitted, and watch SOLVENT refuse it.
  1. Judge SOLVENT in minutes
  2. 1. Mint an honest issuance → ACCEPT_VERIFIED
  3. 2. Break the promise → REFUSE_ISSUANCE_OMITTED (every signature valid, the issuance missing)
  4. 3. Inspect the evidence — open the Nostr event and the reserve transaction from the result; every record is on the Evidence page
  5. 4. Real-LND CI evidence — this browser run uses the demo settlement backend; the same pipeline over real LND is committed CI evidence: Phase 3A/3B run ↗ · NUT-05 run ↗

Verify evidence

VERIFY EXISTING SOLVENT 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-CHECK PUBLISHED EVIDENCE

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.

Last checkedNot yet run
Nostr—
Reserve—
NetworkMutinynet (Bitcoin Signet)

Test-network coins have no monetary value.

CAPTURED REFERENCE RUN Purpose: a stable, published mechanism example

Developers

REFERENCE MINT LAB

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

Evidence

Inspect the
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

Phase 3B — honest ACCEPT and broken-promise REFUSE, over real Lightning

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

NUT-05 — melt with change, accounted

PUBLIC RAILWAY EVIDENCE · LIVE

The public demo mint, right now

Loading the live mint’s status…

CI RUNS

Where the records come from

CAPTURED REFERENCE EVIDENCE

Reference runs — snapshots, not current status

Gate 5 — Nostr publication (captured)

Gate 6 — Signet reserve attestation (captured)

HOW A MINT PUBLISHES

The operator pipeline

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

How SOLVENT
decides.

A complete technical overview of the v2 decision chain, gate by gate.

Overview

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.

Threat model

A dishonest mint may try to:

  • Sign a receipt promising to count an issuance, then quietly omit it from the epoch it closes.
  • Publish inconsistent state to different relays, or let state go stale without saying so.
  • Claim a reserve it does not control, or one that no longer covers its committed liabilities.
  • Reuse, replay, or subtly alter a proof, receipt, or manifest to pass one check while failing another.

Every gate below exists to catch one of these specifically.

1. Cashu transfer & holder reconstruction

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.

2. Signed PoL receipt

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.”

3. Issued / spent sum-MMR

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.

4. Epoch manifest

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.

5. Omission contradiction

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.)

6. Nostr publication

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.

7. Reserve attestation

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.

8. Central decision

The complete chain, short-circuiting at the first failure:

Token parses→ NUT-12 / DLEQ→ PoL receipt→ Epoch closed→ Manifest valid→ Inclusion→ Reserve→ Nostr→ ACCEPT / REFUSE

Every REFUSE carries a stable reason code (see §10) — never a bare failure.

9. Acceptance enforcement

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.

10. Reason codes

CodeMeaning
ACCEPT_VERIFIEDEvery required check passed.
REFUSE_INVALID_DLEQThe proof's DLEQ data does not verify.
REFUSE_RECEIPT_INVALIDThe signed receipt does not verify for this issuance.
REFUSE_ISSUANCE_OMITTEDThe promised issuance is missing from the closed epoch.
REFUSE_MANIFEST_INVALIDThe epoch manifest signature does not verify.
REFUSE_RESERVE_SHORTVerified reserve is below outstanding liabilities.
REFUSE_RESERVE_UTXO_SPENTThe declared reserve outpoint has since been spent.
REFUSE_NOSTR_CONFLICTTwo distinct valid signed states exist for the same epoch.
REFUSE_NOSTR_STALEPublished evidence has expired.
REFUSE_UNVERIFIABLEA required check could not be independently verified.

Full reason-code table →

11. Attack model

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.

12. Trust boundaries

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.