Please describe your proposed solution.
This approach aims to address the challenge of processing large batches of transactions in an efficient and scalable manner within a decentralized network, like the Gummiworm protocol.
Standard Hydra or Cardano nodes cannot fulfill this role as they include irrelevant functionality, such as initializing and closing the head on layer 1, contestation periods, and peer-to-peer communication.
The ledger-only mode feature allows for streamlined validation and application of transactions. This makes the node a convenient building block for other protocols, developer tooling, testing frameworks, and other advanced architectures.
How does your proposed solution address the challenge and what benefits will this bring to the Cardano ecosystem?
The ledger-mode fork of the Hydra node primarily aims to enhance the scalability and efficiency of processing transactions independent of a full node in the Cardano ecosystem.
Here's how the solution addresses the key issues:
- Scalability: Current standard Hydra and Cardano nodes have extra functionalities that are unnecessary in some use cases, like initializing and closing the head on layer 1. The ledger-only mode for the Hydra node, by focusing solely on maintaining an evolving ledger state and executing the core logic of the Cardano ledger, enables the node to handle larger transaction volumes with ease, thereby improving scalability.
- Efficiency: The ledger-only mode enables validators to maintain an evolving ledger state and validate transaction batches more efficiently. This streamlined process reduces the complexity and processing time, improving overall network efficiency.
- Flexibility: This approach provides the ability to run or validate transactions without the need for a full private testnet. This flexibility would be a major asset to developers and projects that require transaction validation in various scenarios, making the Cardano ecosystem more adaptable.
- Security: Despite being a more streamlined version, the ledger-only mode does not compromise the security and integrity of the blockchain. The transactions are validated and applied with the same rigor as the full Cardano node, ensuring a secure environment.
- Collaboration: The ledger-mode exemplifies the open-source philosophy for the Hydra project, and would be a major first step towards shared community ownership of the protocol..
Overall, this solution enhances the performance and adaptability of the Cardano ecosystem, making it more attractive and accessible for both existing and potential new users. Of note, we are proposing this contribution for the Hydra node as it’s a more modern and less-complex codebase, with a core team that has communicated its openness to collaboration/external contributions.
How do you intend to measure the success of your project?
- Transaction Processing Performance: Measure the transaction processing speed and the number of transactions processed per second in the new mode, and compare this to the standard Cardano nodes. A successful project would exhibit improved performance.
- System Resource Usage: Monitor the computational resources (CPU, memory, etc.) consumed during operation. The ledger-mode fork should demonstrate efficient use of resources relative to the standard mode.
- Operational Overhead Improvement: When compared to running a full private Cardano testnet or hydra node, a Gummiworm node should be vastly more simple to operate.
- Adoption Rate: Track the number of users, developers, or projects adopting the ledger-mode fork for their operations over time. Higher adoption rates would signal successful implementation and real-world value.
- Error Rate: Count the number of failed or erroneous transactions in the ledger-only mode, with an aim for this to be low, demonstrating the robustness and reliability of the system.
- Developer Feedback: Collect qualitative feedback from developers using the ledger-mode fork. Their insights on its usability, efficiency, and any improvements could be invaluable for iterative development.
- Community Engagement: Gauge the interest and engagement of the Cardano community around the ledger-mode fork. High levels of community engagement and positive sentiment could be indicative of success.
Please describe your plans to share the outputs and results of your project?
- Project Blog Posts and Updates: Regularly post updates on the project's progress on popular platforms like Medium, the project website’s own blog, and YouTube channel. These posts can detail recent accomplishments, hurdles overcome, and next steps.
- Release Notes: With each significant release or update, publish detailed release notes outlining the changes, improvements, or bug fixes. These can be included directly in the project repository or on the project's website.
- Webinars and Online Tutorials: Conduct webinars or create online tutorials to demonstrate the functionality of the ledger-mode fork of the Hydra Node. This will help users understand its features and how to use them.
- Community Forum Discussions: Use platforms like the Cardano community forum or Reddit to engage with the community. Answer questions, ask for feedback, and participate in discussions about the project.
- Presentations at Conferences or Meetups: Present the project's results at blockchain or Cardano specific conferences and meetups. This not only reaches a larger audience but also provides an opportunity to receive direct feedback from peers and users.
- Social Media Announcements: Leverage Twitter, LinkedIn or other popular social media platforms to share project milestones and engage with the community.
- Documentation: Finally, create robust documentation that thoroughly explains how to use the new ledger-mode fork, its benefits, and potential use-cases. This documentation should be easily accessible from the project's website and repository.
- Publish Academic/Technical Papers: If applicable, writing and publishing academic or technical papers about the project's outcomes, the technology used, or the problem solved can help share detailed results with a more technical audience.