PollarPollarDemo

Products

WalletTransactionsSessionsDistribution

Integrations

KYCSoonRampNewSwapNew

Wallet Adapters

Stellar Wallets KitPrivyNewAcceslySoon

Built with Pollar

Trustless WorkNiriumNewLumenWipeNew
WalletTransactionsSessionsDistributionKYCSoonRampNewSwapNewStellar Wallets KitPrivyNewAcceslySoonTrustless WorkNiriumNewLumenWipeNew
OverviewImplementation
Integration

Swap across on-chain venues

One modal, best price across every venue you enable.

Swap lets your users exchange one asset for another on-chain. Pollar quotes every enabled venue, ranks the routes best-first and renders the whole quote → swap flow — trustline included — inside a single modal.

The venues on offer are decided in your dashboard (Treasury → Swap). The SDK reads that selection at runtime via getSwapConfig() (the SDK_SWAP_CONFIG response), so turning a venue on or off is a dashboard toggle. An empty list hides the swap UI entirely.

Under the hood the flow is getSwapQuote → swap, all through @pollar/core. See the Implementation tab for the live demo and the exact calls.

Venues & status

Aquarius — live

Soroban AMM (liquidity pools). Works for classic and smart wallets.

Stellar DEX — live

Stellar's native order book via path payments. Classic wallets only.

Soroswap — in progress

DEX aggregator across Soroban protocols. Needs a platform Soroswap API key; skipped until it's set.

Configured in your dashboard

Enable venues under Treasury → Swap; the SDK reads getSwapConfig() at runtime, with no code change.

Resources

AquariusSoroswap

Venue availability depends on your dashboard configuration and platform capability. Aquarius and Soroswap are third parties — all credit to their teams.