Skip to content

feat: add quickswap-dex - QuickSwap V2 AMM integration on Polygon#201

Open
skylavis-sky wants to merge 3 commits intookx:mainfrom
skylavis-sky:fix/quickswap-dex
Open

feat: add quickswap-dex - QuickSwap V2 AMM integration on Polygon#201
skylavis-sky wants to merge 3 commits intookx:mainfrom
skylavis-sky:fix/quickswap-dex

Conversation

@skylavis-sky
Copy link
Copy Markdown

QuickSwap DEX — V2 AMM on Polygon

QuickSwap is a Uniswap V2 fork operating on Polygon PoS (chain ID 137). This plugin enables token swaps, liquidity provision/removal, and read operations (quotes, pair addresses, reserves, prices).

  • Protocol: QuickSwap V2 (xy=k AMM, 0.3% fee)
  • Chain: Polygon PoS (chain ID 137)
  • Router: 0xa5E0829CaCEd8fFFD4De3C43696c57F7D7A678ff
  • Source: GeoGu360/onchainos-plugins @ 66953258 (dir: quickswap-dex)

Skills Implemented

Skill Type Description
quote Read Get expected swap output via getAmountsOut
swap Write Swap tokens (MATIC→token, token→MATIC, token→token)
add-liquidity Write Add liquidity to a V2 pool
remove-liquidity Write Remove liquidity and reclaim tokens
get-pair Read Get pair contract address from factory
get-price Read Get token price from reserves
get-reserves Read Get raw pair reserves

Fix from PR #120

This PR replaces PR #120 (from GeoGu360/plugin-store-community). The original PR failed structure validation due to SKILL.md filename case sensitivity — the file was named skill.md (lowercase) instead of SKILL.md (uppercase). This submission corrects that.


Checklist

  • plugin-store lint passes
  • All on-chain operations via onchainos CLI
  • SKILL.md with full documentation (uppercase filename)
  • --dry-run supported for all write operations
  • Source: GeoGu360/onchainos-plugins@66953258cc4e269d51289afb9a8de5798ca8b126

🤖 Generated with Claude Code

Fixes SKILL.md case sensitivity issue from original PR okx#120.
Source: GeoGu360/onchainos-plugins@6695325

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 5, 2026

🔨 Phase 2: Build Verification — ✅ PASSED

Plugin: quickswap-dex | Language: rust
Source: skylavis-sky/onchainos-plugins@ce96474f

Compiled from developer source code by our CI. Users install our build artifacts.

Build succeeded. Compiled artifact uploaded as workflow artifact.


Source integrity: commit SHA ce96474fb530fd1e9659db66315aaa6a70968cb5 is the content fingerprint.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 5, 2026

✅ Phase 1: Structure Validation — PASSED

Linting submissions/quickswap-dex...


✓ Plugin 'quickswap-dex' passed all checks!

→ Proceeding to Phase 2: Build Verification

Updated source_commit from orphaned 66953258 to GeoGu360/onchainos-plugins@main (739dac10)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Created feat/add-quickswap-dex branch in skylavis-sky/onchainos-plugins
with the quickswap-dex source. GeoGu360/onchainos-plugins main does not
have quickswap-dex directory.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant