This repository provides comprehensive documentation and example smart contracts for DEX Router products, supporting EVM, Solana, SUI, and Aptos ecosystems.
docs/
docs/
contracts/
DEX-Router-Aptos-V1/
guides.md
overview.md
technical-reference.md
DEX-Router-EVM-V1/
guides.md
overview.md
technical-reference.md
DEX-Router-Solana-V1/
guides.md
overview.md
technical-reference.md
DEX-Router-Sui-V1/
guides.md
overview.md
technical-reference.md
examples/
DEX-Router-EVM-V1/
foundry.toml
interface/
IDexRouter.sol
IDexRouterExactOut.sol
remappings.txt
src/
smartswap.sol
smartswapByInvest.sol
swapWrap.sol
uniswapV3swap.sol
uniswapV3SwapExactOutTo.sol
unxswap.sol
unxswapExactOutTo.sol
- docs/contracts/DEX-Router-Aptos-V1/: Documentation for the Aptos version of the DEX Router, including overview, guides, and technical reference.
- docs/contracts/DEX-Router-EVM-V1/: Documentation for the EVM version of the DEX Router, including overview, guides, and technical reference.
- docs/contracts/DEX-Router-Solana-V1/: Documentation for the Solana version of the DEX Router, including overview, guides, and technical reference.
- docs/contracts/DEX-Router-Sui-V1/: Documentation for the SUI version of the DEX Router, including overview, guides, and technical reference.
- examples/DEX-Router-EVM-V1/: Example Solidity contracts and interfaces for the EVM DEX Router.
- Node.js (for documentation tooling, if needed)
- Foundry (for Solidity contract development)
- Solana CLI (for Solana development, if needed)
- Aptos CLI (for Aptos development, if needed)
- SUI CLI (for SUI development, if needed)
- Browse documentation in
docs/docs/contracts/for EVM, Solana, SUI, and Aptos routers. - Explore example smart contracts in the
docs/examples/directory.
We welcome contributions! Please follow these steps:
- Pick the appropriate section for your addition (EVM, Solana, SUI, or Aptos, docs or examples).
- Add new documentation under the correct folder:
overview.mdfor product overviewsguides.mdfor step-by-step guidestechnical-reference.mdfor contract references
- Add example contracts in the
examples/directory. - Open a Pull Request with a clear description of your changes.