Timeline for Associated Token Account for seed account?
Current License: CC BY-SA 4.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 11 at 8:59 | comment | added | McBain |
yes, they mean a PDA. And no, PDAs can only be controlled by the program itself. You'll need to add an instruction inside your program that calls invoke_signed (or an abstraction like close_account in anchor) and then call that instruction from web3.js. Jimii's answer below has an example of this.
|
|
Jul 11 at 0:17 | comment | added | CryptoCurious |
When I said seed accounts I was referring to this function from the cookbook. I'm not sure if it's the same as or different from PDAs. Also, is there an invoke_signed function in the JavaScript web3.js (or related) libraries?
|
|
Jul 9 at 14:34 | history | answered | McBain | CC BY-SA 4.0 |