Creates an instruction to initialize an order account which can be passed into an initialize order instruction.
Must add to an existing web3.Transaction. Transaction recentBlockhash and feePayer must be defined.
Must call '.partialsign(orderAccount)' before sending transaction containing this instruction or you will receive signature verification errors.
Parameters
connection: Connection
payer: PublicKey
PublicKey of order initializer
orderAccount: Keypair
Keypair for order account, can be obtained with 'anchor.web3.Keypair.generate()'
Creates an instruction to initialize an order account which can be passed into an initialize order instruction.
Must add to an existing web3.Transaction. Transaction recentBlockhash and feePayer must be defined. Must call '.partialsign(orderAccount)' before sending transaction containing this instruction or you will receive signature verification errors.