Last updated a year ago
Making Blockfrost easily accessible to dApp developers as the default, regardless of all other technical choices, will help Blockfrost adoption grow first and foremost.
MLabs has been working with IOG to build the Cardano Transaction Library (CTL), a framework for building Cardano transactions. We propose adding Blockfrost as an available query layer within CTL.
This is the total amount allocated to MLabs - CTL Blockfrost Backend.
Market
dApp developers, off-chain statistics developers, data scientists
Problem Space
Blockfrost is used by many dApps as a so-called 'query layer', to inspect the state of the Cardano blockchain, and to perform certain important actions such as transaction submission and fee estimation. Some other services which can be used for this include Ogmios, Koios, and Carp.
The Cardano-Transaction-Library is a toolkit for developers to build transactions for the Cardano Blockchain. Reaching version 1.0 in June 2022 and already seeing on-chain adoption on several large-scale industrial dApps, the CTL is currently using Ogmios to fill this gap. Ogmios is a self-hosted solution, and some features available on Blockfrost are not available from Ogmios, necessitating additional infrastructure. In fact, a CTL user will need to run Ogmios, a Cardano node, and other utilities on a server to successfully build transactions today.
While this level of infrastructure allows for a decentralizable, fully open-source system, the setup and maintenance of a server is time-consuming, and nobody wants to run their own server.
A clear alternative is to allow Blockfrost as an alternative backend service. Instead of running their own servers, users provide a Blockfrost API key and any other required configuration. However, the maintenance of their server may be greatly reduced or eliminated. Due to the relative ease of use, it's expected that many developers will use the Blockfrost service as a default during development and production.
OUR PROPOSAL
MLabs wishes to fast-track the development of a Blockfrost Backend for CTL, simplifying the necessary infrastructure needed to run CTL and allowing developers to take advantage of the speed and reliability of Blockfrost. This can occur without requiring "glue code" between the Blockfrost API integration and the cardano-serialization-lib.
Instead, developers will be able to write high-level, declarative code, which describes how to construct a transaction in a way inspired by the PAB. This makes the best possible use of the existing training from the Plutus Pioneer courses while relying on a production-ready set of tools under the hood.
By making Blockfrost an available option within the CTL framework, we expect more developers to test and ultimately use Blockfrost effectively for many projects to come.
Our Cardano-Tx-Lib, which received funding in Fund8, has already accomplished the majority of the milestones outlined in the proposal. As such, the current proposal is decidedly low risk as it is focused on integrating a backend, and similar integrations have already been achieved.
3 Months:
6 Months:
Hours involved: 625
Total: $50,000
Breakdown:
Set up basic Blockfrost API calls to match requirements: 105
User API: Configuring Blockfrost: 40
User API: Using Blockfrost interchangeably with default runtime: 40
Format conversion functions: 65
Testing: 165
Demo & Polishing: 110
Subtotal: 525
Change Budget: 100
Total Time: 625 hours
Total Cost: $50,000
MLabs
MLabs has quickly become one of the premier development firms in the Cardano Ecosystem. We are an IOG Plutus Partner and work regularly with IOG to develop the Cardano blockchain and ecosystem. Our team is composed of talented developers who have helped build community projects such as:
Through our work with early-stage projects, we have one of the largest groups of Haskell / Plutus developers in the community. Moreover, MLabs has the capacity to conceptualize and ship advanced applications in Plutus and on Cardano.
Website: https://mlabs.city/
The designated funds should be sufficient to accomplish our objectives. We do not currently intend to reapply under the same project for future Catalyst rounds.
We will measure:
We expect growth/positive results in these areas and are committed to meeting the milestones we have established throughout this proposal.
Project Impact: High
1) Accessibility: By making Blockfrost available to framework users, any users of that framework will have the opportunity to easily test and use Blockfrost end-to-end to know very quickly if Blockfrost is a good fit.
2) Provide a concise toolkit: By streamlining the Blockfrost API, we reduce the requirement for developers to understand and learn the entire API, and instead offer an intuitive way to use the tools provided by Blockfrost for its most important use cases: smart contract operations and off-chain statistics gathering.
MLabs will report progress and milestones to the Cardano community directly, publish demonstration videos on social media, and work with adoption partners to provide experience reports when using the new features.
This is a new proposal.
NB: Monthly reporting was deprecated from January 2024 and replaced fully by the Milestones Program framework. Learn more here
MLabs is a Haskell development consultancy, catering to the Cardano ecosystem. We bring lessons from working directly on multiple projects, as well as some major tooling contributions of our own, such as Plutarch, plutip, and many others.