Add Solana session intent specification#200
Closed
alexanderattar wants to merge 2 commits intotempoxyz:mainfrom
Closed
Add Solana session intent specification#200alexanderattar wants to merge 2 commits intotempoxyz:mainfrom
alexanderattar wants to merge 2 commits intotempoxyz:mainfrom
Conversation
…n SDK surface (open/update/topup/close, canonical voucher JSON, verifier hooks) while preserving stricter security language around replay protection, atomic state updates, and Ed25519 onchain verification.
lgalabru
reviewed
Mar 22, 2026
| | | | | ||
| | (11) 200 OK + Receipt | | | ||
| |<-------------------------- | | | ||
| ~~~ |
Contributor
There was a problem hiding this comment.
Hmm, that's confusing.
Mind if we close this PR and move the convo to #201? I see a lot of misconception in this PR, coming straight from some early session experimentations we've made in @solana/mpp.
Author
There was a problem hiding this comment.
Sure I'm happy to converge on #201, but can you be a little more specific about what is confusing? I'd love to help contribute!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds the Solana session method specification for MPP, enabling
streaming micropayments on Solana via unidirectional payment channels
with Ed25519-signed vouchers.
What this defines
Relationship to existing specs
method="solana"shared with the charge spec (Solana charge intent specification #188)intent="session"following the pattern established by Tempo and Lightning sessionsImplementation
Reference implementation in progress at
https://github.com/alexanderattar/mpp-sdk (fork of solana-foundation/mpp-sdk).
Context
I reviewed PR #188 (Solana charge) with feedback on push-mode tx binding,
blockhash expiry, and Token-2022 handling. This session spec builds on
that charge spec and is designed to be complementary.
Happy to iterate on the spec based on feedback.