Last updated 2 months ago
Debugging smart contracts on Cardano is extremely tedious and time consuming. It requires extensive specialized knowledge about UPLC, or time-consuming trial and error.
This is the total amount allocated to Sundae Labs Next-Gen UPLC Debugger with Aiken Integration. 3 out of 4 milestones are completed.
1/4
Development of a Simple Command-Line Advancement Debugger
Cost: ₳ 42,000
Delivery: Month 3 - Jun 2024
2/4
Implementation of Time-Travel Capability for the Command-Line Debugger
Cost: ₳ 42,000
Delivery: Month 4 - Jul 2024
3/4
Creation of a Standalone Application/Web App for Visual Debugging
Cost: ₳ 35,000
Delivery: Month 5 - Aug 2024
4/4
Final report and video
Cost: ₳ 21,000
Delivery: Month 6 - Sep 2024
NB: Monthly reporting was deprecated from January 2024 and replaced fully by the Milestones Program framework. Learn more here
We will build a dedicated time-traveling UPLC debugger, with integration for the Aiken programming language. This will save developer time through a familiar “step-through” debugger experience.
No dependencies.
Apache License 2.0. The code will be available on GitHub.
Our proposal is focused on significantly enhancing the debugging experience for developers working with UPLC and Aiken on the Cardano blockchain. We plan to develop a time-traveling debugger for UPLC. This tool will allow developers to execute their compiled UPLC code step-by-step, inspect the state at each step, and even navigate backwards in time. Additionally, if the code was compiled from Aiken, it will expose the Aiken code that produced the resulting UPLC. The goal is to make the debugging process more intuitive and efficient, helping developers quickly identify and resolve issues in their smart contracts.
This debugger will significantly overhaul the experience for Cardano smart contract developers, enabling more efficient and effective debugging. We will measure our impact through developer adoption rates and feedback, as well as observed improvements in debugging speed and ease. We will dog-food the tool for our own development, open source the code, and share the tool and accompanying resources widely within the Cardano community.
Our team, comprising experienced blockchain developers and software engineers, has a proven track record in delivering high-quality development tools. We will validate our approach through continuous testing and community feedback, ensuring our solution meets the real-world needs of Aiken developers.
Development of a Simple Command-Line Advancement Debugger
Outputs:
- A functional command-line debugger for UPLC
Acceptance Criteria:
- Debugger allows for the execution of UPLC code step-by-step
- Capability to display terms in scope and call stack on command
- Usable in a standard development environment
Evidence of Completion:
- Release of the debugger tool on GitHub
- Documentation outlining usage and capabilities
- A video demonstration of the debugger in action
Implementation of Time-Travel Capability for the Command-Line Debugger
Outputs:
- Enhanced command-line debugger with time-travel (step-backward) functionality
Acceptance Criteria:
- Ability to step both forward and backward in the UPLC execution
- Accurate display of past and present states
- Seamless integration with the existing command-line tool
Evidence of Completion:
- Updated version on GitHub with time-travel feature
- Updated documentation and user guide
- Video demo showcasing forward and backward stepping capabilities
Creation of a Standalone Application/Web App for Visual Debugging
Outputs:
Acceptance Criteria:
Evidence of Completion:
Outputs:
Acceptance Criteria:
Evidence of Completion:
Market Rate:
Discounted Catalyst Ask
Using a conservative $0.30 per ADA, this is 140,000 ADA.
The budget aligns with industry standards for specialized software development. This tool will greatly enhance the efficiency of smart contract development on Cardano, representing a valuable investment for the ecosystem. This improved developer experience will attract developers, result in faster iteration times for existing developers, reduce costs for companies building on Cardano.