anchor-client-gen
anchor-client-gen copied to clipboard
instructions with optional accounts
Add the ability to model instructions with accounts that are optional (Option<Account<'info, T>>), so we can specify them as null and the instruction method will fill in with the PROGRAM_ID address as Anchor expects for such optional accounts