An independent federated Cashu mint
Signed by a federation.
Kept by a contract.
A federation of guardians signs ecash with threshold BLS. A Move smart contract keeps the ledger and holds the reserves, so anyone can audit it, anyone can redeem, and only so much can leave each hour.
The problem
Cashu gives us private, instant ecash. But each mint is one operator holding one key and one pot of reserves. If the keeper sails off, the shells sail with them.
Federated Cashu shares the key among guardians, so no one can sign alone. But the guardians still have to keep the ledger, and still guard the chest.
How Cowrie works
Cowrie follows Cashu's federated mint design and moves consensus and custody into a Move smart contract on Sui.

Five guardians each hold a share of the key; any four can sign a note, none can sign alone.

The MintVault Move contract does the jobs a mint operator used to do.

Every signature share is checked before it's used.
Compared
| Single Cashu mint | Federated Cashu (typical) | Cowrie | |
|---|---|---|---|
| Signing key | One operator | t-of-n guardians | 4-of-5 guardians, dealer-free key generation |
| Who records spends | Operator's database | Consensus the guardians run together | Move contract on Sui; guardians run no consensus |
| Where reserves sit | Operator's Lightning node | Held by the federation | MintVault shared object, visible on-chain |
| Redemption | Operator must agree | Federation must agree | Contract pays any valid note |
| If key holders collude | Everything is lost | Everything is lost | Bounded by an hourly withdrawal cap, and visible |
Why it works
A normal Cashu note can only be checked by the mint that signed it. Cowrie's BLS12-381 notes can be verified by anyone, offline, with no extra proof, which is what lets a smart contract pay them out on its own.
An independent mint
Cowrie is a clean-room implementation of Cashu's federated mint. It speaks the Cashu API, ships its own browser and terminal wallets, and the same binary also runs standalone on Lightning for operators who don't want an on-chain vault.
Run it
Start the mint, open the playground, and make a guardian lie.
# start the 4-of-5 mint, this page and the playground cargo run -p cowrie-cashu-mintd --bin cowried -- --bind 127.0.0.1:3338 --data-dir ./cowrie-data # settle against the Move vault on a Sui localnet ./scripts/deploy-sui-localnet.sh # Rust and Move tests cargo test --workspace sui move test --path cashu/move/cowrie_cashu