Last updated 2 weeks ago
CTL is an essential off-chain tool for TX building. Yet, its niche functional paradigm tied to PureScript (PS) limits accessibility, restricting usage among JavaScript (JS) and TypeScript (TS) devs.
MLabs will map CTL PS types/functions to JS and add a TS interface for core components, enabling off-chain contract development in JS/TS and expanding accessibility for developers.
Please provide your proposal title
MLabs - CTL JavaScript / TypeScript Interface
Enter the amount of funding you are requesting in ADA
98742
Please specify how many months you expect your project to last
6
What is the problem you want to solve?
CTL is an essential off-chain tool for TX building. Yet, its niche functional paradigm tied to PureScript (PS) limits accessibility, restricting usage among JavaScript (JS) and TypeScript (TS) devs.
Supporting links
Does your project have any dependencies on other organizations, technical or otherwise?
No
Describe any dependencies or write 'No dependencies'
No dependencies
Will your project's outputs be fully open source?
Yes
License and Additional Information
MIT License
Please choose the most relevant theme and tag related to the outcomes of your proposal
Infrastructure
Mention your open source license and describe your open source license rationale.
MIT License. The MIT License is short, permissive, and widely recognized, making it ideal for maximizing adoption of the CTL JS/TS interface. It allows both open-source and commercial teams to use, modify, and integrate the code with minimal legal friction.
How do you make sure your source code is accessible to the public from project start, and people are informed?
All source code will be hosted in a public GitHub repository under the MIT license, with milestone updates and announcements shared via MLabs channels to ensure transparency, accessibility, and awareness among developers and the broader community.
How will you provide high quality documentation?
We will maintain the project’s established standard of detailed, accurate documentation, ensuring all new functionality is fully covered and consistent with CTL’s existing, well-maintained developer guides.
https://github.com/Plutonomicon/cardano-transaction-lib/tree/develop/doc
Please describe your proposed solution and how it addresses the problem
Problem
In recent years, CTL has become the de facto standard Cardano library in the PureScript ecosystem, providing a range of useful interfaces for interacting with the Cardano blockchain. Despite being a popular choice for Cardano off-chain development, the complexity and niche functional paradigm of PureScript have limited CTL's accessibility to a broader developer audience, posing challenges for wider adoption.
Solution
We propose introducing a JavaScript interface for CTL to preserve its functionality while making it more approachable to developers familiar with mainstream languages. Our approach to this task can be broken down into two main steps. First, we will define a bridge to map PureScript types and functions to their corresponding JavaScript representations. This process will involve identifying the components that are part of the CTL interface and developing a mapping strategy that will generate adequate JavaScript counterparts. Second, we will add TypeScript definitions for the interface functions and types, aligning with the resulting JavaScript representations and covering core CTL components like transaction construction, on-chain data querying, environment configuration, wallet communication, and more. The primary goal of this work is to provide a self-sufficient and user-friendly TypeScript / JavaScript interface, enabling the development of CTL off-chain contracts entirely in TypeScript or JavaScript. This should extend CTL's reach to a broader developer community, significantly boosting the library's adoption and driving its continued evolution.
Market
Our solution is primarily aimed at dApp developers and teams seeking robust, well-established tooling for writing Cardano off-chain logic. By making CTL compatible with mainstream programming languages, we lower the barrier to entry, promote faster development cycles, and enable seamless integration with existing infrastructure and developer workflows.
Please define the positive impact your project will have on the wider Cardano community
Improved Developer Accessibility
By providing a user-friendly JavaScript / TypeScript interface, the project makes CTL accessible to a much wider audience, including developers who may not be familiar with PureScript. This reduces the learning curve and allows more developers to confidently build off-chain contracts on Cardano using familiar languages and tools.
Broader Community Engagement
The introduction of a JavaScript / TypeScript interface should attract developers from the mainstream JavaScript and TypeScript ecosystems, significantly broadening CTL's reach and encouraging more collaboration and knowledge sharing among developers.
Increased Adoption and Ecosystem Growth
By lowering technical and language barriers, this project facilitates easier onboarding for new users to accelerate CTL adoption. A larger user base can lead to more community contributions, richer tooling, and faster evolution of the CTL library, strengthening the overall Cardano development ecosystem.
What is your capability to deliver your project with high levels of trust and accountability? How do you intend to validate if your approach is feasible?
MLabs has extensive experience working on Cardano developer tools, including CTL. We have a proven track record of contributing to the Cardano ecosystem, as demonstrated by our successful management of similar projects and our close collaboration with the Cardano Improvement Proposals (CIP) process.
Feasibility:
Existing Expertise: Our team has deep expertise in Haskell, Plutus, and blockchain infrastructure development, making us uniquely positioned to deliver this project.
Milestone-Based Approach: We will deliver the project through clearly defined milestones, ensuring transparency and accountability.
Budget Management: The project will be broken down into manageable components with a clear budget, which we will manage through an open process with regular reporting to the community.
Milestone Title
Requirement Analysis & Usability Evaluation
Milestone Outputs
Acceptance Criteria
Evidence of Completion
Delivery Month
2
Cost
24726
Progress
20 %
Milestone Title
Implementation
Milestone Outputs
Acceptance Criteria
Evidence of Completion
Delivery Month
3
Cost
26995
Progress
50 %
Milestone Title
Testing
Milestone Outputs
Acceptance Criteria
Evidence of Completion
Delivery Month
5
Cost
23741
Progress
80 %
Milestone Title
Documentation & Usage Examples
Milestone Outputs
Acceptance Criteria
Evidence of Completion
Delivery Month
6
Cost
23280
Progress
100 %
Please provide a cost breakdown of the proposed work and resources
Identify CTL components
Describe mapping strategy
Evaluate usability
Enforce JS representations
Add TypeScript definitions
Apply UX optimizations
Add unit tests
Add integration tests
Integrate with CI
Write documentation and guides
Total: 457.9 hours × $110/hour = $50,369.00 USD
Converted at $0.51/ADA = 98,763 ADA
How does the cost of the project represent value for the Cardano ecosystem?
This project delivers high leverage at a modest cost by enabling a much broader pool of developers—JavaScript and TypeScript engineers—to build off-chain Cardano applications using the well-established CTL library. By introducing a typed JS/TS interface for CTL, we preserve the reliability and maturity of the existing PureScript implementation while eliminating a major adoption barrier.
The scoped budget of 98,742 ADA (~$50,369 USD) covers end-to-end delivery: specification, interface implementation, testing, CI integration, documentation, and real-world usage examples. The output is a fully open-source npm package, maintained under the MLabs organization, designed for long-term reusability across dApps, education, tooling, and audits.
This one-time investment not only amplifies the utility of CTL across multiple developer segments but also strengthens the ecosystem’s tooling foundation—reducing time-to-market for new projects and increasing participation from mainstream teams. The project complements existing infrastructure rather than duplicating it, offering ecosystem-wide ROI far beyond its individual deliverables.
Terms and Conditions:
Yes
MLabs
MLabs is a premier development firm 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/Aiken developers in the community.
Website: https://mlabs.city/
Core team
Koz Ross - Tech Lead
Koz is a software engineer with experience ranging from SIMD implementation of a UTF-8 validator in the bytestring library to DSL development to Plutus Core development. He has almost a decade of experience in Haskell, including almost four years working on Cardano and Plutus-related projects, having been involved in projects in the Cardano ecosystem ranging from Liqwid to other client projects to work on Plutus itself.
Dzmitry Shuiski - Sr. Developer
Dzmitry is an experienced software engineer, currently developing solutions using functional programming techniques, mostly using PureScript and Haskell. Coming from a background in iOS App Development, he is well-versed in various aspects of developing robust and user-centric systems. Dzmitry has made considerable contributions to CTL in the past and is now primarily focused on Cardano dApp development. He is currently pursuing a degree in Software Engineering and Management at the Graz University of Technology to deepen his knowledge in more fundamental disciplines.
Jordan Hill - Project Manager
Seasoned Delivery Manager specialising in blockchain technology and non-EVM chains, adept at orchestrating cross-functional teams for timely and budget-conscious project deliveries. With expertise in both on-chain and off-chain development, Jordan crafts blockchain solutions that harness the potential of decentralized systems, driving innovation in the field.