Skip to content

Commit 1f83626

Browse files
committed
Fix wrong address in swap config
1 parent 0d8f438 commit 1f83626

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/swapConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export const swapConfig = {
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
6-
tokenBAddress: "FN2dH9S96vtqTBSHa5snvcRG3BbWjwQC8P1XcgZNtWfQ", // USDC address
6+
tokenBAddress: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", // USDC address
77
maxLamports: 1000000, // Max lamports allowed for fees
88
direction: "in" as "in" | "out", // Swap direction: 'in' or 'out'
99
liquidityFile: "https://api.raydium.io/v2/sdk/liquidity/mainnet.json",

0 commit comments

Comments
 (0)