Skip to content

Updated: NUT-XX Batch-Minting and Quote Checks#333

Open
Egge21M wants to merge 17 commits intocashubtc:mainfrom
Egge21M:third-times-the-charm
Open

Updated: NUT-XX Batch-Minting and Quote Checks#333
Egge21M wants to merge 17 commits intocashubtc:mainfrom
Egge21M:third-times-the-charm

Conversation

@Egge21M
Copy link
Contributor

@Egge21M Egge21M commented Jan 24, 2026

This PR supersedes #323

@github-project-automation github-project-automation bot moved this to Backlog in nuts Jan 24, 2026
@callebtc callebtc mentioned this pull request Jan 25, 2026
@Egge21M Egge21M force-pushed the third-times-the-charm branch from 156e8fc to dac0ca5 Compare January 26, 2026 16:54
@thesimplekid thesimplekid added the new nut A new protocol NUT label Jan 26, 2026
@a1denvalu3
Copy link
Contributor

cashubtc/nutshell#878

@Egge21M
Copy link
Contributor Author

Egge21M commented Jan 27, 2026

cashubtc/cashu-ts#478

Copy link
Contributor

@callebtc callebtc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Egge21M and others added 15 commits February 16, 2026 14:52
This commit introduces a new specification, NUT-XX, for batched mint
operations. It allows wallets to mint multiple proofs in a single
transaction, improving efficiency.
- specify all quotes must share same payment method and currency
- expand nut-20 signature section with detailed structure and validation
- clarify signature array format and per-quote mapping
- add signature message construction specification
- document atomicity requirement for signature validation failures
- add comprehensive mint responsibilities section
- update dependencies to include nut-20
- add validation requirements for empty arrays and duplicate quotes
- clarify batch quote status response format per payment method
- change batch mint endpoint path to include /batch suffix
- add comprehensive request validation section
- add error codes table and structured error response format
- restructure nut-20 signature support section for clarity
- add atomic processing requirement to mint responsibilities
- add implementation notes for batch size limits and bolt12 support
- add note on spending conditions compatibility
- expand error handling documentation with examples
Co-authored-by: tsk <tsk@thesimplekid.com>
Co-authored-by: lollerfirst <43107113+lollerfirst@users.noreply.github.com>
- wallet SHOULD verify paid quotes, not must
- remove redundant requirements and unnecessary statements
- deduplicate request validation and mint responsibilities
- remove http status from error codes
@Egge21M Egge21M force-pushed the third-times-the-charm branch from 6b30387 to 9722c4e Compare February 16, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new nut A new protocol NUT

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

5 participants