区块链科普:什么是智能合约?智能合约有哪些特点?

资讯 2024-07-12 阅读:49 评论:0
现在我们的生活几乎离不开合同,往大说,工作是与公司签订的劳动合同,买房是与房产公司签订购房合同,买保险是与保险公司签订保险合同;往小了说,网购、定外卖、打车、买彩票都是与相...
美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

现在我们的生活几乎离不开合同,往大说,工作是与公司签订的劳动合同,买房是与房产公司签订购房合同,买保险是与保险公司签订保险合同;往小了说,网购、定外卖、打车、买彩票都是与相关的服务提供公司签订了相应的合同。可以说,有人的地方就用合约。

Now our lives are almost non-contractual. Largely, work is a labor contract with a company, home purchase is a house purchase contract with a real estate company, insurance is an insurance contract with an insurance company. Smallly, Internet purchases, take-out orders, taxis, and lottery tickets are all contracts with the relevant service provider.

甚至我们与人打赌,也是一种合约,但如果一旦一方抵赖,那履行合约就会变得困难。如果有一种合约,事先确定了规则,一旦触发相关条款,合约将自动执行,无需人为干涉,也不用担心有人抵赖。是否存在这样的合约呢?还真有,这便是智能合约。

Even we bet that it is a contract, but if one of the parties denies it, it becomes difficult to fulfil it. If there is a contract, the rules are established in advance, and once the relevant clause is triggered, the contract will be executed automatically, without human interference, and no one will have to deny it.

区块链科普:什么是智能合约?智能合约有哪些特点?

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

Smart Contract is the idea put forward by the cryptographer Nick & Middot in the 1990s; Sabo did not apply and develop smart contracts until Etheria appeared to make smart contracts & & & & rdquat;

那智能合约到底是什么呢?简单来说智能合约就是用计算机语言取代了法律语言记录条款并由程序自动执行的合约。换句话说,智能合约就是传统合约的数字化版本,跑在区块链网络上,由程序自动执行。

In other words, a smart contract is a digital version of a traditional contract that runs on a block chain network and is automatically executed by the program.

自动售货机、ATM取款机,在某种程度上都可以被理解为执行智能合约的机器,但这都不是真正意义上的智能合约。

Automatic vending machines and ATM teller machines can, to some extent, be understood as machines for the implementation of smart contracts, but these are not really smart contracts.

区块链科普:什么是智能合约?智能合约有哪些特点?

与传统的合约相比,智能合约有三大特点:

Smart contracts have three main characteristics compared to traditional contracts:

1、合约内容公开透明

1. Openness and transparency of the contents of the contract

智能合约部署在区块链上,其合约内容自然是公开透明的。

Smart contracts are deployed on block chains, and their content is naturally open and transparent.

2、合约内容不可篡改

II. THE CONTENT OF THE CONTACT OF THE CONTACT OF THE CONTENT

同样,因为部署在区块链上原因,智能合约的内容是无法被修改的。

Similarly, the contents of smart contracts cannot be modified because of their deployment on the block chain.

3、永久运行

3. Permanent operation

运行在区块链上的智能合约,同样被区块链上网络节点共同维护,只要区块链在,智能合约就能永久的运行下去。有种“链在合约就在”的兄弟情义之感。

Smart contracts running on the block chain are also maintained by the network nodes on the block chain, so long as the block chain is there, the smart contract can go on forever. There's &ldquao; the chain is in the contract & rdquao; the feeling of brotherhood.

有区块链三大特点加持的智能合约,与传统的合约相比主要有如下优势:

Smart contracts with three main features of the block chain have the following main advantages in relation to traditional contracts:

1、去信任。

1. To trust.

由于智能合约是基于区块链的,合约内容公开透明、且不可篡改。代码即法律(Code is law),交易者基于对代码的信任,可以在不信任环境下安心、安全地进行交易。

Since smart contracts are block-based, their content is open, transparent and non-manufacturing. The code, the Code is law, allows traders to deal safely and securely in an environment of mistrust, based on trust in the code.

2、经济、高效

2. Economy, efficiency

相比传统合约经常会因为对合约条款理解的分歧,造成纠纷;智能合约通过计算语言很好避免了分歧,几乎不会造成纠纷,达成共识的成本很低。在智能合约上,仲裁结果出来,立即执行生效。因此相比传统合约,智能合约有经济、高效的优势。

More often than not, disputes arise as a result of differences in the understanding of the terms of the contract; smart contracts avoid differences by calculating them in a way that hardly creates disputes, and the cost of reaching consensus is low. In the case of smart contracts, the outcome of arbitration is immediate and effective. Smart contracts therefore have an economic and efficient advantage over traditional contracts.

3、无需第三方仲裁

3. Non-requirement of third-party arbitration

假设熊大和熊二打赌,赌明天是否会下雨,谁输了的一方就需要给对方100元。如果输的人抵赖,赢了的人就得不到奖励。为此,去找第三方仲裁机构,低效且费时费力。但如果赌约写在智能合约上,在达成赌约之时,各自把100元打入智能合约地址,智能合约根据最终的结果,自动执行,赢的一方拿走所有的奖励。可见,智能合约就无需第三方仲裁。

Assuming that Bears and Bears bet whether it will rain tomorrow, the losing party will need $100. If the losers deny it, the winning party will not get a reward. To that end, it will be inefficient and time-consuming to go to a third-party arbitration body.

上面讲的都是智能合约的优点,那智能合约真的是智能且没有缺点的吗?其实不然,智能合约也有它的缺点。

It's all about the virtues of a smart contract. Is it really smart and not flawed? No, smart contracts have their flaws.

如上文所述,智能合约不可篡改的属性,很容易建立起信任。但同时也有不好的一面,如果智能合约存在漏洞,黑客可以利用智能合约的漏洞,为自己牟利。

As noted above, the immutable attributes of intellectual contracts can easily build trust. But there is also a bad side to intellectual contracts that hackers can exploit for their own benefit if they are flawed.

举个简单的例子,一台自动售货机,本来售价是5块的饮料,由于疏忽,写成了5毛钱,管理员发现之后,可以立刻改正。但如果这台售货机调用的是区块链上的智能合约,那么这个错误将无法修改,直到里面饮料卖完。

To give a simple example, a vending machine, originally worth $5 for drinks, was inadvertently written into 50 cents, and the administrator can correct it as soon as he discovers it. If the vending machine calls for smart contracts on the block chain, the error will not be corrected until the drink inside is sold out.

另一方面,智能合约本身无法获取(感知)外部的信息,涉及到需要外部信息才能裁决合约,需要对其写入相关信息,它才能作出裁决。比如熊大和熊二打赌明天是否下雨的例子,智能合约本身是不知道第二天是否下雨了没,需要通过其他信息源为它提供信息,比如中央气象台数据,哟了这个信息之后,智能合约才能做出裁决。

On the other hand, smart contracts themselves do not have access to (sense) external information, involving the need for external information in order to adjudicate contracts, and the need to write them in order to make a ruling. For example, Bears and Bears two bets whether it will rain tomorrow, smart contracts themselves wonder if it will rain the next day, and need to provide information through other sources, such as Central Weather Station data, before smart contracts can make a decision.

从上面两点看,智能合约既不完美也不智能。

From the top two, smart contracts are neither perfect nor smart.

综上所述,关于智能合约,我们知道:

On the basis of the above, with regard to intellectual contracts, we know:

智能合约是用计算机语言取代了法律语言记录条款、由程序自动执行的合约。部署在区块上的它,也具备了区块链的数据公开透明、不可篡改、永久运行的特点。

A smart contract replaces a legal language recording clause, which is automatically executed by a program, in a computer language.

与传统的合约相比,智能合约有去信任、安全、高效、无需第三方仲裁的优点。但智能合约并不完美,而且也不智能或者说它的智能程度很低。

Smart contracts have the advantage of trusting, being safe, efficient, and not requiring third-party arbitration, compared to traditional contracts. But smart contracts are not perfect, and are not intelligent, or they are less intelligent.

以上就是区块链科普:什么是智能合约?智能合约有哪些特点?的详细内容,更多关于智能合约知识分享的资料请关注脚本之家其它相关文章!

This is part of the block chain: what is a smart contract? What are the features of a smart contract?

本站提醒:投资有风险,入市须谨慎,本内容不作为投资理财建议。
美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址
文字格式和图片示例

注册有任何问题请添加 微信:MVIP619 拉你进入群

弹窗与图片大小一致 文章转载注明

分享:

扫一扫在手机阅读、分享本文

发表评论
平台列表
美化布局示例

欧易(OKX)

  全球官网 大陆官网

币安(Binance)

  官网

火币(HTX)

  官网

Gate.io

  官网

Bitget

  官网

deepcoin

  官网
热门文章
  • 区块链社区有哪些?区块链社区是什么?

    区块链社区有哪些?区块链社区是什么?
    展开全文...
  • 0.00006694个比特币等于多少人民币/美金

    0.00006694个比特币等于多少人民币/美金
    0.00006694比特币等于多少人民币?根据比特币对人民币的最新汇率,0.00006694比特币等于4.53424784美元/32.5436 16人民币。比特币(BTC)美元(USDT)人民币(CNY)0.000066944.53424784【比特币密码】32.82795436 16比特币对人民币的最新汇率为:490408.64 CNY(1比特币=490408.64人民币)(1美元=7.24人民币)(0.00006694USDT=0.0004846456 CNY)汇率更新时...
  • 0.00003374个比特币等于多少人民币/美金

    0.00003374个比特币等于多少人民币/美金
    0.00003374比特币等于多少人民币?根据比特币对人民币的最新汇率,0.00003374比特币等于2.2826 1222美元/16.5261124728人民币。比特币(BTC)美元(USDT)人民币(CNY)0.00003374克洛克-0/22216.5261124728比特币对人民币的最新汇率为:489807.72 CNY(1比特币=489807.72人民币)(1美元=7.24人民币)(0.00003374USDT=0.0002442776 CNY)。汇率更新于2024...
  • 0.00015693个比特币等于多少人民币/美金

    0.00015693个比特币等于多少人民币/美金
    0.000 15693比特币等于多少人民币?根据比特币对人民币的最新汇率,0.000 15693比特币等于10.6 1678529美元/76.86554996人民币。比特币(BTC)【比特币价格翻倍】美元(USDT)人民币(CNY)0.000/克洛克-0/5693【数字货币矿机】10.6 167852976.8655254996比特币对人民币的最新汇率为:489,807.72 CNY(1比特币= 489,807.72人民币)(1美元=7.24人民币)(0.00015693 U...
  • 2018-5-31币圈简报

    2018-5-31币圈简报
    一、要闻资讯类I. KEY INFORMATION CATEGORY1、央视:数字货币在京揭牌成立!中国或为此突变!1. View: Digital currency is established in Kyoto! China or mutated for it!中国数字货币来了˂a href="https://mp.weixin.qq.com/s/69fxKCf8GKSCscS4lT8WCA" Target="_blank"rel="noformlow"" Chinese...
标签列表