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.
TransactionInstruction
The parameters required for creating the account.
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); Copy
const instruction = createAccountWithSeedInstruction({ solanaWallet: userWallet, seed: "unique-seed", holderAccountPK: derivedAccount, neonEvmProgram: neonProgram});transaction.add(instruction);
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.