Last updated 2 days ago
Revive Lucid, a vital Cardano core library, tackling maintenance lapses, hard fork readiness, GitHub backlog, unmerged PRs, and ensuring sustained reliability.
This is the total amount allocated to Anastasia Labs - Lucid Evolution: Redefining Off-Chain Transactions in Cardano. 3 out of 5 milestones are completed.
1/5
Enhancing Repository Collaboration
Cost: ₳ 60,000
Delivery: Month 2 - May 2024
2/5
Augmenting Lucid's Utility Library Functions
Cost: ₳ 60,000
Delivery: Month 3 - Jun 2024
3/5
Documentation Refinement and Technical Specifications
Cost: ₳ 40,000
Delivery: Month 5 - Aug 2024
4/5
Keeping Pace with Cardano Evolution
Cost: ₳ 10,000
Delivery: Month 7 - Oct 2024
5/5
Testing and Optimization for SanchoNet Features
Cost: ₳ 30,000
Delivery: Month 8 - Nov 2024
NB: Monthly reporting was deprecated from January 2024 and replaced fully by the Milestones Program framework. Learn more here
Ensure long-term clarity by consistent maintenance, address GitHub issues, create new pull requests, and upgrade Lucid to the latest CML versions for sustained effectiveness.
No dependencies.
Project will be fully open source under MIT license
Challenges and Goals:
The primary challenges we aim to address are the lack of maintenance for the library, inadequate support for the upcoming hard fork, a growing backlog of GitHub issues in the original repository, unmerged pull requests, and a scarcity of individuals proficient in maintaining the repository. Our goal is to rejuvenate and fortify the project, ensuring it remains resilient and responsive to the evolving landscape of technology and user needs.
Why Lucid Maintenance is Crucial:
Maintenance of Lucid is indispensable as it serves as a core library in Cardano, underpinning numerous protocols. This critical role emphasizes the urgency of consistent updates to ensure compatibility with evolving Cardano protocols, hard forks, and the dynamic technological landscape. Neglecting Lucid's maintenance not only jeopardizes the functionality of smart contracts but also impacts a multitude of protocols relying on it. Upholding Lucid's reliability is integral to sustaining the seamless operation of diverse applications across the Cardano blockchain.
Our proposed solution comprehensively tackles the multifaceted challenges faced by the Cardano ecosystem. First and foremost, the lack of maintenance of Lucid library poses a significant risk to the overall health of the ecosystem. By prioritizing consistent and proactive maintenance efforts, we aim to ensure the longevity and reliability of the core library, contributing to the overall stability of the Cardano ecosystem.
Inadequate support for the upcoming hard fork is a critical issue that could lead to compatibility issues and disruptions. Our strategy involves a meticulous upgrade process, aligning the library with the latest Cardano Multiplatform Library (CML) versions.
The growing backlog of GitHub issues in the original repository is a bottleneck that impedes progress for projects in Cardano.
Unmerged pull requests are indicative of a disjointed contribution process. We plan to streamline this by diligently reviewing and incorporating valid pull requests. This not only acknowledges the efforts of the community but also accelerates the implementation of valuable features and enhancements, contributing to the overall robustness of the Cardano ecosystem.
The scarcity of individuals proficient in maintaining the repository is a critical bottleneck that impedes the project's growth.
In summary, our proposed solution is a holistic approach that addresses maintenance, hard fork compatibility, GitHub issues, pull request management, and community development. The benefits are manifold – increased stability, seamless adaptation to protocol upgrades, faster issue resolution, enhanced features, and a resilient ecosystem that thrives on collaborative innovation. By implementing these measures, we envision a Cardano ecosystem that is not only robust and reliable but also adaptable to the evolving needs of its developer user base.
Anastasia Labs has rapidly established itself as a leading development firm within the Cardano Ecosystem.
Our team consists of highly skilled developers who have made significant contributions to various community projects, including Lucid, Agora, Liqwid-Plutarch-Extra. Our developers have had experience developing and publishing end-to-end DApps including production projects like WingRiders. Our auditing clients include Wanchain, Lenfi, Encoins, FluidTokens, Spectrum Finance, and Atrium. In addition to our project involvement, our team has been actively engaged in the developer experience domain. We have actively participated in educational panels focused on DApp Security Practices and Design Patterns, and our members have served as co-chairs of the IOHK developer experience working group.
Furthermore, our collaboration with Emurgo Academy has been instrumental in educating aspiring developers, with our team playing an essential role in this endeavor. We have also recognized and recruited the most exceptional talents from the academy's classes.
We have developed software development kits (SDKs) that facilitate the integration of existing dApps with other systems through off-chain code. Our team has also designed various protocols, including bridges and staking systems, while also actively contributing to open-source smart contract languages and their associated standard libraries.
With broad range of expertise within the Cardano Ecosystem we are a highly capable and versatile development firm
Milestone 1: Enhancing Repository Collaboration
Review, fix, and merge PRs from the official repository
There are a number of outstanding PRs on the official lucid repo that have not been reviewed or merged because the repository is no longer maintained. We have been updating and maintaining our own public fork for sometime now. On our fork, we have reviewed and merged a number of PRs from both ourselves and external contributors; however, there is a backlog of PRs on the main repository that we did not have capacity for. For this milestone, we will review, fix and merge outstanding PRs from the main lucid repository to our maintained fork.
Deliverables:
Milestone 2: Augmenting Lucid's Utility Library Functions
Expand Lucid’s utility library with additional functions
Lucid is one of the most widely used off-chain frameworks in the ecosystem; however, due to lack of active development it is missing a number of utility and convenience functions. For instance, a common design pattern is to pass the index of an input, output or reference input in the transaction redeemer. Currently, to do this for an input in Lucid requires a lot of boilerplate, first sorting the inputs by their TxOutRef’s and then indexing them and then doing a first pass of balancing to determine if any change inputs need to be introduced which would require another pass over the inputs to reassign correct indices. This milestone covers the implementation and testing of such utility functions to Lucid.
Deliverables:
Milestone 3: Documentation Refinement and Technical Specifications
Modify documentation for Lucid and create technical specifications for Conway support
Deliverables:
Intended Outcomes:
Milestone 4: Keeping Pace with Cardano Evolution
Sync the latest Cardano Multiplatform Library (CML) from the DCSpark repository
Upgrade Lucid CML with the latest Conway functions in preparation for the Chang Hard Fork
Deliverables:
Intended Outcomes:
Testing and Optimization for SanchoNet Features
Test and polish SanchoNet features integrated with Lucid
Ensure seamless functionality post-upgrades and additions
Deliverables:
Intended Outcomes:
Compiler & Programming Language Research
Philip DiSarro
Philip has an MS in Compiler Development & Programming Language Theory. He was the lead smart contract architect of many features on WingRiders DEX. Philip has also made significant contributions to the Cardano developer ecosystem. As a co-chair of the IOHK developer experience working group he worked to identify and resolve pain points that DApp developers experience in Cardano, and had an integral role in getting Lucid & Plutus Simple Model included in the Plutus Pioneer Program. He has a vast wealth of experience in smart contract security and auditing on Cardano.
Philip is CEO and founder of Anastasia Labs and a senior Haskell developer on the XSY team, a consultant and lecturer for Emurgo.
Philip is responsible for introducing the new utility and convenience functions to Lucid and for assisting with general maintenance. Additionally, he will help create documentation for new features.
Functional Programming & TypeScript SDKs
Jonathan Rodriguez
Jonathan is a highly skilled smart contract developer specializing in Cardano, a blockchain technology that he is deeply passionate about.
His passion in smart contract development drives him to constantly polish his technical knowledge. In the pursuit of that knowledge he obtained the following certifications: Cardano Solution Architect, Cardano Developer Professional, and Associate Certificate.
With an extensive background in Haskell development, which is a critical language for Cardano, he possesses a thorough understanding of functional programming concepts.
His expertise extends to various aspects of the Cardano ecosystem, including the Cardano Toolchain, Transaction Structure, Plutus Smart Contracts, Native Tokens, DApp Connector, and other essential components.
Jonathan is well-versed in conducting use case analysis and tokenomics, as well as interfacing with decentralized storage, server APIs, and integrating databases.
He is knowledgeable in establishing robust CI/CD (Continuous Integration/Continuous Deployment) flows and integrating them into development processes. Additionally, he is skilled in conducting thorough unit testing to ensure the reliability and security of his smart contract solutions.
Four developers to maintain and actively develop Lucid for the next 12 months (and hopefully beyond).
This includes:
3,125 ADA per developer per month.
Engineering hour cost: 150,000 ADA
Resources allocated for creating comprehensive documentation for new utility functions.
Costs associated with future updates, maintenance and bug fixes.
Documentation and library maintenance cost: 50,000 ADA
Total Estimated Cost: 200.000 ADA
Lucid library is most used library for writing offchain code on Cardano. With the upcoming Chang hard fork it would break many features if not maintained.
We believe it is very important to keep it up to date and that it is a great value for money invested into maintance.