Research on Automatic Commodity Trading Method based on Smart Contract

A. Amoo
{"title":"Research on Automatic Commodity Trading Method based on Smart Contract","authors":"A. Amoo","doi":"10.21742/ijsbt.2018.6.2.04","DOIUrl":null,"url":null,"abstract":"Blockchain is a network-based technical solution for a set of distributed ledgers that are collectively maintained through decentralization and trustlessness. A smart contract is the most representative application of the blockchain from the 1.0 stage to the 2.0 stage, and it plays an important role in the construction of decentralized applications. According to the characteristics of blockchain without center and trustlessness, this article designs a commodity transaction smart contract based on blockchain technology. The release and execution of the smart contract in this article is implemented on the Ethereum private chain, and the transfer and payment functions of Ethereum are executed through the lightweight wallet plug-in Metamask of the Chrome browser. The execution of the smart contract is tested in the test network, and the operation of the smart contract is completed in the form of gas payment. Gas is the calculation work measurement for executing transactions in Ethereum, and there is a conversion relationship with Ether. The more Gas is paid when each contract is executed, the higher the chance of being packaged and stored first. The transaction model proposed in this paper realizes the decentralization of the system, the transaction and contact information is open, transparent, and non-tamperable, and the contract is automatically stored and executed. This design can greatly increase the transaction speed and gradually reach the performance of a centralized network. And providing an enterprise-level blockchain operating system makes application development and deployment easier.","PeriodicalId":448069,"journal":{"name":"International Journal of Smart Business and Technology","volume":"2012 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-12-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Smart Business and Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.21742/ijsbt.2018.6.2.04","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Blockchain is a network-based technical solution for a set of distributed ledgers that are collectively maintained through decentralization and trustlessness. A smart contract is the most representative application of the blockchain from the 1.0 stage to the 2.0 stage, and it plays an important role in the construction of decentralized applications. According to the characteristics of blockchain without center and trustlessness, this article designs a commodity transaction smart contract based on blockchain technology. The release and execution of the smart contract in this article is implemented on the Ethereum private chain, and the transfer and payment functions of Ethereum are executed through the lightweight wallet plug-in Metamask of the Chrome browser. The execution of the smart contract is tested in the test network, and the operation of the smart contract is completed in the form of gas payment. Gas is the calculation work measurement for executing transactions in Ethereum, and there is a conversion relationship with Ether. The more Gas is paid when each contract is executed, the higher the chance of being packaged and stored first. The transaction model proposed in this paper realizes the decentralization of the system, the transaction and contact information is open, transparent, and non-tamperable, and the contract is automatically stored and executed. This design can greatly increase the transaction speed and gradually reach the performance of a centralized network. And providing an enterprise-level blockchain operating system makes application development and deployment easier.
基于智能合约的商品自动交易方法研究
区块链是一种基于网络的技术解决方案,用于一组分布式账本,这些账本通过去中心化和无信任来共同维护。智能合约是区块链从1.0阶段到2.0阶段最具代表性的应用,它在去中心化应用的构建中起着重要的作用。根据区块链无中心、无信任的特点,设计了一种基于区块链技术的商品交易智能合约。本文中的智能合约的发布和执行是在以太坊私链上实现的,以太坊的转账和支付功能是通过Chrome浏览器的轻量级钱包插件Metamask来执行的。在测试网络中测试智能合约的执行情况,并以gas支付的形式完成智能合约的操作。Gas是在以太坊中执行交易的计算工作量度量,与以太币存在转换关系。每份合同执行时支付的Gas越多,首先打包和储存的可能性就越大。本文提出的交易模型实现了系统的去中心化,交易和联系信息是公开、透明、不可篡改的,合同是自动存储和执行的。这种设计可以大大提高交易速度,逐渐达到中心化网络的性能。提供企业级区块链操作系统使应用程序的开发和部署更加容易。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信