Skip to content

docs: add swap documentation (Uniswap + Velodrome/Aerodrome)#2004

Open
jefr90 wants to merge 1 commit intomintlifyfrom
feat/swap-documentation
Open

docs: add swap documentation (Uniswap + Velodrome/Aerodrome)#2004
jefr90 wants to merge 1 commit intomintlifyfrom
feat/swap-documentation

Conversation

@jefr90
Copy link
Copy Markdown

@jefr90 jefr90 commented Mar 19, 2026

Description

Adds swap documentation for the Actions SDK, covering Uniswap V4 and Velodrome/Aerodrome support.

  • Adds WalletSwapNamespace to scripts/generate-actions-components.ts so the snippet is regenerated on future SDK version bumps
  • Creates snippets/actions/wallet-swap-namespace.mdx — API reference for all swap namespace methods (price, getMarket, getMarkets, supportedChainIds, execute)
  • Creates pages/app-developers/reference/actions/swap-documentation.mdx and adds it to the nav in docs.json
  • Updates app-developers/quickstarts/actions.mdx — removes "COMING SOON" from swap, adds real exact-in, exact-out, and price quote examples
  • Updates app-developers/guides/configuring-actions.mdx — adds a Configure Swap Providers step with Uniswap and Velodrome/Aerodrome tabs, updates createActions() example to include swap
  • Updates app-developers/reference/actions/integrating-wallets.mdx — adds a Wallet Namespaces table and swap code example

Tests

No tests — documentation-only change.

Additional context

The wallet-swap-namespace.mdx snippet is hand-crafted for now. Once kevin/aero-velo-support merges to main and the SDK version is bumped, it should be replaced by running pnpm prebuild to auto-generate from source.

Metadata

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.

1 participant