pub fn mint<'a>(
    program_id: &Pubkey,
    accounts: &'a [AccountInfo<'a>],
    args: MintArgs
) -> ProgramResult
Expand description

Mints tokens from a mint account.

This instruction will also initialized the associated token account if it does not exist – in this case the token_owner will be required. When minting *NonFungible assets, the authority must be the update authority; in all other cases, it must be the mint authority from the mint account.