Timeline for How to withdraw SOL from a PDA
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 1, 2022 at 10:23 | comment | added | Ademola | Check out the link. I think it has your answer | |
Aug 1, 2022 at 10:21 | comment | added | Solomon | public key + b"VAULT" | |
Aug 1, 2022 at 10:20 | comment | added | Ademola | Here's a link to a similar issue. You don't need signer seeds when the account is owned by your program and not the system program. solana.stackexchange.com/questions/293/… | |
Aug 1, 2022 at 7:09 | comment | added | Solomon | Could you please explain a way to make a transaction then, I found this article: solanacookbook.com/references/… "The fundamental rule is that your program can transfer lamports from any account owned by your program to any account at all." Also, there is invoke_signed() function, but I am not sure how to pass seeds there as a signature, if anyone could help with that would be awesome! | |
Jul 29, 2022 at 22:55 | comment | added | trent.sol | this only works if the PDA is owned by the system program, which does not appear to be OP's case | |
S Jul 29, 2022 at 16:56 | review | First answers | |||
Jul 31, 2022 at 6:27 | |||||
S Jul 29, 2022 at 16:56 | history | answered | Dodecahedr0x | CC BY-SA 4.0 |