Skip to content
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

Adding IsWallet rule #146

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Adding IsWallet rule #146

wants to merge 1 commit into from

Conversation

blockiosaurus
Copy link
Collaborator

This PR adds the isWallet rule, using the same check method of TM, to v1 and v2 of Auth rules. Note that in order to properly verify that a CPI is occurred a new payload with the key "caller" now needs to be passed from program to Auth Rules. This is then checked against the top level signer.

@blockiosaurus blockiosaurus requested a review from danenbm January 25, 2024 22:22
@blockiosaurus blockiosaurus marked this pull request as draft January 31, 2024 18:40
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