-
Notifications
You must be signed in to change notification settings - Fork 10
✨ Session keys #126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Session keys #126
Conversation
f3c469c
to
2c71613
Compare
54b1f7d
to
8ad8603
Compare
8ad8603
to
d9ca41a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
38 file(s) reviewed, 60 comment(s)
Edit PR Review Bot Settings | Greptile
"name": "valid_until", | ||
"type": { | ||
"option": "i64" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logic: valid_until is optional but no default expiration is enforced. This could lead to indefinite sessions if not properly handled in the implementation.
a5d5a40
to
3928e4b
Compare
3928e4b
to
b465118
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few questions in the review, but LGTM in general. Thanks @notdanilo
Problem
Add build-in support for session keys, so that systems execution can be delegated.
Solution
A built-in feature in Bolt, so that all systems can be delegated
Greptile Summary
This PR adds built-in session key support to the Bolt framework, enabling delegated execution of systems through a new GPL Session protocol integration.
session-keys
dependency and GPL Session protocol implementation incrates/bolt-lang/Cargo.toml
andclients/bolt-sdk/src/generated/idl/gpl_session.json
sessionToken
field in Apply structFindSessionTokenPda
andCreateSession
inclients/bolt-sdk/src/index.ts
@coral-xyz/anchor
0.30.1 and@project-serum/anchor
0.26.0) could cause conflicts💡 (4/5) You can add custom instructions or style guidelines for the bot here!