I've been trying for a week to pass a sell order to the Star Atlas marketplace using their Factory package, and it won't seem to work using the snippet provided by the API
const orderTx = await gmClientService.getInitializeOrderTransaction( connection, orderCreator, itemMint, quoteMint, quantity, price, programId, orderSide,);const secKey = new Uint8Array(MyWalletService.wallet.secretKey)const wallet = Keypair.fromSecretKey(secKey)//console.log(MyWalletService.wallet)// console.log(JSON.stringify(orderTx.transaction))const transactionId = await sendAndConfirmTransaction( connection, orderTx.transaction, [wallet]);
(Everything is properly initialized beforehand)
That throws "Error: Signature verification failed.Missing signature for public key [6QmYchjMwWVffGVt5UoApLYVin3Pto9W1KKm9K2Krfkm
]."That PubKey isn't something I provided and will change when I re-run my script, has anyone some advice on how I can fix this ?
Thanks