Skip to content

feat(gateway): GatewayAMMRouter (client.gateway_amm) - #24

Open
fengtality wants to merge 1 commit into
mainfrom
feat/gateway-amm
Open

feat(gateway): GatewayAMMRouter (client.gateway_amm)#24
fengtality wants to merge 1 commit into
mainfrom
feat/gateway-amm

Conversation

@fengtality

@fengtality fengtality commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Mirrors GatewayCLMMRouter for AMM liquidity + pool creation over /gateway/amm/*: get_pool_info, get_position_info, get_positions_owned, get_swap_quote, execute_swap, get_liquidity_quote, add_liquidity, remove_liquidity, create_pool.

position_address is sent only when set (required for Meteora remove, optional for add = new position); fungible-LP AMMs ignore it. Registered as client.gateway_amm.

Depends on the hummingbot-api AMM router.

🤖 Generated with Claude Code

https://claude.ai/code/session_01N1YS88ZAY2rXVLmgvyN4oY


Related PRs — 4-layer AMM integration (merge bottom-up, each depends on the one below):

  1. Gateway: feat(meteora): add DAMM v2 (cp-amm) AMM connector gateway#671 — DAMM v2 (cp-amm) connector + unified /trading/amm/*
  2. hummingbot-api: feat(gateway): AMM liquidity + pool-creation endpoints (/gateway/amm/*) hummingbot-api#206/gateway/amm/* router
  3. SDK: feat(gateway): GatewayAMMRouter (client.gateway_amm) #24client.gateway_amm
  4. condor: feat(amm): manage_amm tool + Meteora Launch LP agent condor#192manage_amm tool + Meteora Launch LP agent

Mirror GatewayCLMMRouter for AMM liquidity + pool creation over /gateway/amm/*:
get_pool_info, get_position_info, get_positions_owned, get_swap_quote, execute_swap,
get_liquidity_quote, add_liquidity, remove_liquidity, create_pool.

Meteora DAMM v2 positions are NFTs, so position_address is sent only when set (required
for Meteora remove_liquidity, optional for add_liquidity — omit to open a new position);
fungible-LP AMMs ignore it. Registered on the client as client.gateway_amm.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N1YS88ZAY2rXVLmgvyN4oY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

2 participants