Guide · Tokens

How to swap SPL tokens on Solana

Written by XAUConnect Labs · Reviewed against live product behavior · Updated August 2026

SPL tokens are Solana’s analog to ERC-20s: mints with decimals, supplies, and optional freeze or mint authorities. You swap them in a single signature with a simulation preview. There is no allowance ritual. The failure mode is the mint address — Solana’s culture of rapid launches makes ticker search a trap.

XAUConnect uses Jupiter to route across Raydium, Orca, and other venues. This is the SPL-specific swap guide.

Mint address is the token

Paste the mint from Solscan or the project’s primary announcement. Confirm freeze authority and mint authority. A mint that can freeze your account is a custody risk even if the chart is up. A mint that can print is a dilution risk. Token-2022 extensions (transfer fees, confidential transfers) can break naive routers. If simulation fails on a Token-2022 mint, the token may not be safely tradable through the current route set — do not “fix” that with huge slippage.

SOL pays, even when neither side is SOL

An SPL→SPL swap (say a memecoin to USDC) still needs SOL for the base fee and optional priority fee. Keep a SOL buffer. Associated token accounts may be created during the swap; that costs a little extra SOL rent.

Simulation, priority, land

Read the balance diff. Set priority fee during congestion. If it does not land, re-quote. Signing the same blockhash until it expires is how people get duplicate fills they did not want.

Honeypots still exist without ERC-20 approve

Buy-only taxes, paused markets, and LP pulls are independent of EVM allowances. Confirm someone else has sold recently. Size as speculative. XAUConnect does not audit mints.

Creating SPL vs swapping SPL

The in-app Launchpad deploys EVM ERC-20s. To generate an SPL token, use Solana token tooling, revoke freeze/mint if you promised a fair launch, seed a pool, then traders paste the mint into this swap flow.

Rent, ATAs, and why the fee is not “zero”

First time you receive a new mint, Solana may create an associated token account. That rent is extra SOL, not Jupiter taking a cut. If simulation shows a larger SOL debit than you expected, that is often ATA rent plus priority fee — read the diff. If it shows a third mint you did not request, reject. Token-2022 transfer fees can also debit extra; if the mint uses them, the “simple swap” is not simple. Prefer mints with revoked freeze and mint for anything you plan to hold overnight.

Freeze after you bought is the nightmare

If freeze authority remains, the issuer can brick your token account. Check Solscan before size. XAUConnect simulation will not warn you about a freeze that happens tomorrow. Revoked freeze plus a pool you can sell into is the boring SPL you actually want to hold.

Legal

Risk disclosure

XAUConnect is a non-custodial swap aggregator. Digital assets are volatile and may lose value rapidly. Content on this page is educational and not investment advice. Verify every contract address on the official block explorer before approving a transaction.

Frequently asked questions

Are all Solana tokens SPL?

Classic SPL and Token-2022 are the families you will meet. Both use mint addresses. Extensions differ. Verify on Solscan.

Can I swap SPL tokens to ERC-20s in one click?

That is a cross-chain bridge plus destination swap, not an SPL swap. Use cross-chain mode and a 0x destination.

Why did simulation fail?

Insufficient SOL, frozen token account, unsupported Token-2022 extension, or a pool too thin for your size. Change one variable at a time.

Do I need Phantom?

No. Any Solana wallet XAUConnect connects to will work. Phantom is common, not required.

Live execution

Trade on XAUConnect

Open the swap page to compare live routes, set slippage, and sign from your own wallet — fully non-custodial.

Continue exploring

Related markets, guides & networks

Curated next steps based on this topic — deepen your research before you trade.

Build programmatically

Swap via API for bots and AI agents — quotes, builds, and cross-chain routes.

Developer quickstart