學術產出-Theses

Article View/Open

Publication Export

Google ScholarTM

政大圖書館

Citation Infomation

題名 去中心化數位貨幣交易記錄與查詢服務:設計與以太坊實作
A Decentralized Digital Currency Tracing Service: Design and Implementation on Ethereum
作者 朱奕寧
Chu, Yi-Ning
貢獻者 郭桐惟
Kuo, Tung-Wei
朱奕寧
Chu, Yi-Ning
關鍵詞 區塊鏈
智能合約
跨鏈技術
Blockchain
Smart Contract
Cross-Chain Technology
日期 2020
上傳時間 4-Jan-2021 11:10:45 (UTC+8)
摘要 在這個數位崛起的時代,區塊鏈是這個時代所造就的新興科技。隨著區塊鏈的發展日漸成熟,該技術也逐漸在金融、物流、穩定幣等各個層面衍生出多樣化的應用與服務。它透過密碼學與分散式系統技術,使區塊鏈中的所有節點彼此交換訊息並共同維護鏈上資料(如交易帳本)。隨著時間的推進,區塊鏈中的資料與交易量不斷成長,因此,如何於龐大的區塊鏈中取得數位貨幣交易紀錄,已成為實務應用上必須面對的問題。為此,本論文設計一去中心化數位貨幣記錄與查詢服務。此服務實作於私有鏈之智能合約中,利用跨鏈技術(見證人模式與中繼者模式)存取於公有鏈上之交易資料,並於智能合約中使用Binary Search演算法,提升「區塊範圍查詢」、「時間範圍查詢」功能之效率。最後,本論文將透過Geth建構此去中心化數位貨幣記錄與查詢服務,並架設一網頁介面以呈現服務內容。
Blockchain is a novel technology, and it has diverse applications and services in various fields such as finance, logistics, and stable coins. Blockchain uses cryptography and decentralized system technology to enable all nodes in the blockchain to exchange messages with each other and jointly maintain chain data such as transaction ledgers. As time progresses, blockchain stores a massive amount of data. Thus, searching data has become an important problem. Therefore, we design a decentralized digital currency tracing service, which is implemented in private blockchain smart contracts. For private blockchain smart contracts to access blockchain that stores the transaction data, we use cross-chain technology such as notary schemes and relays. In addition, we apply binary search to improve the efficiency of our searching functions, including block range query and time range query. Finally, we have implemented our system on Geth, and setup a website to demonstrate our service.
參考文獻 [1]
"Introductiion To Smart Contracts," [Online]. Available: https://ethereum.org/en/developers/docs/smart-contracts/.
[2]
"EIP-20: ERC-20 Token Standard," [Online]. Available: https://eips.ethereum.org/EIPS/eip-20.
[3]
"What Is DeFi?," [Online]. Available: https://www.coindesk.com/what-is-defi.
[4]
S. Nakamoto, "Bitcoin: A peer-to-peer electronic cash system. White paper," 31 October 2008. [Online]. Available: http://bitcoin.org/bitcoin.pdf.
[5]
V. Buterin, "A next-generation smart contract and decentralized application platform. White Paper," 2014. [Online]. Available: https://github.com/ethereum/wiki/wiki/White-Paper.
[6]
"Facebook Libra," [Online]. Available: https://libra.org/en-US/.
[7]
"R3 Corda," [Online]. Available: https://www.corda.net/.
[8]
"BigchainDB," [Online]. Available: https://www.bigchaindb.com/.
[9]
S. Bragagnolo, H. Rocha, M. Denker and S. Ducasse, "Ethereum Query Language," in 2018 IEEE/ACM 1st International Workshop on Emerging Trends in Software Engineering for Blockchain (WETSEB), Gothenburg, Sweden, 2018.
[10]
"Etherscan," [Online]. Available: https://etherscan.io/.
[11]
"Introduction to SQL," [Online]. Available: https://www.w3schools.com/sql/sql_intro.asp.
[12]
"Oraclize(Provable)," [Online]. Available: https://provable.xyz/.
[13]
"Quorum," [Online]. Available: https://consensys.net/quorum/.
[14]
"Hyperledger Fabric," [Online]. Available: https://www.hyperledger.org/.
[15]
"EOSIO," [Online]. Available: https://eos.io/.
[16]
"RSK," [Online]. Available: https://www.rsk.co/.
[17]
"Solidity," [Online]. Available: https://solidity.readthedocs.io/en/latest/.
[18]
"Go Ethereum," [Online]. Available: https://geth.ethereum.org/.
[19]
"Node.js," [Online]. Available: https://nodejs.org/en/.
[20]
"Etherscan - Logs APIs," [Online]. Available: https://etherscan.io/apis#logs.
[21]
"Ethereum-Bridge," [Online]. Available: https://github.com/provable-things/ethereum-bridge.
[22]
"jsmnSol," [Online]. Available: https://github.com/chrisdotn/jsmnSol.
[23]
E. Nyaletey, R. M. Parizi, Q. Zhang and K.-K. R. Choo, "BlockIPFS - Blockchain-Enabled Interplanetary File System for Forensic and Trusted Data Traceability," in 2019 IEEE International Conference on Blockchain (Blockchain), Atlanta, GA, USA, 2019.
描述 碩士
國立政治大學
資訊科學系
107753042
資料來源 http://thesis.lib.nccu.edu.tw/record/#G0107753042
資料類型 thesis
dc.contributor.advisor 郭桐惟zh_TW
dc.contributor.advisor Kuo, Tung-Weien_US
dc.contributor.author (Authors) 朱奕寧zh_TW
dc.contributor.author (Authors) Chu, Yi-Ningen_US
dc.creator (作者) 朱奕寧zh_TW
dc.creator (作者) Chu, Yi-Ningen_US
dc.date (日期) 2020en_US
dc.date.accessioned 4-Jan-2021 11:10:45 (UTC+8)-
dc.date.available 4-Jan-2021 11:10:45 (UTC+8)-
dc.date.issued (上傳時間) 4-Jan-2021 11:10:45 (UTC+8)-
dc.identifier (Other Identifiers) G0107753042en_US
dc.identifier.uri (URI) http://nccur.lib.nccu.edu.tw/handle/140.119/133430-
dc.description (描述) 碩士zh_TW
dc.description (描述) 國立政治大學zh_TW
dc.description (描述) 資訊科學系zh_TW
dc.description (描述) 107753042zh_TW
dc.description.abstract (摘要) 在這個數位崛起的時代,區塊鏈是這個時代所造就的新興科技。隨著區塊鏈的發展日漸成熟,該技術也逐漸在金融、物流、穩定幣等各個層面衍生出多樣化的應用與服務。它透過密碼學與分散式系統技術,使區塊鏈中的所有節點彼此交換訊息並共同維護鏈上資料(如交易帳本)。隨著時間的推進,區塊鏈中的資料與交易量不斷成長,因此,如何於龐大的區塊鏈中取得數位貨幣交易紀錄,已成為實務應用上必須面對的問題。為此,本論文設計一去中心化數位貨幣記錄與查詢服務。此服務實作於私有鏈之智能合約中,利用跨鏈技術(見證人模式與中繼者模式)存取於公有鏈上之交易資料,並於智能合約中使用Binary Search演算法,提升「區塊範圍查詢」、「時間範圍查詢」功能之效率。最後,本論文將透過Geth建構此去中心化數位貨幣記錄與查詢服務,並架設一網頁介面以呈現服務內容。zh_TW
dc.description.abstract (摘要) Blockchain is a novel technology, and it has diverse applications and services in various fields such as finance, logistics, and stable coins. Blockchain uses cryptography and decentralized system technology to enable all nodes in the blockchain to exchange messages with each other and jointly maintain chain data such as transaction ledgers. As time progresses, blockchain stores a massive amount of data. Thus, searching data has become an important problem. Therefore, we design a decentralized digital currency tracing service, which is implemented in private blockchain smart contracts. For private blockchain smart contracts to access blockchain that stores the transaction data, we use cross-chain technology such as notary schemes and relays. In addition, we apply binary search to improve the efficiency of our searching functions, including block range query and time range query. Finally, we have implemented our system on Geth, and setup a website to demonstrate our service.en_US
dc.description.tableofcontents 摘 要 I
ABSTRACT II
目 次 III
圖 次 V
第一章 緒論 1
第二章 技術背景 4
2.1 區塊鏈 4
2.2 智能合約 6
2.3 跨鏈技術 7
2.4 ORACLIZE(PROVABLE)服務 7
第三章 相關研究 10
3.1 BIGCHAINDB 10
3.2 ETHEREUM QUERY LANGUAGE 11
3.3 ETHERSCAN 12
3.4 EVENT LISTENER 13
第四章 系統實作 14
4.1 實作系統架構 14
4.2 智能合約設計 15
4.2.1 智能合約架構 15
4.2.2 Oraclize(Provable)服務與Ethereum-Bridge介紹 17
4.2.2.1 Oraclize(Provable)服務 17
4.2.2.2 Ethereum-Bridge 19
4.2.3 資料處理方式 19
4.2.4 Query功能介紹 22
4.2.5 Query實驗結果 27
4.3 WEB後端設計 28
第五章 系統操作介面與使用流程 29
5.1 新增數位貨幣之合約位址與相關資訊 30
5.2 修改數位貨幣之相關資訊 33
5.3 查找特定數位貨幣之交易紀錄 35
5.4 查找所有已新增之數位貨幣之交易紀錄 39
第六章 討論與結論 40
6.1 討論 40
6.2 結論 41
參考文獻 42
zh_TW
dc.format.extent 3906075 bytes-
dc.format.mimetype application/pdf-
dc.source.uri (資料來源) http://thesis.lib.nccu.edu.tw/record/#G0107753042en_US
dc.subject (關鍵詞) 區塊鏈zh_TW
dc.subject (關鍵詞) 智能合約zh_TW
dc.subject (關鍵詞) 跨鏈技術zh_TW
dc.subject (關鍵詞) Blockchainen_US
dc.subject (關鍵詞) Smart Contracten_US
dc.subject (關鍵詞) Cross-Chain Technologyen_US
dc.title (題名) 去中心化數位貨幣交易記錄與查詢服務:設計與以太坊實作zh_TW
dc.title (題名) A Decentralized Digital Currency Tracing Service: Design and Implementation on Ethereumen_US
dc.type (資料類型) thesisen_US
dc.relation.reference (參考文獻) [1]
"Introductiion To Smart Contracts," [Online]. Available: https://ethereum.org/en/developers/docs/smart-contracts/.
[2]
"EIP-20: ERC-20 Token Standard," [Online]. Available: https://eips.ethereum.org/EIPS/eip-20.
[3]
"What Is DeFi?," [Online]. Available: https://www.coindesk.com/what-is-defi.
[4]
S. Nakamoto, "Bitcoin: A peer-to-peer electronic cash system. White paper," 31 October 2008. [Online]. Available: http://bitcoin.org/bitcoin.pdf.
[5]
V. Buterin, "A next-generation smart contract and decentralized application platform. White Paper," 2014. [Online]. Available: https://github.com/ethereum/wiki/wiki/White-Paper.
[6]
"Facebook Libra," [Online]. Available: https://libra.org/en-US/.
[7]
"R3 Corda," [Online]. Available: https://www.corda.net/.
[8]
"BigchainDB," [Online]. Available: https://www.bigchaindb.com/.
[9]
S. Bragagnolo, H. Rocha, M. Denker and S. Ducasse, "Ethereum Query Language," in 2018 IEEE/ACM 1st International Workshop on Emerging Trends in Software Engineering for Blockchain (WETSEB), Gothenburg, Sweden, 2018.
[10]
"Etherscan," [Online]. Available: https://etherscan.io/.
[11]
"Introduction to SQL," [Online]. Available: https://www.w3schools.com/sql/sql_intro.asp.
[12]
"Oraclize(Provable)," [Online]. Available: https://provable.xyz/.
[13]
"Quorum," [Online]. Available: https://consensys.net/quorum/.
[14]
"Hyperledger Fabric," [Online]. Available: https://www.hyperledger.org/.
[15]
"EOSIO," [Online]. Available: https://eos.io/.
[16]
"RSK," [Online]. Available: https://www.rsk.co/.
[17]
"Solidity," [Online]. Available: https://solidity.readthedocs.io/en/latest/.
[18]
"Go Ethereum," [Online]. Available: https://geth.ethereum.org/.
[19]
"Node.js," [Online]. Available: https://nodejs.org/en/.
[20]
"Etherscan - Logs APIs," [Online]. Available: https://etherscan.io/apis#logs.
[21]
"Ethereum-Bridge," [Online]. Available: https://github.com/provable-things/ethereum-bridge.
[22]
"jsmnSol," [Online]. Available: https://github.com/chrisdotn/jsmnSol.
[23]
E. Nyaletey, R. M. Parizi, Q. Zhang and K.-K. R. Choo, "BlockIPFS - Blockchain-Enabled Interplanetary File System for Forensic and Trusted Data Traceability," in 2019 IEEE International Conference on Blockchain (Blockchain), Atlanta, GA, USA, 2019.
zh_TW
dc.identifier.doi (DOI) 10.6814/NCCU202001856en_US