Skip to content

okxlabs/DEX-Router-Aptos-V1

Repository files navigation

Dexrouter - Aptos DEX Aggregator

Dexrouter is a decentralized exchange aggregator built on Aptos blockchain that provides optimal trading routes across multiple DEXs, ensuring users get the best prices for their trades.

🏗️ Project Architecture

Core Components

  • Aggregator (sources/aggregator.move) - Main aggregation logic and routing
  • Router (sources/router.move) - DEX routing management and swap execution
  • Proxy (sources/proxy.move) - Security proxy and access control

Supported DEX Adapters

Currently Active:

  • ✅ Pontem Liquidswap (V1 & V2)
  • ✅ PancakeSwap
  • ✅ Cellana
  • ✅ Hyperion

🚀 Quick Start

1. Initialize Account

aptos init --profile test_account

2. Compile Project

aptos move compile

3. Deploy Package

aptos move publish --package-dir . --profile test_account     

4. Initialize Router

aptos move run --function-id package_address::proxy::init  --profile test_account    

🔧 Configuration

Package Configuration

Key settings in Move.toml:

  • Package name: dexrouter
  • Version: 2.0.1
  • Main address: 0xd7ed3ceeb92c4e5a413e8ad7fab83ced12bf4141a49248a91b5485cb45a0ef4b

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •