"Block island chain" of the block chain origin

Today we begin the third chapter "block island chain" - intelligence contracts.

This article is docked "block island chain" the second chapter - after consensus for easy understanding, please read:

"Block island chain" of origin;

"Block island chain" of the consensus.

First, the election bookkeeping can then upgrade it?

On the back said, at the suggestion of Xiao Zheng, Deer Valley villagers are beginning to follow the way people vote for accounting bookkeeping, accounting and this way to start a long-term stable operation up.

Here Insert Picture Description

And, because Xiao Zheng also made a big contribution to the currency reform several times, now Xiao Zheng place in the hearts of the villagers also rising. It makes excited Xiao Zheng, Xiao Zheng bored and began to run around Deer Valley billing system up and want to continue to improve the monetary system to be better.

These days, Xiao Zheng took the notebook has begun to "visit the people", he wanted to see his proud billing system is not some problems.

He began to study the street, to a large number of big businesses, small to the homes of villagers, he almost gone again. Surprisingly, accounting elections approach seems more popular than expected villagers, the villagers go out Deer Valley now has no need to purchase or do business with a heavy gold out, easily will be able to put all the accounts deal with, and that one hundred was elected as the billing person who, because the account also remember well, in order to obtain a substantial amount of income, it also allows other villagers envy.

After a period of investigation, found that Xiao Zheng election bookkeeping system and there is no problem, so he put the thought into the accounting system of the "upgrade."

For example, can you have books which then remember something else?

Xiao Zheng's head really have to say so that, he quickly put the target on the "contract."

Here Insert Picture Description

He found that, in Deer Valley, the villagers want to make some formal agreement, for example, borrow money, or sales contract, or cooperative agreement, their use is paper-based contract, the contents of bilateral cooperation of mutual signature on paper, a type the two preserved.

So to think of Xiao Zheng, the contract can also wrote the books inside?

Because the effect of the contract is left to the cooperation of a written record, and thus binding for the parties agreed to perform in accordance with good content, and most of the contracts are related to changes in assets, some businesses such as procurement contracts, usually It is a good agreement price and quantity, and delivery time. If the content of the contract written directly inside the books, do not you can save a lot of intermediate links yet?

以往的鹿谷,村民们想要建立一份合同,都需要咨询例如村长之类的有声望的人士,因为需要他们做个见证,证明这份合同真实有效,并且在合同生效之后如果对方不执行合同的内容,也就是反悔的话,也要村长他们出面解决,这中间非常的麻烦。就比如,如果小李找小林借了一公斤的黄金,到了他们约定好的日子小李出尔反尔不准备归还的话,其他人是没有办法直接从小李的账目里扣除掉这一公斤黄金的,因为村民们的资产变动是必须要本人同意的。

Here Insert Picture Description

那如果把合同直接写到账本中,就可以节省掉很多的中间环节,小李要是找小林借钱,到了约定好的时间就算小李不还钱,也可以因为记录在账本中的这份合同的效力,直接将小李的资产划转到小林的名下。也就不需要其他人进行干预了。

把合同写进账本就可以让记账人监督并执行这份合同了,这不是一举两得吗!

他很快就把这个想法告诉了他的村长父亲,想征求一下村长的意见。村长听过小郑的新想法之后,很快,就在村民大会上把小郑的想法公布了,不出意料,村民在心里已经给小郑打上了一个“智多星”的标签,这次的记账升级很快就落实下去了。

二、故事解析

现在我们的生活几乎离不开合同:工作是与公司签订的劳动合同,买房是与房产公司签订购房合同,买保险是与保险公司签订保险合同,甚至网购、定外卖、打车、买彩票都可以看做是一种合同的表现形式。

甚至我们与人打赌,也是一种合约,但如果一旦一方抵赖,那履行合约就会变得困难。如果有一种合约,事先确定了规则,一旦触发相关条款,合约将自动执行,无需人为干涉,那不就能省很多事吗。

Here Insert Picture Description

故事中小郑提出的,将合同记录在账本中的升级正是我们现在看到的区块链智能合约的雏形。

现实中的智能合约(Smart Contract)是上世纪90年代由密码学家尼克·萨博提出的理念,由于当时缺乏可信的执行环境,智能合约没有被应用和发展,直到以太坊的出现,才让智能合约得以“重生”。

Here Insert Picture Description

那智能合约到底是什么呢?

In simple terms the contract is to use intelligent computer language instead of the language of the contract law provisions recorded by the program automatically. In other words, smart contract is the digital version of the traditional contract, running on the block chain network, it performed automatically by the program.

Compared with the traditional contract, intelligent contract has three characteristics:

1, open and transparent contract terms

2, the contents of the contract can not be tampered with

3, run forever

There are three main features plus smart block chain contract holders, mainly has the following advantages compared with traditional contracts:

1, to the center of trust

2, economic and efficient

3, no third-party arbitration

But now due to the block chain network is not yet perfect, intelligent efficiency contract has been greatly affected.

Most of the current contract to use public-chain Ethernet Square, for example, can support Ethernet Square TPS (transactions per second) with only: 7-15, EOS is relatively better, can reach TPS 4000, TPS two-eleven Taobao has reached 325000, the current public chain to achieve the TPS also far less than the amount of processing traditional centralized processor, which is one block chain technology is currently the biggest shortcomings - efficiency.

In summary, the contract is intelligent computer language to replace the legal language recording contract terms, the contract is automatically performed by the program. Deployed in the chain of intelligence contract, also have a data block chain is open and transparent, tamper-proof features.

Compared with the traditional contract, the contract has to trust the smart, safe, efficient, no third-party arbitration advantage. But the smart contract is not perfect, it is precisely the direction of chain blocks developers need to focus overcome.

Well, today's "block island chain" that went to the. My content starting platform in the "block chain Ni Laoshi" micro-channel public number, and you also can search in the major platform "block chain Ni Laoshi" to get the latest content.

In order to facilitate direct communication with me, I put my personal micro-channel two-dimensional code in a public number, the number of public concern "Contact old Ni" to get.

Guess you like

Origin blog.csdn.net/weixin_44693781/article/details/90375396