当前位置:网站首页>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.
边栏推荐
- 二叉搜索树(搜索二叉树)模拟实现(有递归版本)
- 机器学习(公式推导与代码实现)--sklearn机器学习库
- [华为云在线课程][SQL语法入门][学习笔记]
- 在安装GBase 8c数据库的时候,报错显示“Host ips belong to different cluster”。这是为什么呢?有什么解决办法?
- 从餐桌到太空,孙宇晨的“星辰大海”
- 苏州大学:从PostgreSQL到TDengine
- 图新地球为什么很模糊,白球、看图、下载问题深度剖析
- 【冒泡排序以及奇数偶数排列】
- Matplotlib
- VL53L0X V2 laser ranging sensor collects distance data serial output
猜你喜欢
随机推荐
关于OPENSSL的问题
ScrollView嵌套RecyclerView滚动冲突
ETL data cleaning case in MapReduce
深度学习100例——卷积神经网络(CNN)实现服装图像分类
【Star项目】小帽飞机大战(九)
APENFT FOUNDATION官宣2022艺术梦想基金主题征集
【多线程的相关内容】
用于发票处理的 DocuWare,摆脱纸张和数据输入的束缚,自动处理所有收到的发票
干货!一种被称为Deformable Butterfly(DeBut)的高度结构化且稀疏的线性变换
Analysis of the idea of the complete knapsack problem
如何检索IDC研究报告?
【TypeScript】Why choose TypeScript?
智能合约是什么?
如何将Oracle/MySQL中的数据迁移到GBase 8c中?
玉溪卷烟厂通过正确选择时序数据库 轻松应对超万亿行数据
This article understands the process from RS485 sensor to IoT gateway to cloud platform
3D激光SLAM:LeGO-LOAM---两步优化的帧间里程计及代码分析
一文带你弄懂 CDN 技术的原理
Mysql OCP 74 questions
What is the IDE?Novice with which the IDE is better?









