3 ms·
Are there no frameworks for formally validating smart contracts or using thereom provers? The small code size, non Turing completeness, and extremely high pena
by monocasa 9y ago
Are there no frameworks for formally validating smart contracts or using thereom provers? The small code size, non Turing completeness, and extremely high penalty for failure seem to all align.
Hell, even in an offensive sense it makes sense. https://anee.me/solving-a-simple-crackme-using-z3-68c55af7f7b1 https://anee.me/solving-a-simple-crackme-using-z3-68c55af7f7...
- jbverschoor 9y agohttps://github.com/OpenZeppelin/zeppelin-solidity https://github.com/OpenZeppelin/zeppelin-solidity
- monocasa 9y agoAs much as they use 'secure' in their README, I don't see any real evidence of that in their code. When I'm looking for formally methods, a package.json is a bad sign.
- dguido 9y agoManticore in the post above uses formal methods to verify contract properties! https://github.com/trailofbits/manticore https://github.com/trailofbits/manticore
- ESultanik 9y agoEthereum contracts are effectively Turing complete (well, technically linear bounded automata complete). But you get the same state space explosion issues as with formal validation of any other language.