Using the AppChat

Soroswap

Swap tokens and manage liquidity pools on Soroswap DEX

TL;DR

The Soroswap agent handles token swaps and liquidity pool operations on Soroswap AMM. Swap any supported pair, add liquidity to earn trading fees, or remove your LP position — all via chat.

Supported Operations

OperationWhat it doesExample prompt
SwapExchange one token for another"Swap 50 USDC to XLM on Soroswap"
Add LiquidityProvide both tokens to a pool"Add 100 USDC and equivalent XLM to Soroswap LP"
Remove LiquidityWithdraw your LP position"Remove my USDC/XLM LP from Soroswap"
Check PositionView your LP shares and value"What's my Soroswap LP position worth?"

Swap Tokens

Type your swap request. Example: "Swap 50 USDC to XLM on Soroswap"

Review the quote. The agent shows: expected output, price impact, minimum received (with 3% slippage tolerance).

Approve the transaction. Check the approval card and sign in your wallet.

Swap confirmed. The agent shows the final amounts received.

Soroswap uses a default 3% slippage tolerance (97% minimum output). If price impact exceeds 1.5%, the agent warns you before proceeding.


Add Liquidity

Provide both tokens to a Soroswap pool to earn trading fees.

Type your LP request. Example: "Add 100 USDC and equivalent XLM to the USDC/XLM pool on Soroswap"

Review the pool details. The agent shows: pool ratio, your share percentage, estimated APY from fees.

Approve the transaction. The agent may build a swap-half + add-liquidity combo if you only hold one token.

LP position confirmed. You now hold LP tokens representing your pool share.

Providing liquidity carries impermanent loss risk. If the price ratio between the two tokens changes significantly, you may receive less value when withdrawing than if you had held the tokens separately.


Remove Liquidity

Withdraw your LP position back to individual tokens.

Type your remove request. Example: "Remove my USDC/XLM LP from Soroswap" or "Remove 50% of my Soroswap LP"

Review what you'll receive. The agent shows the token amounts you'll get back based on current pool ratio.

Approve and receive tokens. Both tokens return to your wallet.


Check LP Position

Ask about your current Soroswap positions — no transaction required.

Example prompts:

  • "What's my Soroswap LP position worth?"
  • "How much am I earning in Soroswap fees?"
  • "Show my Soroswap pools"

On this page