• Generates a PDA for the currency program based on the given mint.

    Parameters

    • mint: PublicKey

      The mint public key.

    • Optional programId: PublicKey

      The program ID of the currency program (optional, default is PROGRAM_ID).

    Returns [PublicKey, number]

    The generated PDA address for the currency program.

Generated using TypeDoc