Please describe your proposed solution.
The proposed solution is an open-source indexer and API designed for decentralized exchanges within the Cardano blockchain ecosystem. These components aim to address existing challenges by providing developers and traders with streamlined access to order and DEX analytical data. While developers are able to run their own instances, we will maintain public instances ourselves to enable developers who may not want to run instances themselves, to still have access to the DEX data.
Key components and features of the proposed solution include:
- DEX Indexer: Filters Cardano transactions for ones related to supported exchanges while formatting & storing liquidity pools and order transactions in a relational way, giving better readability & flexibility when interacting with data.
- API & Live Feed: Exposes indexed data for each DEX through a REST API & live websocket feed as DEX-related events happen on-chain. Live feed data includes updated order statuses, updated liquidity pool states, and general information like sync updates.
- Data Accessibility: The API facilitates easy and real-time access to order information, trade history, and market analytics on decentralized exchanges operating on the Cardano blockchain.
- Historical Data: Historical liquidity pool and order data empowers traders to be better informed on what they may trade. This includes historical states for each liquidity pool and historical swaps/deposits/withdrawals/zap orders, along with their statuses throughout the ordering lifecycle.
- Standardized Interface: The API employs a user-friendly and standardized interface, allowing developers to seamlessly integrate it into their applications, trading bots, and analytical tools.
- Compatibility Across Exchanges: The solution is designed to be compatible with multiple decentralized exchanges on Cardano, eliminating the need for developers to navigate & understand different data structures and protocols.
- Documentation: Comprehensive documentation will be provided, offering clear guidelines on API integration, functionality, and best practices. This facilitates a smooth experience for developers and users.
- Continuous Improvement: Regular updates and maintenance are planned to adapt the API & indexer to updates from the supported DEXs, as well as support newly launched DEXs. A feedback loop with the community contributes to ongoing improvements.
The Iris tooling along with our open-sourced DEX SDK Dexter (<https://github.com/IndigoProtocol/dexter>), both will give developers a full suite of tools when interacting indirectly with Cardano DEXs.