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>