信息网络安全 ›› 2018, Vol. 18 ›› Issue (11): 8-17.doi: 10.3969/j.issn.1671-1122.2018.11.002

• • 上一篇    下一篇

区块链中的智能合约

马春光1(), 安婧1, 毕伟2, 袁琪3   

  1. 1. 哈尔滨工程大学计算机科学与技术学院,黑龙江哈尔滨 150000
    2. 中思博安科技(北京)有限公司,北京 100088
    3. 齐齐哈尔大学通信与电子工程学院 ,黑龙江齐齐哈尔 161006
  • 收稿日期:2018-07-05 出版日期:2018-11-10 发布日期:2020-05-11
  • 作者简介:

    作者简介:马春光(1974—),男,黑龙江,教授,博士,主要研究方向为密码学、数据安全与隐私、云计算安全、区块链等;安婧(1994—),女,黑龙江,硕士研究生,主要研究方向为区块链;毕伟(1980—),男,黑龙江,博士,主要研究方向为机器学习与数据分析、区块链、密码学、可信协同计算等;袁琪(1973—),女,黑龙江,副教授,博士,主要研究方向为信息安全、区块链、博弈论。

  • 基金资助:
    国家自然科学基金[61472097]

Smart Contract in Blockchain

Chunguang MA1(), Jing AN1, Wei BI2, Qi YUAN3   

  1. 1. School of Computer Science and Technology, Harbin Engineering University, Harbin Heilongjiang 150000, China
    2. Zsbatech Corporation, Beijing 100088, China
    3. College of Communication and Electronic Engineering, Qiqihar University,Qiqihar Heilongjiang 161006, China
  • Received:2018-07-05 Online:2018-11-10 Published:2020-05-11

摘要:

智能合约是部署在区块链上的可执行代码,可不依赖中心机构自动化地代表各签署方执行合约。因其具有强制执行性、防篡改性和可验证性等特点,可以应用到很多场景中。过去几年中,已经出现很多可以部署智能合约的区块链平台,其中一些已经在实际中实施和使用。文章首先对智能合约的定义和性质进行描述;然后分析各个区块链平台中的智能合约,并对应用最广泛的比特币、以太坊和超级账本等区块链系统中的智能合约进行重点阐述;最后指出智能合约存在的问题和解决方法。

关键词: 区块链, 智能合约, 比特币, 以太坊, 超级账本

Abstract:

Smart contracts are executable code that is deployed on the blockchain and can be executed on behalf of the signatories automatically, independent of the central authority. Due to its enforceability, tamper resistance and verifiability, it can be applied to many scenarios. In the past few years, there have been many blockchain platforms where smart contracts can be deployed, some of which have actually been implemented and used. This paper first describes the definition and nature of smart contract, then analyzes the smart contract in each blockchain platform, and the intelligence in the most widely used blockchain systems of Bitcoin, Ethereum and Hyperledger. The contract was highlighted. Finally, the problems and solutions in the smart contract are pointed out.

Key words: blockchain, smart contract, Bitcoin, Ethereum, Hyperledger

中图分类号: