Skip to content

docs(stellar): add liquidity pool swap-then-stealth guide - #113

Merged
truthixify merged 1 commit into
wraith-protocol:developfrom
jerryjuche:docs/stellar-liquidity-pool-swap
Jul 29, 2026
Merged

docs(stellar): add liquidity pool swap-then-stealth guide#113
truthixify merged 1 commit into
wraith-protocol:developfrom
jerryjuche:docs/stellar-liquidity-pool-swap

Conversation

@jerryjuche

Copy link
Copy Markdown
Contributor

Summary

This PR adds a new guide for Stellar Liquidity Pool swap-then-stealth operations, enabling developers to swap assets through Stellar liquidity pools and announce the result to a stealth address.

Changes

File Change
guides/stellar/stellar-liquidity-pool-swap.mdx New — Stellar Liquidity Pool swap + stealth announce guide
docs.json Add guide to Operations navigation sidebar
guides/stellar-custom-assets.mdx Cross-reference from Path Payments section

Guide Content

The guide covers:

  • LP basics — constant product AMMs (x · y = k), pool ID derivation, fee structure
  • LiquidityPoolDeposit — providing liquidity to a pool
  • Swapping via liquidity poolsPathPaymentStrictSend / PathPaymentStrictReceive through pool routes
  • Slippage protection — path estimation, destMin/sendMax calculation, manual reserve-based slippage math
  • Swap + Announce — two-transaction pattern (classic swap → Soroban announce)
  • YXLM → USDC end-to-end example — stealth address generation, balance checks, pool route discovery, swap submission, separate announce, and recipient scan

All TypeScript code snippets pass the check:snippets CI gate (514 fences, 0 failures).

Closes #72

New guide covering swapping assets through Stellar liquidity pools
with stealth announce. Includes LP basics, LiquidityPoolDeposit,
slippage protection, and YXLM → USDC example.

Closes wraith-protocol#72
@drips-wave

drips-wave Bot commented Jul 29, 2026

Copy link
Copy Markdown

@jerryjuche Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@truthixify
truthixify merged commit 62798fe into wraith-protocol:develop Jul 29, 2026
2 checks passed
@truthixify

Copy link
Copy Markdown
Contributor

Merged. LP swap-then-stealth guide rounds out the DeFi-integration cookbook nicely, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stellar Liquidity Pool swap-then-stealth

2 participants