Function mintTokens

  • Mints tokens to associated token account

    Parameters

    • provider: AnchorProvider
    • mint: PublicKey

      Asset mint

    • destinationTokenAccount: PublicKey

      Account for minted tokens to be deposited into

    • amount: number

      Desired number of tokens to be minted

    • Optional mintAuthority: PublicKey

      Publickey of mint authority

    Returns Promise<web3.TransactionSignature>