Timeline for findProgramAddress() is not returning the original address created even though I'm using the same seeds
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 17, 2022 at 20:46 | history | edited | Jorge Martinez | CC BY-SA 4.0 |
added 11 characters in body
|
Jul 16, 2022 at 20:48 | history | edited | Jorge Martinez | CC BY-SA 4.0 |
added 75 characters in body
|
Jul 16, 2022 at 18:36 | history | edited | Jorge Martinez | CC BY-SA 4.0 |
added 11 characters in body
|
Jul 16, 2022 at 18:32 | comment | added | Qpqpqpqp | Thanks, I see the difference. Sorry I didn't make this clear, I'm aware that findProgramAddress() gives me the bump, but I just wanted to show that I can't find the bump of the address I made with createWithSeed() because findProgramAddress() gives a different address. How would I allocate space, rent exempt, and store data on an address returned by findProgramAddress()? SystemProgram.createAccountWithSeed() requires that the address of the new pda passed in must be made with PublicKey.createWithSeed(). | |
Jul 16, 2022 at 18:19 | history | answered | Jorge Martinez | CC BY-SA 4.0 |