Please describe your proposed solution.
Currently, many growing fields in the blockchain space sometimes require kilobytes of data per transaction to work. Notably, zk cryptography, L2s and web3 gaming
Since these L2s and web3 gaming are both fairly high-frequency use-cases (transactions happen often), solutions like IPFS are not well equipped to store and pin all the different files. A common solution to this is to use a “Data Availability Layer” (DA Layer) such as Celestia or Avail that is optimized for these kinds of use-cases. However, using a DA Layer comes with a disadvantage because you have to trust the DA layer to function properly, and is generally more expensive and slower than posting the data directly to the underlying L1
To tackle this problem in Paima, we propose allowing games and apps using Paima to use “Volitions”, which try to get the best of both worlds. They allow users to choose in which case they post their data directly on the L1, and in which case they post their data on the DA Layer. This allows clients to optimize for the best experience
Notably, we plan to integrate Avail Project (<https://www.availproject.org/>) first as we believe they have the highest synergy with the Cardano ecosystem: they are based on Polkadot (whose underlying conesus is inspired by Ouroboros), and they have invested in a research-based approach working with new primitives like Coded Merkel Trees (see link below) to make their technology competitive
Notably, the plan for integration will have the following steps:
- Enable Paima to follow both the settlement layer and the DA light client at the same time
- Allow a way for clients to choose whether or not data gets posted to the settlement layer or the DA layer
- Allow merging L1 and DA layer data into a single stream for Paima apps to handle
<https://www.youtube.com/watch?v=thdxHtQgszk>
How does your proposed solution address the challenge and what benefits will this bring to the Cardano ecosystem?
This will benefit the Cardano ecosystem by allowing games and apps written using Paima to implement data-heavy use-cases at a relatively low cost, increasing the viability of multiple business ideas
How do you intend to measure the success of your project?
- Number of transactions leveraging the DA layer integration
Please describe your plans to share the outputs and results of your project?
We will share a template that shows how to integrate Avail into your app / game