You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latter worked as intended while the former did not. Examining getProgramDerivedAddress() from 'packages/addresses/src/program-derived-address.ts' seems to confirm the function returns an array. If this is the case, documentation should be updated to reflect that. I initially thought there was an issue with how my seeds were encoded, especially since I’m not using TypeScript. If the current documentation is correct and I’m missing something, feel free to disregard!
The text was updated successfully, but these errors were encountered:
packages/addresses/README.md
has the following example:
Following a tutorial from QuickNode https://www.quicknode.com/guides/solana-development/tooling/web3-2/account-deserialization they provided this example:
The latter worked as intended while the former did not. Examining getProgramDerivedAddress() from 'packages/addresses/src/program-derived-address.ts' seems to confirm the function returns an array. If this is the case, documentation should be updated to reflect that. I initially thought there was an issue with how my seeds were encoded, especially since I’m not using TypeScript. If the current documentation is correct and I’m missing something, feel free to disregard!
The text was updated successfully, but these errors were encountered: