Skip to content

Bind subscriptions to signed payer source#578

Open
brendanjryan wants to merge 1 commit into
wevm:mainfrom
brendanjryan:brendanjryan/subscription-signed-source-lookup
Open

Bind subscriptions to signed payer source#578
brendanjryan wants to merge 1 commit into
wevm:mainfrom
brendanjryan:brendanjryan/subscription-signed-source-lookup

Conversation

@brendanjryan

Copy link
Copy Markdown
Collaborator

Summary

  • Added credential-required Tempo subscription reuse that verifies the recovered payer against stored subscription state
  • Added signed-source subscription lookup support so lookup keys can be derived after credential verification
  • Updated the subscription example to remove user-controlled identity headers

Motivation

Subscription reuse should be able to follow the same trust model as sessions: request metadata can route a challenge, but reusable paid state should be resolved from verified payer identity when configured.

Key design considerations

  • requireCredential disables no-credential reuse and forces a signed proof for active subscription access
  • Source-derived lookup keeps the first challenge unbound, then resolves the subscription key after keyAuthorization verification
  • Access keys can be recovered by public access-key address so automatic activation can settle source-derived subscriptions

@brendanjryan brendanjryan marked this pull request as ready for review June 23, 2026 23:02
@pkg-pr-new

pkg-pr-new Bot commented Jun 23, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/mppx@578

commit: a879b25

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