You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't get the Typescript swap example provided to work on devnet nor mainnet.
As given, using a devnet account with 1 SOL airdropped into it, I get the following error, presumably because the example pool has some token in it that my randomly generated account doesn't have.
Alternatively, trying on mainnet using the pool "3msVd34R5KxonDzyNSV5nT19UtUeJ2RF1NaQhvVPNLxL" I get various errors related to opening the AssociatedTokenAccounts. I tried manually opening the Wrapped SOL & USDC accounts but I still get an error related to the NATIVE_TOKEN pre-swap instruction. Removing the pre-swap instruction doesn't work either.
The text was updated successfully, but these errors were encountered:
I can't get the Typescript swap example provided to work on
devnet
normainnet
.As given, using a devnet account with 1 SOL airdropped into it, I get the following error, presumably because the example pool has some token in it that my randomly generated account doesn't have.
Alternatively, trying on mainnet using the pool
"3msVd34R5KxonDzyNSV5nT19UtUeJ2RF1NaQhvVPNLxL"
I get various errors related to opening the AssociatedTokenAccounts. I tried manually opening the Wrapped SOL & USDC accounts but I still get an error related to the NATIVE_TOKEN pre-swap instruction. Removing the pre-swap instruction doesn't work either.The text was updated successfully, but these errors were encountered: