DEX Aggregatorとは
数ある分散型取引所(🏢DEX)の中でも最も交換レートが良い取引所を選択してくれるサービス.
Liquidity Aggregatorとも.
特徴
- 📝DAOによって運営.
- 大抵の場合, ガバナンストークンもある.
- on-chain/off-chainがある.
機能一覧
サービスのよって差別化要素は異なるが一般的なものをまとめる.
- Swap: 複数取引所の最適な価格で売買を執行すること. 📝SOR注文みたいな.
- Cross-chain: 📝クロスチェーンスワップ: DEX取引所をまたぐSwap.
- Market: 📈ローソク足チャートの価格表示をチャートで表示してCEXのような感覚でトレード.
- 📈TradingViewのフレームワークをつかって表示しているところが多い.
- API: aggregatedされた価格を取得するAPIを提供.
- Yield Farming: 🎴イールドファーミング
- Stop-Limit: 📝逆指値注文, トリガー注文.
🚦RFQ-based Protocols
Request-for-Quote.
ユーザーが特定の資産に対して価格見積もりをリクエストし、市場参加者が最適な価格を提示する仕組みのプロトコル.
https://0x.org/docs/0x-swap-api/advanced-topics/about-the-rfq-system
- slippageなし(maker/taker方式).
- 2024年あたりから盛り上がってきた.
- DeFi Limit Orderのことか?. 🔌Jupiter Limit Order
PMM
Professional Market Maker
Taker
Gas Less Swap
https://0x.org/docs/gasless-api/introduction
Allbridge型プール不均衡裁定
- ステーブルコインのプール残高を監視
- 不均衡が発生したら即座にブリッジ
- ブリッジ手数料以上のボーナスが出る
stargate finance
Off-Chain Aggregators
- 🏢1inch: EVM Chain.
- 🏢Jupiter: Solana Chain.
- 🏢Uniswap X
- 👛MetaMask(ETH)
- Arken: https://arken.finance/
- Pleexus, cross-chain aggregator: https://www.plexus.app/
🏢OKX DEX Aggregator
Jupiterみたいなやつ. これは日本から利用可能.
- https://web3.okx.com/ja
- API: https://web3.okx.com/ja/build
- explore: https://web3.okx.com/ja/explorer, EVM/Solanaが同じUIはよい.
- Solana
🏢OpenOcean
DeFiだけでなくCeFiのデータもみれるところが差別化.
- https://openocean.finance/
- 『OpenOcean』の概要や特徴、AMAの内容をQ&A形式で解説! - CRYPTO TIMES
- CEOのAMAインタビューしている記事.
On-chain Aggregators
SwapSwap
Aggregate 2 DEX, 2つのDEXを対象にしたaggregate.
Solana
Dflow Aggregator
- https://dflow.net/
- https://x.com/dflowprotocol
- https://solscan.io/account/DF1ow4tspfHX9JwWJsAb9epbkA8hmpSEAtxXy1V27QBH
<2025-06-27 Fri 11:43> 最近ちょいちょいみる. Jupiter も内部でこれを呼び出すようなmeta aggregatorになってる.
EVM DEX Aggregators
デファクトスタンダードはなく、各自が使いやすいDEXをつかっている印象.
🌉Odos
🔍Odos Arbitrage Tracker
<2024-01-24 Wed 21:49>追記, たぶん非公開になった…<2024-12-21 Sat 14:45>アイデアとしては3hop Cross-Chainともいえる.
表示が10分ごとなのかな?サヤは30秒くらいで消えるらしく, こんなサヤがありました的な事後の確認となる. さらにここに表示されている価格からGAS代がかかる. 表示に従ってサヤを取るのは厳しい.
- https://www.odos.xyz/arbitrage
- Introducing Odos. In this post we will give a short… | by ODOS | odosprotocol | Medium
- Cross-chain Arbitrage & MEV Protection with Odos Protocol - YouTube
- src?: https://github.com/0xsamgreen/xDomain
- apiも非公開: https://odos.xyz/api/latest-arbs
- プロトタイプみつけた, https://github.com/semiotic-ai/westerngate/tree/main/calculate_arbitrage
👨Sam Green
作った人.
https://twitter.com/0xsamgreen
- https://github.com/0xsamgreen
- Odos Intro to Semiotic AI: arbitrage, order routing, reinforcement learning, ZKPs - YouTube
- Odos立ち上げのプレゼンみたいな. 旧western gateをodosの機能の一部に結合.
- We’re going to estimate a lower bound of cross-domain MEV - Data - The Flashbots Collective
- Notes about arbitrage in Ethereum | by Sam Green | Semiotic Labs | Medium
2023/08でのCross-Chain MEV市場分析
ref. https://twitter.com/0xsamgreen/status/1690517856042221569
- High value arbs are rare, but there are many small ones.
- ヒストグラムをみると$30くらいまではそこそこの発生頻度.
- Avg. opps are worth about $3k, and observed for about 2.5 blocks.
- エッジの消滅は2.5 block. 仮に1block=12sと仮定すると, 30秒くらい.
Picasso Network/Mantis
Cross-Chain Swapを実現.
https://github.com/ComposableFi
-
Picasso Network
IBCでETH-Solanaをつなぐ. + Solana Restaking.
-
Mantis
比較
DeepSearch
現状では1inchがバランス型ソリューションとして汎用性が高く、ParaSwapがコスト敏感層 KyberSwapが機関投資家層、OpenOceanがクロスチェーン需要にそれぞれ強みを発揮する
- 1inch: バランス的に一番.
- Paraswap: コストが安い. 小規模高頻度向け.
- OpenOcean: CEX流動性結合
- 0x: 開発者むけだと群を抜く.
<2025-03-06 Thu 11:25>
🐎1inch
EVMの1番メジャーなDEX Aggregater.
- 経路探索アルゴリズム「Pathfinder」
- https://1inch.io/
- 【DEXアグリゲーター】1inch(ワンインチ)とは?|暗号資産(仮想通貨)の専門メディア
1inch api
- 1inch.exchangeでトークンスワップをやってみる — EthereumDev Tutorial — | by Yuya Sugano | Medium
- Building a Trading Bot with 1inch API on Polygon | by yuichiro aoki | Medium
- https://github.com/yuichiroaoki/1inch-trading-bot
- Arbitrage bot with Node.js & 1inch - YouTube
<2025-05-02 Fri 15:23> starter planは500ドルから😕
Fusion+ (intent-based atomic cross-chain swaps)
Atomic Cross-Chain Swap APIがある. これはすごそう.
https://portal.1inch.dev/documentation/apis/swap/fusion-plus/introduction
🏢0x.org
- EVM-20特化
- 開発者向けにつよい.
- 歴史が古い. 2016からある?
- https://0x.org/
DEV
- https://0x.org/docs/0x-swap-api/introduction
- sdk: https://0x.org/docs/libraries/swap-ts-sdk
- https://github.com/0xProject/0x-parser/tree/main, outputAmountがparseできる.
- https://www.quicknode.com/guides/defi/dexs/interacting-with-0x-api-using-javascript
- repo: https://github.com/0xProject
- Allowance Holder: 0x0000000000001ff3684f28c67538d4d072c22734
- Permit2: 0x000000000022d473030f116ddee9f6b43ac78ba3
Swap API/GasLess API
<2025-05-02 Fri 14:18> quoteだけしてsubmitしないならばもうすぐ垢バンしますと警告きた. そもそもFAQにも書いてあったが見落としてた. 使えないならもっと早く警告欲しかった.
Can I use 0x APIs for fetching DEX prices without submitting trades? The APIs are optimized for trading use cases, so you will hit limits on the standard plan if you request quotes without submitting trades consistently.
If you need to fetch DEX prices specifically, please contact us to discuss supporting this use case.
ref. https://help.0x.org/en/articles/10970779-0x-api-pricing-faq
🏢Matcha
0xのDEX Aggregatorはこれ. 抹茶?!
Refs
🏢KyberSwap
- 機関投資家向け. TWAP.
<2025-03-06 Thu 09:00>所感だがBaseはここが一番rateがいい気がする.
API
- Execute A Swap With The Aggregator API | KyberSwap Docs
- https://docs.kyberswap.com/kyberswap-solutions/kyberswap-aggregator/aggregator-api-specification/evm-swaps
🏢Paraswap
EVM系. https://www.paraswap.xyz/
コストがやすい?
DEV
apiあり.
https://developers.paraswap.network/
- delta api:
- market api: https://developers.paraswap.network/api/paraswap-api/paraswap-market-api
- js sdk: https://github.com/paraswap/paraswap-sdk
- こういうのもある. 調査中. https://github.com/paraswap/paraswap-dex-lib
🏢OpenOcean
https://app.openocean.finance/swap/
- CEXにも対応している.
- UIの評価は高い.
- api/sdk: https://openocean.finance/api/api-sdk/