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 coder/serialization interface should be pluggable so that one can simply create and generate an anchor client for non anchor programs--given an IDL for the non anchor program. The spl token program would be a great first test.
The text was updated successfully, but these errors were encountered:
I wonder how will one go about specifying optional accounts in the IDL.
In SPL program, we have seen cases where the program performs different logic based on the number of accounts client pass into. Checking the IDL definition (here), it seems like all accounts are assumed to be required?
The coder/serialization interface should be pluggable so that one can simply create and generate an anchor client for non anchor programs--given an IDL for the non anchor program. The spl token program would be a great first test.
The text was updated successfully, but these errors were encountered: