Are all smart contracts open source?


Someone told me that not all contracts are open source however I just checked a bunch of dapps on your site and they all appear to be open. Is this the case? Any examples of what a closed one looks like and how to tell?



Short Answer: No

Long Answer From Reddit VVVV

“Smart contracts on Ethereum are as open source as regular programs are on PC. The machine code is there, you can decompile it and figure out what it does and guess at what the source code might be. But to verify that the contract’s bytecode on the blockchain is from the open source code, you must be able to reproduce it exactly. This is done by services like etherscan by providing the entire contract source code and the exact compiler settings and version.”