Quantcast
Channel: Recent Questions - Solana Stack Exchange
Viewing all articles
Browse latest Browse all 7881

Trying to send a Transaction to the Star Atlas marketplace using gmClientService which adds a PubKey and won't let me sign

$
0
0

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


Viewing all articles
Browse latest Browse all 7881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>