solana_system_program::system_instruction

Function initialize_nonce_account

Source
pub fn initialize_nonce_account(
    account: &mut BorrowedAccount<'_>,
    nonce_authority: &Pubkey,
    rent: &Rent,
    invoke_context: &InvokeContext<'_>,
) -> Result<(), InstructionError>