Creates an instruction to initialize a holder account using a seeded address.
This function generates a TransactionInstruction that initializes a new holder account by encoding the seed into the transaction data.
TransactionInstruction
The parameters required to create the holder account.
A Solana TransactionInstruction for creating the holder account.
const instruction = createHolderAccountInstruction({ solanaWallet: userWallet, seed: "unique-seed", holderAccountPK: derivedAccount, neonEvmProgram: neonProgram});transaction.add(instruction); Copy
const instruction = createHolderAccountInstruction({ solanaWallet: userWallet, seed: "unique-seed", holderAccountPK: derivedAccount, neonEvmProgram: neonProgram});transaction.add(instruction);
Creates an instruction to initialize a holder account using a seeded address.
This function generates a
TransactionInstruction
that initializes a new holder account by encoding the seed into the transaction data.