Skip to content

feat: add MPP protocol primitives#22

Draft
darioAnongba wants to merge 2 commits intomainfrom
feat/mpp-proto-primitives
Draft

feat: add MPP protocol primitives#22
darioAnongba wants to merge 2 commits intomainfrom
feat/mpp-proto-primitives

Conversation

@darioAnongba
Copy link
Copy Markdown
Collaborator

Summary

  • add MPP protocol primitives to l402-proto
  • parse WWW-Authenticate: Payment ... challenges and decode Lightning charge requests
  • add Authorization: Payment ... credential construction/parsing and Payment-Receipt parsing
  • align the MPP design doc with issue feat: MPP (Machine Payments Protocol) support #20

Why

Issue #20 needs MPP compatibility, but the safe first slice is the wire-format layer before touching l402-core request execution.

Testing

  • cargo fmt --all
  • cargo test -p l402-proto
  • cargo clippy -p l402-proto --all-targets -- -D warnings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant