Skip to content

Conversation

@thesimplekid
Copy link
Collaborator

Implements NUT-26 specification providing bech32m encoding (CREQ-B) as an alternative to the CBOR format (CREQ-A). The new encoding offers improved QR code compatibility and more efficient encoding.

  • Add complete NUT-26 encoding/decoding implementation with TLV structure
  • Update PaymentRequest::from_str to support both CREQ-A and CREQ-B formats
  • Add comprehensive test vectors and documentation
  • Add benchmark example for encoding performance comparison

Description


Notes to the reviewers


Suggested CHANGELOG Updates

CHANGED

ADDED

REMOVED

FIXED


Checklist

@github-actions
Copy link
Contributor

This PR is stale because it has been open for 60 days with no activity.

Implements NUT-26 specification providing bech32m encoding (CREQ-B) as an
alternative to the CBOR format (CREQ-A). The new encoding offers improved
QR code compatibility and more efficient encoding.

- Add complete NUT-26 encoding/decoding implementation with TLV structure
- Update PaymentRequest::from_str to support both CREQ-A and CREQ-B formats
- Add comprehensive test vectors and documentation
- Add benchmark example for encoding performance comparison
@thesimplekid thesimplekid marked this pull request as ready for review December 19, 2025 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant