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

    Parameters

    • project: PublicKey

      The project public key.

    • authority: PublicKey

      The authority public key.

    • delegate: PublicKey

      The delegate public 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 delegate authority account.

Generated using TypeDoc