pub fn build_initialize_ix(
authority: &Pubkey,
program_id: &Pubkey,
) -> InstructionExpand description
Build Initialize instruction.
Creates the exchange account (singleton).
Accounts: 0. authority (signer, mut) - Initial admin
- exchange (mut) - Exchange PDA
- system_program (readonly)