Live mainnet example.
This widget connects to Solana mainnet and can perform real swaps with real assets. Review the transaction details in your wallet before signing.
Public Swap Widget — use the host site's wallet
This demo treats Phantom as the wallet connection owned by the host
page. In a real application, replace provider with the
provider/adapter your existing wallet UI already controls.
Host wallet: disconnected