Font Size: a A A

The Research And Realization Of The Dapp-Devloping-Simulation-Environment Based On The Ethereum

Posted on:2021-09-15Degree:MasterType:Thesis
Country:ChinaCandidate:T Z JiaoFull Text:PDF
GTID:2518306113961929Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Blockchain technology is a new technology rised in the past decade.It has the advantages of decentralization,non-tamperable,open and transparent in data.It is a new application mode of the storage of distributed data,technology of P2P network,mechanism of consensus,and public key cryptography.It is playing a more and more important role in various fields such as the Internet,finance and telecommunications.With the development of blockchain technology,a new product named decentralized application(Dapp)borned,whose original definition is the application running on the distributed network,the information of all participants of it is protected,all participants use it decentralized based on the distributed network.But on the Ethereum blockchain,it is an application based on Smart-Contract,which also meets the original definition of Dapp.Later,some blockchain platforms such as EOS(Enterprise Operation System)and Hyperledger can also support the running of Dapp.Although these platforms can support the running of Dapp,the process of developing Dapp based on these platforms is very complex,which requires high technical requirements and large workload for developers.For the development of Dapp runing on the Ethereum,it is necessary to initialize the environment of the Ethereum blockchain.Before the development,it is neccessary to install and call the programming library of Ethereum blockchain to realize the access of programming language to blockchain services,similar to the JDBC(Java Database Connectivity)used to get data from relational database in Java language.The programming language needs to be compatible with the language realized the programming library.Of course,JSON-RPC requests can also be sent directly,but the script is difficult to write and it need to write a large amount of code,which is easy to make mistakes,and is difficult to maintain.So,in general,it is not recommended to write such scripts directly and the programming language may not support sending such scripts.The inconveniences all above will cause the unnecessary time and energy wasted of developers,and also lead to poor maintainability of Dapp developed.When the service of Dapp fails,it is difficult to judge whether it is caused by the not robust of application development,or the blockchain environment error,or the not robust of blockchain programming library.Therefore,only those skilled developers who master the technology and theory of the Blockchain used to devolop,and are familiar with its API and mastered various programming languages can be competent for the development of Dapp,which improves the cost and the time used in the development of Dapp,reduces the efficiency,and makes the upgrade and maintenance of Dapp inconvenient.When upgrading it,the adjust the blockchain environment or programming library it depended on also need to be considered.For this situation,we designed and realized a Dapp-Devloping-Simulation-Environment based on the Ethereum,which is easy to management and control,and can promote the efficiency of Dapp development,need less skill requirements for developers.At the same time,the functions of this platform are encapsulated as API services for network requests such as GET and POST,which can be used by developers when developing a Dapp.The format of the request and return data can be used by most of all programming languages such as Java,C,C++,Python and so on,with the advantage of programming-language-independence,it makes Dapp development as simple and efficient as the development of web front end.Firstly,we studied the theory of how the Ethereum blockchain support the runing of Dapp,analyzed the advantages and disadvantages of the process of the Ethereum blockchain support Dapp to improve and optimize it as the theoretical basis and design inspiration for the design and implementation of this Dapp-Devloping-Simulation-Environment,listed the functions of a platform that can support the development of Dapp.We showed how to improve,optimize and add the functions to improve the efficiency to development Dapp and simplify the development process.Then,we showed how to make this platform can be managed,monitored easily.At the same time,the services of the blockchain was encapsulated as unified and standardized API services that is always running,so that developers only need to use GET,POST request scripts to use these APIs to complete the development of Dapp,so the development of Dapp only needs to design UI and realize specific functions,developers can be competent to develop Dapp and ensure the quality though they know none of Blockchain.After the development of Dapp is completed,it can run on the public chain of the Ethereum just by packaging its code and the APIs' code we encapsulated.Finally,in order to verify that developers can complete the development of Dapp easily,efficiently and ensure the quality of the Dapp developed based on this platform,we completed the development of the decentralized version of electronic-voting-system step by step by this platform,which proved that using this platform can truly simplify the development of Dapp and can improve efficiency,reduce the technical requirements for developers,but can also guarantee the quality of the Dapp developed,which realized the goal of this paper.After the development of this Dapp completed,we described how to deploy it on the public chain of the Ethereum to realize the value of this Dapp.
Keywords/Search Tags:Dapp-Devloping-Simulation-Environment, Dapp development, Blockchain technology, Ethereum
PDF Full Text Request
Related items