solana_sdk::loader_v4

Function create_buffer

Source
pub fn create_buffer(
    payer_address: &Pubkey,
    buffer_address: &Pubkey,
    lamports: u64,
    authority: &Pubkey,
    new_size: u32,
    recipient_address: &Pubkey,
) -> Vec<Instruction>
Expand description

Returns the instructions required to initialize a program/buffer account.