Development and Integration of dApp with blockchain smart contract Truffle Framework for user interactive applications

R. Dhanvardini, Pavletić-Peršić Martina, R. Vijay, Rengarajan Amirtharajan, Padmapriya Pravinkumar
{"title":"Development and Integration of dApp with blockchain smart contract Truffle Framework for user interactive applications","authors":"R. Dhanvardini, Pavletić-Peršić Martina, R. Vijay, Rengarajan Amirtharajan, Padmapriya Pravinkumar","doi":"10.1109/ICCCI56745.2023.10128406","DOIUrl":null,"url":null,"abstract":"Websites and Web apps have become increasingly crucial over the past decade to daily life. Over the last ten years, websites have increased from three million to over 1.7 billion. Modern centralised digital marketplaces and enterprises provide consumers with an alternative method of selling and purchasing items conveniently. However, disadvantages among the marketplaces include the platform’s potential to arbitrarily block merchants, the fees associated with listing and selling products on the site, and the lack of user data privacy. In this, we propose and demonstrate a decentralised application that takes advantage of the Ethereum blockchain to address all these issues. The Truffle development framework was employed in the creation of the application. An Ethereum smart contract later migrated to the Ethereum network comprised the application’s features. The web3.js API (Application Program Interface) was used to send the user’s input to the Ethereum network after being received through a web interface. The users involved will be able to do transactions with the help of an interactive user interface. The interfacing is done using the Truffle framework, and the transactions are made through MetaMask, where ETH tokens are used. The dApp is created using JavaScript and React JS library. Thus, the integration of the blockchain and with front-end application by interfacing it with web 3.0 helps create a secured, immutable, trusted, and easy-to-use e-commerce website.","PeriodicalId":205683,"journal":{"name":"2023 International Conference on Computer Communication and Informatics (ICCCI)","volume":"17 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-01-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 International Conference on Computer Communication and Informatics (ICCCI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCCI56745.2023.10128406","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Websites and Web apps have become increasingly crucial over the past decade to daily life. Over the last ten years, websites have increased from three million to over 1.7 billion. Modern centralised digital marketplaces and enterprises provide consumers with an alternative method of selling and purchasing items conveniently. However, disadvantages among the marketplaces include the platform’s potential to arbitrarily block merchants, the fees associated with listing and selling products on the site, and the lack of user data privacy. In this, we propose and demonstrate a decentralised application that takes advantage of the Ethereum blockchain to address all these issues. The Truffle development framework was employed in the creation of the application. An Ethereum smart contract later migrated to the Ethereum network comprised the application’s features. The web3.js API (Application Program Interface) was used to send the user’s input to the Ethereum network after being received through a web interface. The users involved will be able to do transactions with the help of an interactive user interface. The interfacing is done using the Truffle framework, and the transactions are made through MetaMask, where ETH tokens are used. The dApp is created using JavaScript and React JS library. Thus, the integration of the blockchain and with front-end application by interfacing it with web 3.0 helps create a secured, immutable, trusted, and easy-to-use e-commerce website.
dApp与区块链智能合约松露框架的开发与集成,用于用户交互应用
在过去的十年中,网站和网络应用程序在日常生活中变得越来越重要。在过去的十年中,网站从300万个增加到超过17亿个。现代集中式数字市场和企业为消费者提供了一种方便的销售和购买物品的替代方法。然而,这些市场的缺点包括平台有可能任意阻止商家,在网站上列出和销售产品的费用,以及缺乏用户数据隐私。在这方面,我们提出并展示了一个去中心化的应用程序,利用以太坊区块链来解决所有这些问题。在应用程序的创建中使用了Truffle开发框架。后来迁移到以太坊网络的以太坊智能合约包含了该应用程序的功能。web3.js API(应用程序接口)用于在通过web界面接收用户输入后将其发送到以太坊网络。所涉及的用户将能够在交互式用户界面的帮助下进行交易。接口使用松露框架完成,交易通过MetaMask进行,其中使用ETH令牌。dApp是使用JavaScript和React JS库创建的。因此,通过将区块链与前端应用程序与web 3.0接口进行集成,有助于创建一个安全、不可变、可信且易于使用的电子商务网站。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信