当前位置:网站首页>What is a smart contract?
What is a smart contract?
2022-08-03 10:54:00 【Wisdom Haohai】
Nick Szabo first proposed smart contracts in 1994.He defines it: "A smart contract is a computerized transaction agreement that enforces the terms of a contract."
The word "agreement" in the transaction agreement refers to the computer agreement.Nick Szabo's paper on smart contracts can be found at: http://www.fon.hum.uva.nl/rob/Courses/InformationInSpeech/CDROM/Literature/LOTwinterschool2006/szabo.best.vwh.net/smart.contracts.html.
Nick Szabo is a renowned computer scientist, legal scholar, and cryptographer whose research focuses on smart contracts and digital cash.In 1998, he also created the centralized digital cash Bitcoin Gold.
Why do you need smart contracts
Nick Szabo said: "Smart contracts are designed to enforce general contractual conditions, minimize malicious and accidental situations, and minimize the use of trusted intermediaries."
He believes that we need a computer protocol that can fully guarantee that if payment is made, the item will be sent, or if the item is sent, the money will be received.
In real life, we have many ways to achieve this.The goal of computer scientists is to automatically enforce contract terms with pre-determined code, without human intervention and third-party intermediaries.
The "intelligence" in smart contracts can be understood as automatic execution according to conditions, without human intervention, automatic or autonomous.
Is a "contract" a good analogy for a smart contract
By its name, isn't a good analogy for a smart contract the "contract" we enter into in our business activities?Actually not.
An apt analogy to a smart contract is the automatic cola vending machine we often use when talking about the computer term "finite state machine" or "state machine":
- We put a coin into the Coke dispenser and clicked the Coke out button.
- The vending machine releases a can of Coke from the outlet.
- The vending machine is restored to its original state.
Saab also stated in his 1997 article that the original ancestor of smart contracts was the humble vending machine.
In the Ethereum white paper, Vitalik also specifically pointed out that the "contract" here should not be understood as something that needs to be executed or obeyed, but as an "autonomous agent" that exists in the execution environment of Ethereum(autonomous agents), which have their own ethereum accounts, they receive the transaction information and are equivalent to being stabbed, and then automatically execute a piece of code.
Vitalik is the founder of Ethereum, the famous "Vitalik".
We can also look at it this way:
- What the blockchain stores is "state" and smart contracts are how it is used for state transitions.
- Smart contracts are like a special "clock" that turns the world from "synchronous" to "asynchronous".
Smart Property: Using Smart Contracts to Control Physical Assets
In the smart contracts paper, Szabo also discusses how smart contracts can be used for physical assets, forming so-called smart properties.
The so-called smart property is the property controlled by the smart contract program according to the set rules.Saab exemplifies the following:
- For example, to prevent theft of a car, the car will not activate unless the owner is determined to complete the correct Challenge Response Protocol.
- For example, if the car was bought with a loan, when the owner cannot repay the loan, the smart contract will automatically initiate a seizure order and hand over control of the car keys to the bank.Once the owner pays off the loan, the smart contract removes the seizure order.
The concept of smart assets was later expanded. In the introduction to Bitcoin, there is a saying: Assets controlled by smart contracts on the Bitcoin blockchain, whether physical or digital, are called smart assets.(see picture 1).

Figure 1: Smart Assets: By AreaOnline or offline assets controlled by smart contracts on the blockchain
Key papers by Nick Szabo:
- 1994, Smart Contracts.
- 1996, Smart Contracts: Building Blocks for Digital Markets.
- 1997, The Idea of Smart Contracts.
边栏推荐
- 再谈“雷克萨斯”安全装置失效!安全手册疑点重重,网友:细思极恐
- 请问应该用什么关键字将内容主题设置为 dark 呢
- 【Star项目】小帽飞机大战(九)
- 浪潮—英伟达打造元宇宙新方案,虚拟人的故事将再破你的认知
- VL53L0X V2 laser ranging sensor collects distance data serial output
- Enter the SQL Client to create the table, in another node into the SQL Client queries
- 历史拉链数据处理有人做过吗
- Skills required to be a good architect: How to draw a system architecture that everyone will love?What's the secret?Come and open this article to see it!...
- 使用.NET简单实现一个Redis的高性能克隆版(一)
- error C2872: “flann”: 不明确的符号 解决方法
猜你喜欢

MySQL数据库高级使用

numpy

go——并发编程

跨链桥协议 Nomad 遭遇黑客攻击,损失超 1.5 亿美元

Skills required to be a good architect: How to draw a system architecture that everyone will love?What's the secret?Come and open this article to see it!...

完全背包问题

创建C UDR时,指定的HANDLESNULLS的作用是什么?

type="module" you know, but type="importmap" you know

4 g acquisition ModbusTCP turn JSON MQTT cloud platform

成为优秀架构师必备技能:怎样才能画出让所有人赞不绝口的系统架构图?秘诀是什么?快来打开这篇文章看看吧!...
随机推荐
OS层面包重组失败过高,数据库层面gc lost 频繁
【LeetCode—第2题 两数之和 代码详解 】附有源码,可直接复制
如何检索IDC研究报告?
通过GBase 8c Platform安装数据库集群时报错
Activiti产生的背景和作用
完全背包问题
MATLAB程序设计与应用 2.7 结构数据与单元数据
3分钟实现内网穿透(基于ngrok实现)
消费者认可度较高 地理标志农产品为啥“香”
This article understands the process from RS485 sensor to IoT gateway to cloud platform
在 Chrome 开发者工具里通过 network 选项模拟网站的离线访问模式
白帽黑客与留守儿童破壁对“画”!ISC、中国光华科技基金会、光明网携手启动数字安全元宇宙公益展
【AppCube】数字孪生万物可视 | 联接现实世界与数字空间
像用户体验设计师一样思考
跨链桥协议 Nomad 遭遇黑客攻击,损失超 1.5 亿美元
再谈“雷克萨斯”安全装置失效!安全手册疑点重重,网友:细思极恐
Mysql OCP 73 questions
怎么在外头使用容器里php命令
3D激光SLAM:LeGO-LOAM---两步优化的帧间里程计及代码分析
鸿蒙第三次