• Generates a unique holder account address using a seeded derivation method.

    Parameters

    • neonEvmProgram: PublicKey

      The public key of the Neon EVM program.

    • solanaWallet: PublicKey

      The public key of the Solana wallet.

    Returns Promise<[PublicKey, string]>

    A promise that resolves to a tuple containing:

    • The derived public key of the holder account.
    • The seed used for derivation.
    const [holderAddress, seed] = await holderAccountData(neonEvmProgram, solanaWallet);
    console.log(`Holder Address: ${holderAddress.toBase58()}, Seed: ${seed}`);