Function express_relay::sdk::test_helpers::create_initialize_express_relay_ix
source · pub fn create_initialize_express_relay_ix(
payer: Pubkey,
admin: Pubkey,
relayer_signer: Pubkey,
fee_receiver_relayer: Pubkey,
) -> Instruction
Expand description
Helper method to create an instruction to initialize the express relay program Should be able to sign transactions with the secret keys of the provided payer and relayer_signer The fee split is set to 100% for the router, since fee payments to relayer are not important for the integrating program’s tests Instead it is more important for the integrating program to ensure their router account has enough rent to avoid InsufficientRent error