3 ms·
Imagine if Windows 95 stored your payment data and was bridge-connected to the internet. This will give you an idea of how I look at these smart contracts. Is
by wruza 9y ago
Imagine if Windows 95 stored your payment data and was bridge-connected to the internet. This will give you an idea of how I look at these smart contracts.
Is there any reason to think of it another way?
- DennisP 9y agoYes: smart contracts are extremely short programs, usually doing very simple things. A thousand lines is a fairly large contract. It's feasible to spend a lot of time refactoring to make them as simple and clear as possible, to unit test extensively, and then pay several expert parties to review them in detail. We're not quite at the point of being able to do formal proofs of their properties, but that's on the way, and also relatively practical given how short the contracts are. We can see whether contract authors have done these things because unlike Win95, smart contract source code is always published, since everyone knows a closed-source contract could trivially steal their money.
- dogma1138 9y agoSmart contracts are not that short, and if you look at entries for the Unhardended Solidty Code contest you'll discover just how easy it is to implement a vulnerability due to the nuances of Solidity and the runtime. The virtual machine is also not even remotely proven yet. There is a lot of risk.
- DennisP 9y agoI write and audit Ethereum smart contracts for a living. Most of the projects I work on aren't much bigger than a thousand lines, and many are less. Some especially large projects are several thousand lines, still many orders of magnitude smaller than Win95.