Please describe your proposed solution
Most Cardano wallets are designed with simplicity in mind, offering limited advanced features to accommodate beginner users. Conversely, developers frequently rely on tools such as cardano-cli, local cardano-node, or libraries like Lucid to manually construct transactions when testing both on-chain and off-chain code. This process can be labor-intensive and prone to error. A user-friendly Web UI transaction builder, compatible with all CIP-30 wallets, would significantly simplify manual testing, particularly for edge cases, making the development process far more efficient.
The proposed solution is a user-friendly Web UI transaction builder that supports all CIP-30 compliant wallets. This tool will streamline the process of manually constructing transactions, making it significantly easier for developers to test edge cases without needing to rely on command-line tools or coding the transactions by hand.
For example, when a dApp backend aggregates transactions in a database and an unexpected transaction structure occurs, weak error handling can lead to the entire backend failing. By utilizing this Web UI TX builder, developers can simulate such edge cases ahead of time, allowing them to identify potential issues before they occur in production environments.
This solution not only benefits developers but also has broader utility for the general Cardano community. By expanding the feature set of all CIP-30 wallets, it unlocks educational opportunities, enabling users to build custom transactions and experiment with the eUTxO model in a practical setting. For educational use cases, this tool can be integrated into Cardano-related courses, offering students hands-on experience in constructing custom transactions.
For instance, when I began my journey as a Cardano developer shortly before the Alonzo hardfork, I gained valuable insights by experimenting on the Alonzo-purple testnet and studying the Plutus Pioneer Program videos by Lars Brünjes. The eUTxO examples demonstrated in these sessions (e.g., https://youtu.be/IEn6jUo-0vU&t=505) could be effectively replicated by students using the proposed Web TX builder, enhancing the learning experience by providing an interactive platform.
The envisioned solution will be similar to the Marlowe smart contract drag-and-drop playground, but designed for constructing transactions. After connecting their CIP-30 compliant wallet, users will be able to select inputs from their wallet or specify a TXID and index of a script eUTxO. They can then define PubKey/Script outputs, along with corresponding amounts of ADA or native tokens, and specify Script CBORs with Redeemers and Datums, metadata, collateral, fees, and change address. After that they can submit the transaction with their connected wallet through the Builder UI.
This solution will be packaged as a user-friendly, open-source web application, designed for ease of use and readability, ensuring that both developers and general users can benefit from a seamless transaction-building experience.