Last updated 2 months ago
Cardano developers lack access to advanced coin selection in evolution-sdk. Integrating MACS will solve UTxO inefficiencies and unlock optimal transaction building capabilities.
Integrate MACS algorithm into evolution-sdk alongside CIP-0002 standards, asset-specific, and random selection. Create modular API allowing developers to choose optimal coin selection per transaction
This is the total amount allocated to No Witness - MACS coin selection algorithm for Evolution SKD.
Please provide your proposal title
No Witness - MACS coin selection algorithm for Evolution SKD
Enter the amount of funding you are requesting in ADA
100000
Please specify how many months you expect your project to last
5
Please indicate if your proposal has been auto-translated
No
Original Language
en
What is the problem you want to solve?
Cardano developers lack access to advanced coin selection in evolution-sdk. Integrating MACS will solve UTxO inefficiencies and unlock optimal transaction building capabilities.
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
Fully open source MIT license from day one
Please choose the most relevant theme and tag related to the outcomes of your proposal
UTXO
Mention your open source license and describe your open source license rationale.
This project will be fully open source under MIT license from day one. We believe all developer tooling should be open source which helps teams build new products, but also improve and develop tooling by collaboration
How do you make sure your source code is accessible to the public from project start, and people are informed?
Our project will be open source from day on at:
https://github.com/no-witness-labs
We will also be sharing all development and updates regularly on our X account:
How will you provide high quality documentation?
Jonathan, lead developer is taking all the lessons learned from creating Lucid Evolution library and applying them to this project to have high quality documentation having in mind developers transitioning to Cardano as well as those that have been building here for years.
Please describe your proposed solution and how it addresses the problem
MACS (Multi-Asset Coin Selection) is a research algorithm developed by the Cardano Foundation that addresses key limitations in UTxO-based blockchain coin selection.
Unlike traditional algorithms that focus primarily on ADA optimization, MACS considers transaction fees, UTxO pool size, transaction age, and privacy while maintaining optimal distribution of UTxO inputs and preventing long-term UTxO accumulation Cardano Foundation https://ieeexplore.ieee.org/document/10411438 .
The algorithm uses sophisticated scoring mechanisms to balance multiple objectives simultaneously, making it particularly effective for complex multi-asset transactions.
Our solution integrates this Multi-Asset Coin Selection (MACS) algorithm into evolution-sdk, creating the first production implementation of this breakthrough research alongside established CIP-0002 standards. Currently, evolution-sdk developers are limited to basic coin selection methods that don't optimize for multi-asset transactions, leading to higher fees and suboptimal UTxO management.
We will implement a modular coin selection architecture that allows developers to choose the optimal algorithm per transaction type. The system includes four key selection strategies: MACS algorithm for advanced multi-asset optimization using sophisticated scoring mechanisms, CIP-0002 compliant Largest-First and Random-Improve algorithms for standards compatibility, asset-specific selection for targeted token management, and random selection for testing and experimental scenarios.
The technical approach involves extending evolution-sdk's transaction builder with a clean API that accepts algorithm parameters. Developers can specify their preferred coin selection strategy when building transactions, enabling dynamic optimization based on transaction characteristics. For DeFi applications requiring cost efficiency, MACS provides superior multi-asset UTxO selection. For applications needing CIP-0002 compliance, standard algorithms remain available. Gaming applications can leverage asset-specific selection for targeted NFT or token management.
This addresses the core problem by providing evolution-sdk developers with advanced coin selection capabilities previously unavailable in production SDKs. The modular design ensures backward compatibility while enabling cutting-edge optimization. By bridging academic MACS research with practical developer tools, we unlock significant fee savings and UTxO efficiency improvements for the entire Cardano ecosystem. The solution transforms evolution-sdk into the most comprehensive transaction building toolkit available, giving developers the flexibility to optimize coin selection based on their specific use case requirements rather than being constrained by one-size-fits-all approaches.
Please define the positive impact your project will have on the wider Cardano community
This project creates real positive impact for the Cardano community by turning theoretical research into practical tools that actually help developers, users, and everyone else in the ecosystem.
Implementing MACS alongside other coin selection algorithms in evolution-sdk tackles a genuine infrastructure gap that affects pretty much everyone building on Cardano.
For developers, this means finally getting sophisticated transaction optimization tools that just haven't existed in production before. DeFi teams can leverage MACS optimization for tricky multi-asset operations, potentially slashing user costs and making their protocols way more competitive. Gaming and NFT projects get asset-specific selection that lets them handle tokens exactly how they need to. Plus, all developers still have their trusty CIP-0002 algorithms while gaining some seriously powerful new optimization options.
Users feel the impact through cheaper transaction costs and smoother app performance across the board. As developers start using smarter coin selection strategies, regular users get lower fees for multi-asset transactions and wallets that just work better. This cost reduction makes Cardano apps way more attractive and accessible to everyday people.
The ecosystem-wide benefits include actually putting Cardano Foundation research to good use, making sure academic breakthroughs become real-world improvements instead of just sitting in research papers. The open-source approach means other dev teams can learn from and build on this work, lifting the quality of all Cardano tooling. The modular setup gives everyone a solid foundation for integrating whatever cool research comes next.
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?
No Witness Labs is founded by seasoned blockchain developers with a proven track record of delivering high-quality, impactful open-source tools and protocols in the Cardano ecosystem.
Our co-founder, Jonathan Rodriguez, is the creator and lead maintainer of Evolution SDK—the next generation of the widely adopted Lucid—which has become a cornerstone for off-chain transaction building on Cardano. His work has enabled countless developers to rapidly build, test, and deploy Cardano dApps with improved developer experience and reliability.
Our team collectively has extensive experience building both open-source and production-grade blockchain solutions. Members have contributed to many ecosystem projects and several protocol-level designs including cross-chain bridges, staking systems, and Layer 2 frameworks.
No.Witness Labs operate with transparency and accountability as core principles and all significant of our work are developed open-source, ensuring community visibility, code review, and independent audit potential.
Our deep experience, combined with a proven history of delivering developer-focused infrastructure, ensures that No Witness Labs can execute this project with the highest standards of trust, transparency, and technical excellence.
Milestone Title
Foundation & MACS Implementation
Milestone Outputs
Acceptance Criteria
Evidence of Completion
Delivery Month
2
Cost
30000
Progress
20 %
Milestone Title
Algorithm Expansion & Testing
Milestone Outputs
Acceptance Criteria
Evidence of Completion
Delivery Month
3
Cost
30000
Progress
40 %
Milestone Title
CLI Tool & Documentation
Milestone Outputs
Acceptance Criteria
Evidence of Completion
Delivery Month
4
Cost
30000
Progress
80 %
Milestone Title
Project Closeout & Analysis
Milestone Outputs
Acceptance Criteria
Evidence of Completion
Delivery Month
5
Cost
10000
Progress
100 %
Please provide a cost breakdown of the proposed work and resources
The total budget for the proposed project is estimated at 105.500 ADA, equivalent to 102.400 USD at the current ADA price of 0.97 USD. This plan is designed to efficiently deliver the project within 4 months, ensuring quality while addressing all cost considerations.
Senior Developer:
Hiring two developers is essential for the successful completion of the project within the specified timeframe. Their expertise will be crucial for delivering high-quality project.
Senior developers' rate: Range from 80-120 USD per hour.
Estimated Total Cost in ADA (5 months):
80 USD/hour: For two developers working full-time (40 hours per week for 4 months), the total cost per developer would be 51,200 USD, equivalent to 52.780 ADA.
Thus, hiring two developers at the 80 USD/hour rate will collectively cost approximately 105.567 ADA over the full project duration.
However due to category cap of 100k ADA we will split 50.000 ADA per developer and deliver all of the work proposed.
How does the cost of the project represent value for the Cardano ecosystem?
Turning peer-reviewed research (MACS) into a production-grade, open source implementation inside evolution-sdk the ecosystem gets an implementation that any wallet, dApp, or SDK can consume.
Even modest, consistent optimizations from MACS (vs. basic CIP-0002 strategies) translate into:
• Lower average fees
• Smaller tx size in multi-asset flows (DEXs, NFT/Gaming, wallets)
• Better UTxO sets over time that is less fragmentation and better UX
We’re not just including MACS in Evoution SDK, we’re shipping a selection framework: MACS + CIP-0002 (Largest-First, Random-Improve) + asset-specific + random. That gives developers fine-grained control.
Terms and Conditions:
Yes
Jonathan Rodriguez - Senior Blockchain Developer
Jonathan Rodriguez is a distinguished Cardano Smart Contract Developer with a wealth of experience in auditing and optimizing key protocols within the Cardano ecosystem, including Minswap V2, IBC protocol (Cardano Foundation), Optim Finance, Lenfi V2, Genius Yield, and Wanchain Bridge.
His deep technical expertise in smart contracts is further evidenced by his development of the Lucid Evolution framework and his authorship of CIP-128. Jonathan is also a co-creator of the Cardano Design Patterns Libraries, which serve as valuable resources for the wider developer community.
Beyond his technical development work, Jonathan has made significant contributions to the Cardano network's resilience, playing a pivotal role in mitigating a DDOS attack.
His efforts in the Cardano community extend to delivering over five successful Project Catalyst proposals, which have added important open-source tools and innovations to the ecosystem.
Jonathan's role as a Smart Contract Developer and lecturer for the "Cardano Solutions Architect" course at Emurgo Academy demonstrates his commitment to shaping the next generation of blockchain developers.
Vu Dinh Hoang
Software and blockchain engineer with extensive experience building high-performance trading systems and decentralized applications.
Over the past several years, Vu contributed to the Cardano ecosystem through Catalyst-funded projects, governance features, and open-source contributions to libraries such as Lucid Evolution, Plu-ts, Cardano-js-sdk, and Aiken.
His work spans performance optimization for large-scale trading platforms, smart contract development in Plutarch, Haskell, and Helios, and security audits for protocols like Charli3 and USDA.
Vu have a proven track record in designing scalable, secure, and production-grade blockchain solutions, with a strong focus on Cardano innovation.