create account

Smart Contracts versus Simple Contracts by alexgr

View this thread on: hive.blogpeakd.comecency.com
· @alexgr ·
$58.75
Smart Contracts versus Simple Contracts
After the latest events with the DAO-hack made everyone a bit wiser regarding the issues surrounding Smart Contracts and the way they are being implemented with their own language, I've been pondering whether all this is an overkill to satisfy corner cases that wouldn't be able to get served with "dumb" contracts.

After all, smart contracts are difficult to program, difficult for the two parties to check for "code errors" (they'd need "hackers" to check for code exploits, like having ...lawyers that check for legal loopholes), difficult to use, etc etc. On top of that you open a very large attack surface through the use of a custom made turing-complete language. Is all this complexity worth it?

I mean why not implement SIMPLE contracts?

Simple contracts would not be based on their own programming language, but on ready, 100% safe and deterministic templates.

For example, you choose a category from a tab: Property Contracts.

Then you click over the next tab and describe the property (say 10 BTC).

Then you click on "conditions", etc etc, and then you choose the other party of the contract and click send so that he can receive it and sign it if he likes. For electronic-type contracts or IoT, you could have it scripted between different PCs on whether to accept or not based on the conditions.

So, in my mind, a template-based smart contract platform that covers, say, 50-60-70% of use cases (with superior simplicity and 100% safety) would have a tremendous advantage over a complicated and problematic smart-contract platform. Eventually the use-cases can be increased, as the number of ready contract templates increases and sometime later a simple-contract platform may be able to cover 80-90%+ of the needs that would be covered by a smart-contract platform. 

Let's say you want to add a distributed voting or distributed funding allocation contract and it is currently not supported. You simply add a template to it and then, that too is possible. All safe, all 100% deterministic, no rooms for "coding errors", etc etc.

Surely that must be far better than the alternative that led to the DAO-fiasco, right?
👍  , , , , , , , , , , ,
👎  
properties (23)
authoralexgr
permlinksmart-contracts-versus-simple-contracts
categorysmart
json_metadata{"tags":["smart","contracts","versus","simple","template"]}
created2016-06-22 01:53:48
last_update2016-06-22 01:53:48
depth0
children3
last_payout2016-08-03 00:00:06
cashout_time1969-12-31 23:59:59
total_payout_value29.377 HBD
curator_payout_value29.376 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,138
author_reputation45,645,291,230,585
root_title"Smart Contracts versus Simple Contracts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,000
net_rshares25,194,095,019,053
author_curate_reward""
vote details (13)
@innuendo ·
<html>
<p>I absolutely agree with you. As time goes by, as I see more and more gaps in Ethereum's business model.</p>
<p>The main promise of Ethereum was that anybody can deploy a smart contract without asking anybody's permission. Yes, it's true. Kind of. Theoretically you can but practically not, unless you are a highly skilled Solidity coder or pay tons of money to hire one.</p>
<p>&nbsp;Also, their smart contracts have been advertised as <em>unstoppable</em> but now it seems that turing-completeness requires them to be stoppable.&nbsp;</p>
</html>
👍  
properties (23)
authorinnuendo
permlinkre-alexgr-smart-contracts-versus-simple-contracts-20160622t084448138z
categorysmart
json_metadata{"tags":["smart"]}
created2016-06-22 08:44:48
last_update2016-06-22 08:44:48
depth1
children0
last_payout2016-08-03 00:00:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length557
author_reputation31,739,740,997,875
root_title"Smart Contracts versus Simple Contracts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,269
net_rshares395,714,092
author_curate_reward""
vote details (1)
@steemid · (edited)
<html>
<p>Also @dana-edwards wrote about this and about <em>Tauchain</em>:</p>
<p><a href="https://steemit.com/tauchain/@dana-edwards/a-discussion-and-description-of-how-tauchain-works-by-a-non-expert">https://steemit.com/tauchain/@dana-edwards/a-discussion-and-description-of-how-tauchain-works-by-a-non-expert</a></p>
</html>
👍  
properties (23)
authorsteemid
permlinkre-alexgr-smart-contracts-versus-simple-contracts-20160622t094551868z
categorysmart
json_metadata{"tags":["smart"],"users":["dana-edwards"]}
created2016-06-22 09:45:54
last_update2016-06-22 10:05:48
depth1
children0
last_payout2016-08-03 00:00:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length327
author_reputation360,240,455,940
root_title"Smart Contracts versus Simple Contracts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,323
net_rshares7,307,059,648
author_curate_reward""
vote details (1)
@will-zewe ·
Isn't that what the wings platform is all about? 
http://www.livebitcoinnews.com/meet-wings-the-dao-creation-platform/
properties (22)
authorwill-zewe
permlinkre-alexgr-smart-contracts-versus-simple-contracts-20160622t042902470z
categorysmart
json_metadata{"tags":["smart"]}
created2016-06-22 04:29:03
last_update2016-06-22 04:29:03
depth1
children0
last_payout2016-08-03 00:00:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length118
author_reputation10,620,815,246,903
root_title"Smart Contracts versus Simple Contracts"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id40,121
net_rshares0