Skip to main content

create_mint

Function create_mint 

Source
pub fn create_mint(
    payer: &Pubkey,
    mint_id: [u8; 32],
    noise: [u8; 4],
    mint: Pubkey,
    name: &[u8],
    symbol: &[u8],
    uri: &[u8],
    decimals: u8,
    max_supply: u64,
) -> Result<Instruction, ProgramError>
Expand description

Create an instruction to create a new SPL token mint with metadata