Skip to content

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

Merged
thesimplekid merged 17 commits intocashubtc:mainfrom
Egge21M:third-times-the-charm
Mar 9, 2026
Merged

Updated: NUT-29 Batch-Minting and Quote Checks#333
thesimplekid merged 17 commits intocashubtc:mainfrom
Egge21M:third-times-the-charm

Conversation

@Egge21M
Copy link
Contributor

@Egge21M Egge21M commented Jan 24, 2026

@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 Egge21M force-pushed the third-times-the-charm branch from 6b30387 to 9722c4e Compare February 16, 2026 13:52
Egge21M and others added 16 commits March 9, 2026 11:08
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 97d2cfe to 992360e Compare March 9, 2026 10:09
@thesimplekid thesimplekid changed the title Updated: NUT-XX Batch-Minting and Quote Checks Updated: NUT-29 Batch-Minting and Quote Checks Mar 9, 2026
@thesimplekid thesimplekid merged commit 4046be3 into cashubtc:main Mar 9, 2026
1 check passed
@github-project-automation github-project-automation bot moved this from Backlog to Done in nuts Mar 9, 2026
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: Done

Development

Successfully merging this pull request may close these issues.

6 participants