Skip to main content
13 events
when toggle format what by license comment
May 11 at 18:04 answer added Roy Lei timeline score: -1
Jan 25 at 1:49 vote accept MONO
Jan 24 at 5:28 answer added MONO timeline score: 2
Jan 24 at 5:23 comment added MONO Oh I Resolved. I put the same token.TOKEN_PROGRAM_ID in mintA and mintB above and it works fine.
Jan 24 at 5:11 comment added MONO Oh thank you!!!!, The above error was resolved by changing the TOKEN_SWAP_PROGRAM_ID to OLD_TOKEN_SWAP_PROGRAM_ID, but another error occurred. Error: The provided token program does not match the token program expected by the swap custom program error: 0x18 help me plz :'(
Jan 22 at 22:54 comment added wei1769 I think your swap program id is incorrect
Jan 22 at 14:26 history edited MONO CC BY-SA 4.0
added 7 characters in body
Jan 22 at 14:26 history edited MONO CC BY-SA 4.0
imporved formatting and added more detail
Jan 22 at 14:07 history edited MONO CC BY-SA 4.0
added 6 characters in body
Jan 22 at 13:59 comment added MONO This is error in console, Uncaught (in promise) WalletSendTransactionError: failed to send transaction: Transaction simulation failed: Error processing Instruction 1: incorrect program id for instruction And I modified my code like this, let txid = await sendTransaction(tx, connection, {skipPreflight = true}); but I couldn't see it on-chain.
Jan 22 at 13:30 comment converted from answer Orion Could you provide more details about the error you’re getting? If it fails at simulation, pass {skipPreflight = true} when sending your tx to be able to view the failed transaction on-chain.
S Jan 22 at 11:52 review First questions
Jan 22 at 16:01
S Jan 22 at 11:52 history asked MONO CC BY-SA 4.0