
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-06: Mint information
The info endpoint, where a mint declares its name, its keys, its contacts, and which NUTs it supports.
mandatory#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-29: Batched Minting
Minting several quotes in one atomic request.
optional#cashu#ecash#nutNUT-05: Melting tokens
Melting: the two-step flow where a wallet asks the mint to pay a request and spends ecash to cover it.
mandatory#cashu#ecash#nutNUT-04: Mint tokens
Minting: the two-step flow where a wallet requests a quote, pays it, and then asks the mint to issue ecash.
mandatory#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-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-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-30: Payment Method: Onchain
Minting and melting with onchain Bitcoin payments.
optional#cashu#ecash#nutNUT-25: BOLT12
Minting and melting with bolt12 Lightning offers.
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-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-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-28: Pay to Blinded Key (P2BK)
Blinding the receiver's public key on each payment, so the mint cannot link several of them to the same person.
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-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#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-08: Lightning fee return
Blank outputs, which let a mint return the Lightning fees a wallet overpaid when melting.
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#nut