All shortsSurprise me
Play video: Early CashScript debugging vs modern CashScript debugging (part 1)

Early CashScript debugging vs modern CashScript debugging (part 1)

Watch on YouTube (opens in a new tab)
Speaker
RoscoKalis
Event
BCH Bliss 2025
Published
Length

Transcript

In early CashScript debugging, if there's something that went wrong in your smart contract transaction, you'll see, like, okay, mandatory script verify flag failed. You kind of understand that, okay, well, so something somewhere went wrong, but most CashScript smart contracts have a dozen different verify operations. So try figuring out which one of them failed. In the early days, that meant that you would be, like, commenting out different lines to see if that would make the contract succeed. And when something like that failed, you could use a tool like Meep, where you can jump in and go to the actual opcodes, but that's not really the easiest way to figure out what's going on. And there's no mapping between this low-level code and the high-level CashScript. So, it doesn't really help you understand what you need to change about your CashScript code.