File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11export const swapConfig = {
2- executeSwap : true , // Send tx when true, simulate tx when false
2+ executeSwap : false , // Send tx when true, simulate tx when false
33 useVersionedTransaction : true ,
44 tokenAAmount : 0.01 , // Swap 0.01 SOL for USDT in this example
55 tokenAAddress : "So11111111111111111111111111111111111111112" , // Token to swap for the other, SOL in this case
66 tokenBAddress : "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v" , // USDC address
7- maxLamports : 1000000 , // Max lamports allowed for fees
7+ maxLamports : 1500000 , // Micro lamports for priority fee
88 direction : "in" as "in" | "out" , // Swap direction: 'in' or 'out'
99 liquidityFile : "https://api.raydium.io/v2/sdk/liquidity/mainnet.json" ,
1010 maxRetries : 20 ,
You can’t perform that action at this time.
0 commit comments