Please describe your proposed solution.
Example of the MVP: With our software, users can effortlessly establish their own database to gather pair pricing data from various exchanges in just a few simple steps. By following the instructions detailed in the quick start guide, users gain the ability to run the software independently, customizing their data collection process to suit their specific needs. This MVP empowers developers to explore and interact with decentralized financial data in a user-friendly manner, providing a glimpse into the exciting possibilities that lie ahead in the evolving landscape of blockchain technology. Our open-source solution revolves around emitting real-time pricing events for various data types such as Order Books, Tickers, Trades, Candlesticks, and Exchange Rates in exchanges and liquidity pools. This data, captured for each configured currency pair, is fetched and stored in a database by collectors.
CCDB supports a diverse range of data types:
- 📚 Order Book: Real-time buy and sell orders.
- 🔄 Trade: Information on executed transactions.
- 🏷️ Ticker: Current market statistics.
- 🕯️ Candlestick: Price movement over time.
- 💹 Exchange Rate: Current currency conversion rates.
2) Reasoning: Early-stage DeFi projects encounter a challenge due to the costs associated with real-time pricing data services. The financial burden imposed by these services creates a barrier, hindering the development and progress of emerging projects. Moreover, the alternative of constructing dedicated infrastructure to bypass these expenses presents an additional obstacle, as it consumes precious development time that could otherwise be allocated to refining and enhancing the core functionalities of these projects. This dual challenge not only restricts the financial feasibility of early-stage DeFi initiatives but also impedes their agility and competitive edge in the rapidly evolving landscape of decentralized finance. Addressing this issue is crucial for fostering innovation, encouraging the growth of early-stage projects, and ensuring a more inclusive and sustainable future for the DeFi ecosystem.
Our mission is to advance the science of blockchains, one of our approaches is to make blockchain data computational and accessible. We are developing an open-source solution to reduce the friction in DeFi application development. Our real-time price feed infrastructure collects data from both centralized (like Kraken, Binance, KuCoin, Gemini and others) and decentralized exchanges (like Minswap, Museli Swap, SundaeSwap, WingRiders, Indigo and others) with flexible configuration to suit each use case unlocking possibilities for the creation of dashboards, DeFi apps, financial options, and more.
An example of price feed visualized in dashboard display
See Use Case: Real-Time Streaming Dashboard via Websocket API
We’re approaching this problem from two perspectives: 1) collecting data vertically through decentralized exchanges (DEXs) and 2) horizontally across chains via centralized exchanges (CEXs).
Developers will have the ability to deploy data collectors to store pair pricing data from the exchange sources they desire with customizable parameters. Example applications include dashboards and oracle price feeds.
Lastly, we will provide API access to the infrastructure we establish. This API will operate continuously for a duration of 12 months. To maintain a reasonable and secure usage environment, appropriate rate limits will be implemented to prevent misuse that could potentially impact the overall performance and reliability of the system, provided the volatility of ADA is relatively low.
Our goal is to empower key people in the Cardano ecosystem with convenient and reliable access to this resource, hopefully fostering innovation and enabling the development of diverse applications and services into the future.
Appendix: Additional information
<u>Horizontal data collection from CEXs</u>
Through the CCXT library, we get quick access to market data for storage. CCXT is an open-source data and trading library that supports over 100 exchanges.
We have set up one collector per exchange that pulls the following trading pair data:
- Order book
- Trade
- Ticker
- Candlestick (high, low, open, close, volume)
Once the response is received, this data is stored in a database, making it easily retrievable by app developers (available in the GitHub repo attached to this proposal).
<u>Vertical data collection from DEXs </u>
This solution incorporates the top native token pairs listed in Cardano’s decentralized exchanges.
We will also connect the relevant Cardano tokens (up to a maximum of 50) to ITSA ITINs for linking additional data. Connecting to ITSA's "International Token Identification Number" establishes an industry standard for token identification which could be helpful for developers across blockchains, applications and interoperability protocols.
<u>Development </u>
To ensure the smooth and consistent deployment of our services, we have implemented a CI/CD pipeline that constructs Docker images of the updated services, allowing them to be retrieved by other developers on the target machine or cloud service.
Summary of Project Objectives:
- Make significant architectural improvements to enhance the stability of data collection and enable simultaneous searching across multiple exchanges, among other features
- Generate an archive with historical pricing data for relevant pairs
- Incorporate Cardano DEX pairs into our current data collectors
- Provide an open-source package that enables other developers to generate a pricing database according to their financial application needs
Summary of Overall Benefits:
- Free API access for Cardano community for 1 year. Rate limitations may apply.
- An open-source solution
- API (REST and WebSocket) of open, high, low, close, pricing, and coin/token volume data, including aggregate pricing data.
- Integrated Cardano DEXs and price data for the top 100 Cardano tokens
- Ability to adapt/fork the database
- Reduced friction for third-party developers to build dashboards, trading strategies, smart contracts, etc.
This data infrastructure will serve as a basis to store other data like equities or indexes. Also having the ability to collect, store and retrieve this data will serve as the basis for future AI applications. Our team has experience integrating various blockchain ecosystems into our technology stack and is excited to continue incorporating Cardano exchange data into the foundation of our services.