Charged: Add breakpoints to transactions
Charged is a Chrome extension developed by apoorvsadana that serves as a web3 transaction debugger. Its main purpose is to increase development speed by allowing users to add breakpoints to their transactions. With Charged, developers can pause their transactions before sending them on chain, edit the input, and simulate the new transactions to see how they perform. This enables them to catch and fix broken transactions within seconds.
Traditionally, developers have relied on Metamask as their go-to wallet for development. However, Metamask can sometimes slow down the development process. Charged aims to address this issue by creating a proxy on top of the existing wallet. This means that all transactions to the wallet first go through the proxy.
Charged offers several key features to enhance the transaction debugging process. It provides a simulation of the transaction, allowing users to see asset changes and possible failures with error messages. It also displays the exact input that goes into the wallet and fetches the contract ABI to decode the input. This enables developers to ensure that everything is working as expected. Furthermore, Charged allows users to edit the decoded input and re-simulate the transaction, providing the ability to test different inputs and see how the smart contract responds. In case of a failing transaction, users can view the error message and make necessary edits to achieve a successful transaction. Finally, Charged allows users to forward the modified transaction to their wallet, seamlessly integrating with Metamask for easy submission on the blockchain.
Overall, Charged offers a valuable solution for developers looking to streamline their transaction debugging process and increase their development speed. By providing the ability to add breakpoints, edit inputs, and simulate transactions, Charged empowers developers to identify and fix issues quickly and efficiently.