We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d8f438 commit 1f83626Copy full SHA for 1f83626
src/swapConfig.ts
@@ -3,7 +3,7 @@ export const swapConfig = {
3
useVersionedTransaction: true,
4
tokenAAmount: 0.01, // Swap 0.01 SOL for USDT in this example
5
tokenAAddress: "So11111111111111111111111111111111111111112", // Token to swap for the other, SOL in this case
6
- tokenBAddress: "FN2dH9S96vtqTBSHa5snvcRG3BbWjwQC8P1XcgZNtWfQ", // USDC address
+ tokenBAddress: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", // USDC address
7
maxLamports: 1000000, // Max lamports allowed for fees
8
direction: "in" as "in" | "out", // Swap direction: 'in' or 'out'
9
liquidityFile: "https://api.raydium.io/v2/sdk/liquidity/mainnet.json",
0 commit comments