• Derives a valid program address, that fall off the ed25519 curve, for a given Neon wallet (Ethereum-style address) and Neon EVM program.

    Parameters

    • etherKey: string

      The Ethereum-style wallet address in hex format.

    • neonEvmProgram: PublicKey

      The public key of the Neon EVM program.

    Returns [PublicKey, number]

    A tuple containing the derived public key and a nonce.

    const [walletPDA] = neonWalletProgramAddress(userEtherAddress, neonEvmProgram);