create_register_forester_instruction

Function create_register_forester_instruction 

Source
pub fn create_register_forester_instruction(
    fee_payer: &Pubkey,
    governance_authority: &Pubkey,
    forester_authority: &Pubkey,
    config: ForesterConfig,
) -> Instruction
Expand description

Builds the RegisterForester instruction.

ยงAccounts (in order):

  1. fee_payer (signer, writable)
  2. authority (signer)
  3. protocol_config_pda (read-only)
  4. forester_pda (writable, init)
  5. system_program (read-only)