All shortsSurprise me
Play video: Contract byte efficiency on Bitcoin Cash

Contract byte efficiency on Bitcoin Cash

Watch on YouTube (opens in a new tab)
Speaker
bitjson
Space
Published
Length

Transcript

The UTXO model is incredibly efficient. If you have to write the contract, and then the contract is sitting in the transaction, and the transaction gets validated, then you'd think, okay, that's a lot of duplication, right? All those UTXOs have the same contract. The number of bytes used to write the contract in many cases is less than the number of bytes of a hash you would use to reference the contract. You would be shocked at how many decentralized applications can be broken up into parts that are quite literally at a byte level more efficient to do in the UTXO model than they would be if you uploaded all the code and everybody looked at the same block of code and referenced it by a hash, because the contract is shorter than the length of a hash.