• Calculates the Program Derived Address (PDA) for a project account.

    Parameters

    • key: PublicKey

      The project key.

    • Optional programId: PublicKey

      The program ID for which the PDA is calculated. Default is the hive control program ID.

    Returns [PublicKey, number]

    The PDA for the project account.

Generated using TypeDoc