Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
2
votes
How likely is it that no bump will be found when searching for a PDA given some seeds and pr...
Elliot provides a great mathematical answer but I'm not sure it answers the implicit question about how likely you are to run into issues.
I'm assuming you're asking this question as you're going to b …
4
votes
How can a PDA act as the fee payer?
It is not possible as far as I am aware to have a PDA account pay the transaction fee.
Can you create a program that refunds the fee in the same transaction but still ask the user to sign (example)? …
0
votes
Unauthorized signer on CPI transfer call
It looks like you might be modifying the ‘To’ account but haven’t set it to be writable (mut).
3
votes
Accepted
Can anyone create an account at a specific PDA address?
Leaving info here for anyone else that might be wondering about this topic.
tldr: it would be quite hard to create an account in the space of another program's PDA space without using that program to do … However, a PDA address won't have a private key; it is bumped off the curve so the only option is to use invoke_signed. …