• Creates an instruction to generate an account using a seed.

    This function constructs a Solana TransactionInstruction for creating an account derived from a seed. The account is initialized with 128KB of allocated space.

    Parameters

    Returns TransactionInstruction

    A Solana TransactionInstruction for creating the account with a seed.

    const instruction = createAccountWithSeedInstruction({
    solanaWallet: userWallet,
    seed: "unique-seed",
    holderAccountPK: derivedAccount,
    neonEvmProgram: neonProgram
    });
    transaction.add(instruction);