• Derives the authority pool program address for a given program ID.

    Parameters

    • programId: PublicKey

      The public key of the program.

    Returns [PublicKey, number]

    A tuple containing the derived public key and a nonce.

    const [authorityAddress] = authorityPoolAddress(myProgramId);