soroswap-sdk

Build Soroswap DEX token swaps and liquidity transactions on Stellar.

3|1|Updated May 12, 2026
One-click install
npx skills add https://github.com/LumenWipe/lumenwipe --skill soroswap-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: soroswap-sdk
Source: https://github.com/LumenWipe/lumenwipe/tree/main/.agents/skills/soroswap-sdk
Command: npx skills add https://github.com/LumenWipe/lumenwipe --skill soroswap-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill simplifies integrating Soroswap DEX functionality on Stellar, replacing complex transaction construction, price querying, liquidity management, and submission workflows with guided SDK patterns.

Core Features & Use Cases

  • Token Swaps: Retrieve quotes, build unsigned XDR transactions, sign them with a wallet or keypair, and submit completed swaps.
  • Liquidity & Market Data: Add or remove liquidity, inspect user positions, query pools, prices, balances, asset lists, and contract addresses.
  • Production Integration: Keep API keys server-side through backend proxies while supporting client-side wallet signing, network selection, BigInt amounts, slippage controls, referral fees, and typed transaction results.
  • Use Case: Build a Stellar trading interface that quotes a USDC-to-XLM swap, lets the user review and sign the generated transaction, and submits it through a secure backend.

Quick Start

Use the soroswap-sdk skill to implement a secure Stellar swap flow with a backend API proxy, wallet signing, slippage protection, and typed error handling.

Frequently Asked Questions about soroswap-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a Stellar token swap using the Soroswap DEX?

To build a Soroswap token swap on Stellar, retrieve a quote, generate an unsigned XDR transaction, sign it with a wallet or keypair, and submit it. This workflow requires BigInt-denominated amounts and correct network enums.

Can I manage liquidity pools on Stellar and query market data with a TypeScript SDK?

Yes, you can add or remove liquidity, inspect user positions, and query pools, prices, balances, asset lists, and contract addresses on Soroswap using TypeScript SDK patterns for Stellar liquidity pools.

Do I need a backend proxy to securely submit Soroswap transactions?

Yes, production integrations require keeping your Soroswap API key server-side through a backend proxy. This setup supports client-side wallet signing while securely handling transaction submission, slippage controls, and referral fees.

What is the process for signing Soroswap unsigned XDR transactions with a wallet?

Signing Soroswap unsigned XDR transactions involves generating the transaction payload, passing it to a connected wallet or keypair for signature, and submitting the signed transaction through a secure backend proxy.

How does BigInt affect token swap amounts on the Soroswap Stellar protocol?

Soroswap token swap amounts require BigInt denomination to accurately handle Stellar asset precision. Using BigInt prevents integer overflow and ensures correct value representation when building swap and liquidity transactions.