feat: add ETCswap connector for Ethereum Classic#594
Open
chris-mercer wants to merge 1 commit intohummingbot:developmentfrom
Open
feat: add ETCswap connector for Ethereum Classic#594chris-mercer wants to merge 1 commit intohummingbot:developmentfrom
chris-mercer wants to merge 1 commit intohummingbot:developmentfrom
Conversation
chris-mercer
added a commit
to etcswap/hummingbot-gateway
that referenced
this pull request
Jan 22, 2026
- Update PR-SUBMISSION-CHECKLIST.md with completed status and PR link - Update docs/README.md with current implementation status - Add upstream merge checklist to CLAUDE.md - Streamline ETCswap section in CLAUDE.md Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add support for ETCswap V2 and V3 DEX on Ethereum Classic blockchain. ## Features - Full V2 AMM support (swap, add/remove liquidity, pool info) - Full V3 CLMM support (swap, positions, liquidity management) - Universal Router integration for optimized routing - Support for both Classic mainnet (chain 61) and Mordor testnet (chain 63) ## Networks - Ethereum Classic (chain ID: 61) - ETC native currency - Mordor Testnet (chain ID: 63) - METC native currency ## Trading Types - Router: Universal Router for optimized swaps - AMM: V2 liquidity pools - CLMM: V3 concentrated liquidity positions ## Contract Addresses V2 contracts differ per network, V3 contracts are the same on both networks. All addresses verified against official ETCswap UI repositories. ## Tests - 134 tests covering contracts, utils, config, routes - Live integration tests for both Mordor testnet and Classic mainnet - Contract bytecode verification on both networks ## Dependencies - @etcswapv2/sdk-core: ^1.0.3 - @etcswapv2/sdk: ^1.0.2 - @etcswapv3/sdk: ^1.0.2 - @etcswapv3/router-sdk: ^1.0.2 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
c45f0b4 to
3de9d06
Compare
chris-mercer
added a commit
to etcswap/hummingbot-gateway
that referenced
this pull request
Jan 22, 2026
Per CONTRIBUTING.md, PRs should target the development branch. Updated PR hummingbot#594 base branch accordingly. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add ETCswap V2/V3 DEX connector for Ethereum Classic blockchain, enabling trading on the first Uniswap V2+V3 fork on Ethereum Classic.
Features
Networks
Trading Types
router: Universal Router for optimized multi-hop swapsamm: V2 liquidity poolsclmm: V3 concentrated liquidity positionsContract Addresses
V2 contracts differ per network, V3 contracts are identical on both networks.
V2 (per network):
0x0307cd3D7DA98A29e6Ed0D2137be386Ec1e4Bc9C0x212eE1B5c8C26ff5B2c4c14CD1C54486Fe23ce700x79Bf07555C34e68C4Ae93642d1007D7f908d60F50x6d194227a9A1C11f144B35F96E6289c5602Da493V3 (same on both):
0x2624E907BcC04f93C8f29d7C7149a8700Ceb8cDC0xEd88EDD995b00956097bF90d39C9341BBde324d10x9b676E761040D60C6939dcf5f582c2A4B51025F10x3CEDe6562D6626A04d7502CC35720901999AB699Dependencies
Test Results
Files Changed
src/connectors/etcswap/- 31 source files (connector implementation)src/templates/- Chain configs, token lists, connector configtest/connectors/etcswap/- 8 test filessrc/app.ts- Route registrationpackage.json- SDK dependenciesTest plan
Related Links