feat: preferred mints #380

Closed
d4rp4t wants to merge 3 commits from feat/preferred-mints into main
d4rp4t commented 2026-05-26 16:46:54 +00:00 (Migrated from github.com)

Add ms (mint strict) field to NUT-18 Payment Requests

Adds a new optional ms boolean field to the Payment Request that controls whether the mint list m is treated as a strict requirement or a suggestion for the payer.

When ms is absent or true (default), the recipient MUST reject payments from mints not in the list. When ms is false, the mint list serves only as a hint to the payer.

This allows receivers to either enforce specific mints or merely express a preference while still accepting payments from any mint.

Implementations

Add ms (mint strict) field to NUT-18 Payment Requests Adds a new optional ms boolean field to the Payment Request that controls whether the mint list m is treated as a strict requirement or a suggestion for the payer. When ms is absent or true (default), the recipient MUST reject payments from mints not in the list. When ms is false, the mint list serves only as a hint to the payer. This allows receivers to either enforce specific mints or merely express a preference while still accepting payments from any mint. Implementations - [x] cashu-ts: https://github.com/cashubtc/cashu-ts/pull/683 - [x] cdk: https://github.com/cashubtc/cdk/pull/2007 - [x] dotnut: https://github.com/Kukks/DotNut/pull/37
robwoodgate commented 2026-05-27 15:45:03 +00:00 (Migrated from github.com)

I have cherry-picked the commits from this PR into https://github.com/cashubtc/nuts/pull/381, which also adds an "extra fee" field for non preferred mint payments.

I have cherry-picked the commits from this PR into https://github.com/cashubtc/nuts/pull/381, which also adds an "extra fee" field for non preferred mint payments.
d4rp4t commented 2026-05-28 08:29:10 +00:00 (Migrated from github.com)

replaced by #381

replaced by #381

Pull request closed

Sign in to join this conversation.
No description provided.