透過您的圖書館登入
IP:216.73.216.209
  • 學位論文

區塊鏈貿易平台設計實作

Design and Implementation of Blockchain Trading Platforms

指導教授 : 孫天佑

摘要


區塊鏈技術被譽為下一次的工業革命,然而根據DAppRadar的排名,目前國內外DApp的應用前幾名卻仍不離數位貨幣的交易、投票以及遊戲,缺乏一個較為大眾化的應用,因此期望將區塊鏈技術融入日常生活中的交易中,利用區塊鏈的不可變及透明性期望達到一個真正可靠且公開的交易第三方,同時也能作為未來與供應鏈結合的雛型。 本文二到五章會對DApp所需要用到的技術做簡單的介紹,主要藉由Solidity進行智能合約的撰寫,用solc.js進行編譯,配合Infura所託管的節點,發佈置Rinkeby Ethereum Testnet,介面則藉由React進行開發,以MetaMask申請的以太坊帳戶與智能合約進行互動。 第六章則為貿易平台介紹,會先將各個合約中主要的屬性及方法進行介紹,之後進行網頁操作的演示,示範如何透過網頁介面進行合約發佈,新增交易,付款及完結交易等。 最後,DApp在與資料庫相接仍存在功能的不足,登錄驗證也不夠完善,會在最後一章提出改進的方式以及下一步如何更加完善。

關鍵字

區塊鏈 DApp 以太坊 Infura MetaMask 智能合約 貿易平台

並列摘要


The technology of blockchain is often described as the next industrial revolution. According to the reports of DAppRadar, around the globe most applications of DApp center on currency trading, voting and gaming. Large scale application on public issues are still lacking. Thus we hope we can apply blockchain to trading in our daily life. The goal is to utilize the immutability and transparency of blockchain, to provide a truly trustworthy third party audit. In this thesis, we will provide a brief introduction in chapters 2 to 5. We will design smart contract by using Solidity and use solc.js to compile the contracts. We will use Infura to connect to the nodes of Ethereum and then we will deploy our smart contracts to Rinkeby Ethereum Testnet. The web application interface will be implemented with React and we will use MetaMask as our Ethereum client for managing our Ethereum account and payments. In chapter 6, we will present our notion of a blockchain based trading platform. We will discuss our design of smart contracts, including their fields, and methods. Then we will proceed to demonstrate how to deploy smart contracts, conduct a trade, make payments and complete a trade on our web application. Finally, there are still some features that need to be further improve, such as the integration with database, authentication of the web application. We will briefly discuss these issues in the final chapters.

並列關鍵字

Blockchain DApp Ethereum Infura MetaMask smart contract trading platform

參考文獻


[1]DApp排名網站
https://DAppradar.com
[2]Infura官方網站
https://infura.io/dashboard
[3]美國Costco購物網

延伸閱讀