• Generates an authenticated account address for a given Neon wallet, Neon EVM program, and SPL token.

    Parameters

    • neonWallet: string

      The Neon wallet address in hex format.

    • neonEvmProgram: PublicKey

      The public key of the Neon EVM program.

    • splToken: SPLToken

      The SPL token object containing the token address.

    Returns [PublicKey, number]

    A tuple containing the derived public key and a nonce.

    const [delegatePDA] = authAccountAddress(emulateSigner.address, neonEvmProgram, splToken);