
Cashu NUTs (mirror)
An unofficial mirror of https://github.com/cashubtc/nuts. This key copied these documents, it did not write them. Each one names the file and the commit it was copied from and carries the sha256 of those bytes, so any copy can be checked against its source. The specifications are MIT.
- key
- npub169nculhev5m5h04rpzsjz4sf57phdhq4sfm604jhdq8e6hhatsuq0xuard
- publishing
- since 2023-01-27
31 specifications / page 1 of 2
NUT-00: Notation, Utilization, and Terminology
The notation, models and cryptography the rest of the specification is written in: blinding, signing, proofs, and how a token is serialised.
mandatory#cashu#ecash#nutNUT-30: Payment Method: Onchain
Minting and melting with onchain Bitcoin payments.
optional#cashu#ecash#nutNUT-29: Batched Minting
Minting several quotes in one atomic request.
optional#cashu#ecash#nutNUT-27: Nostr Mint Backup
How a wallet backs up its mint list to Nostr relays, encrypted under keys derived from its own seed phrase.
optionalcovers30078Application-specific data#cashu#ecash#nutNUT-26: Payment Request Bech32m Encoding
A bech32m encoding of payment requests, smaller than the CBOR form and friendlier to QR codes.
optional#cashu#ecash#nutNUT-25: BOLT12
Minting and melting with bolt12 Lightning offers.
optional#cashu#ecash#nutNUT-24: HTTP 402 Payment Required
How an HTTP server demands payment with a 402 response carrying a Cashu payment request.
optional#cashu#ecash#nutNUT-23: BOLT11
Minting and melting with bolt11 Lightning invoices, the method specifics on top of the shared mint and melt flows.
optional#cashu#ecash#nutNUT-22: Blind Authentication
Blind authentication tokens, which let a mint restrict access to registered users without learning which one is calling.
optional#cashu#ecash#nutNUT-21: Clear Authentication
How a mint restricts its endpoints to users holding a token from an OpenID Connect service it trusts.
optional#cashu#ecash#nutNUT-20: Signature on Mint Quote
Binding a mint quote to a public key, so only the holder of the matching secret key can redeem it.
optional#cashu#ecash#nutNUT-19: Cached Responses
Response caching on the critical endpoints, so a wallet can safely replay a request that a network error interrupted.
optional#cashu#ecash#nutNUT-18: Payment Requests
A request format carrying everything a sending wallet needs, so a transaction can be started by whoever is being paid.
optional#cashu#ecash#nutNUT-17: WebSockets
A JSON-RPC WebSocket protocol for subscribing to quote and proof state changes instead of polling for them.
optional#cashu#ecash#nutNUT-16: Animated QR codes
How to show a token too large for a static QR code as an animated one, using the UR protocol.
optional#cashu#ecash#nutNUT-15: Partial multi-path payments
Paying one Lightning invoice from several mints at once, all of them or none.
optional#cashu#ecash#nutNUT-14: Hashed Timelock Contracts (HTLCs)
Ecash locked to the hash of a preimage and a deadline, which makes atomic swaps between users possible.
optional#cashu#ecash#nutNUT-13: Deterministic Secrets
Secrets derived from a seed phrase, so a wallet can regenerate its ecash after losing the device that held it.
optional#cashu#ecash#nutNUT-12: Offline ecash signature validation
DLEQ proofs, which let anyone verify a mint's signature offline with nothing but its public keys.
optional#cashu#ecash#nutNUT-11: Pay to Public Key (P2PK)
Locking ecash to a public key, redeemable only against a Schnorr signature from the key that owns it.
optional#cashu#ecash#nut