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
Currently when the seeds flag is enabled in the Anchor.toml features block, PDA seeds are derived and stored in the generated IDL to allow the Typescript program to auto-populate the different account public keys.
This would also be useful when there is an address constraint on an account so that the statically asserted public keys could also be auto-populated.
The text was updated successfully, but these errors were encountered:
callensm
changed the title
ts: assert address constants in the IDL similar to PDA derivation
lang/ts: assert address constants in the IDL similar to PDA derivation
Mar 24, 2022
Currently when the
seeds
flag is enabled in theAnchor.toml
features block, PDA seeds are derived and stored in the generated IDL to allow the Typescript program to auto-populate the different account public keys.This would also be useful when there is an
address
constraint on an account so that the statically asserted public keys could also be auto-populated.(from @thesoftwarejedi)
The text was updated successfully, but these errors were encountered: