All shortsSurprise me
Play video: Not every smart contract needs an address

Not every smart contract needs an address

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

Transcript

You already have pay to script hash, right? So you can like do any arbitrary script anyway, with that extra step of the pay script hash. And the motivation cited in the CHIP is that for small contracts, going through a pay to script hash ends up being like, first of all, you're wasting space, and also like it just makes it a little bit harder for the contract author.

But one key thing is there might be a class of contracts you don't want people to easily be able to send money to, cuz right now pay script hashes, they all map to an address, and some user can end up sending money to this contract. So if you wanted a contract that's sort of kind of hidden, that people can't easily send money to, cuz most wallets are going to be discouraged from offering the ability to send money directly, like, from as a user. That's one of the other motivations, that having the contracts not be pay to script hash might guard against people locking funds in something that doesn't make sense.