跳到主要內容

臺灣博碩士論文加值系統

(18.97.9.169) 您好!臺灣時間:2024/12/11 14:04
字體大小: 字級放大   字級縮小   預設字形  
回查詢結果 :::

詳目顯示

我願授權國圖
: 
twitterline
研究生:洪恩諒
研究生(外文):En-Liang Hung
論文名稱:基於區塊鏈的智能合約票務系統之實作
論文名稱(外文):IMPLEMENTATION OF A BLOCKCHAIN-BASED TICKETING SYSTEM WITH SMART CONTRACTS
指導教授:陳彥文陳彥文引用關係
學位類別:碩士
校院名稱:國立中央大學
系所名稱:通訊工程學系
學門:工程學門
學類:電資工程學類
論文種類:學術論文
論文出版年:2024
畢業學年度:112
語文別:中文
論文頁數:69
中文關鍵詞:區塊鏈智能合約去中心化售票系統NFT加密貨幣
相關次數:
  • 被引用被引用:0
  • 點閱點閱:33
  • 評分評分:
  • 下載下載:0
  • 收藏至我的研究室書目清單書目收藏:0
隨著區塊鏈技術的快速發展,其在售票系統領域的應用潛力日益受到關
注。然而,現有的基於區塊鏈的票務系統仍面臨著諸多挑戰,如機器人搶票、
黃牛炒賣票券、二級市場不成熟、用戶體驗不佳等。為了應對這些挑戰,本論
文提出了一種創新的基於區塊鏈智能合約的票務管理系統解決方案。
本論文首先深入分析了區塊鏈技術和智能合約的特性,以及它們在票務系 統中的應用優勢。在此基礎上,設計了一套完整的智能合約體系,包括具有特 殊限制之 NFT 票券、多種銷售模式和 NFT 二級市場智能合約,實現了安全、 透明、公平、高效的票務功能。同時,本論文還創新性地利用 ChainLink VRF 實現了鏈上隨機數的生成,以保證隨機抽籤銷售的公平性;採用 IPFS 實現了鏈 下數據的去中心化存儲;並利用 TheGraph 實現了鏈上事件的高效監聽和查詢。
本論文成果對推動區塊鏈技術在票務領域的應用具重要意義,為解決當前 票務系統面臨的諸多問題提供新的思路和方法。未來,還可以進一步探索智能 合約在更複雜場景下的設計優化、與去中心化身份( Decentralized Identity,DID ) 系統的結合,以提高系統的適用性和擴展性,並拓展至更多的應用場景,如體 育賽事、演唱會、展覽等領域。
With the rapid development of blockchain technology, its potential for application in the ticketing system domain has attracted increasing attention. However, existing blockchain-based ticketing systems still face numerous challenges, such as ticket snatching by bots, ticket scalping, immature secondary markets, and poor user experience. To address these challenges, this research proposes an innovative ticket management system solution based on blockchain smart contracts.
Firstly, this research thoroughly analyzes the characteristics of blockchain technology and smart contracts, as well as their advantages in ticketing systems. On this basis, a comprehensive smart contract system is designed, including NFT tickets with special restrictions, various sales models, and NFT secondary market smart contracts, realizing secure, transparent, fair, and efficient ticketing functions. Moreover, this research utilizes ChainLink VRF to generate on-chain random numbers, ensuring the fairness of random draw sales; employs IPFS for decentralized off-chain data storage; and leverages TheGraph for efficient on-chain event monitoring and querying.
The results of this research have significant implications for promoting the application of blockchain technology in the ticketing field, providing new ideas and methods to solve the many problems faced by current ticketing systems. In the future, further exploration can be conducted on optimizing smart contract design in more complex scenarios, integrating with decentralized identity systems to enhance the system's applicability and scalability, and expanding to more application scenarios, such as sports events, concerts, exhibitions, and other domains.
目錄
摘要.................................................................................................................................i Abstract ..........................................................................................................................ii 目錄...............................................................................................................................iv
圖目錄........................................................................................................................ viii 第一章 緒論............................................................................................................ 1
1.1 研究背景.................................................................................................... 1
1.2 研究動機.................................................................................................... 2
1.3 研究目的.................................................................................................... 3
1.4 章節概要.................................................................................................... 4
第二章 相關研究.................................................................................................... 5
2.1 傳統售票系統............................................................................................ 5
2.1.1 運作方式........................................................................................ 5
2.1.2 銷售方式........................................................................................ 5
2.1.3 優點與缺點.................................................................................... 6
2.2 區塊鏈技術................................................................................................ 7
2.2.1 區塊鏈之透明性與不可篡改性.................................................... 8
2.2.2 區塊鏈之共識機制........................................................................ 9
iv
第三章
3.1 3.2
2.3
2.2.3 區塊鏈之應用................................................................................ 9 智能合約與去中心化應用...................................................................... 10
2.3.1 智能合約的特點.......................................................................... 11
2.3.2 智能合約的應用場景.................................................................. 12
2.3.3 去中心化應用(DApps) .......................................................... 12
以太坊與相關技術.................................................................................. 13
2.4.1 以太坊代幣標準.......................................................................... 14
2.4.2 ChainlinkVRF .............................................................................. 14
2.4.3 IPFS.............................................................................................. 15
2.4.4 TheGraph ..................................................................................... 16
2.4.5 靈魂綁定代幣(Soul Bound Token).............................................17
基於區塊鏈智能合約的售票系統設計.................................................. 19 系統架構設計.......................................................................................... 19 智能合約設計.......................................................................................... 20
3.2.1 NFT 票券設計 ............................................................................. 21
3.2.2 先到先得銷售合約...................................................................... 23
3.2.3 劃位制銷售合約.......................................................................... 24
3.2.4 荷蘭式拍賣合約.......................................................................... 24
2.4
v

第四章
4.1
3.2.5 隨機銷售合約.............................................................................. 27
3.2.6 Allowlist 銷售..............................................................................29
3.2.7 NFT 交易市場合約 ..................................................................... 30
3.2.8 NFT 票券二級市場事件(Event)............................................32
實作結果.................................................................................................. 34
票券鑄造功能(一級銷售).................................................................. 34
4.1.1 先到先得銷售.............................................................................. 35
4.1.2 劃位制銷售.................................................................................. 36
4.1.3 荷蘭式拍賣.................................................................................. 37
4.1.4 隨機抽籤銷售.............................................................................. 39
4.1.5 Allowlist 銷售..............................................................................41
票券轉移功能.......................................................................................... 42 所有權驗證與轉移紀錄.......................................................................... 44 NFT 交易市場(二級市場).................................................................46
4.4.1 標售持有之 NFT 票券 ................................................................ 47
4.4.2 取消及更新標售 NFT 票券 ........................................................ 48
4.4.3 購買標售之 NFT 票券 ................................................................ 49
4.2 4.3 4.4
vi

4.5 IPFS 的應用與數據存儲.........................................................................50
4.6 TheGraph 的查詢與數據顯示 ................................................................51
第五章 結論與展望.............................................................................................. 52 參考文獻...................................................................................................................... 54
[1] Markets and Markets. (2020). Online Event Ticketing Market. Retrieved from
https://www.marketsandmarkets.com/Market-Reports/online-event-ticketing-
market-40131044.html
[2] Securing Admissions: The Role of Blockchain in Event Ticketing. (2023). Retrieved from https://eventshub.app/blockchain-for-event-ticketing-3/
[3] Buterin, V. (2014). A next-generation smart contract and decentralized
application platform. white paper, 3(37), 2-1.
[4] Nguyen, H. Q., Nguyen, H. T., & Pham, T. T. (2023, May). Applying Smart
Contract in Blockchain Technology to Manage the Ticketing Issuance and Ticketing Traceability. In 2023 IEEE Jordan International Joint Conference on Electrical Engineering and Information Technology (JEEIT) (pp. 160-164). IEEE.
[5] Regner, F., Urbach, N., & Schweizer, A. (2019). NFTs in practice–non- fungible tokens as core component of a blockchain-based event ticketing application.
[6] Nakamoto, S. (2008). Bitcoin: A peer-to-peer electronic cash system.
[7] Yli-Huumo, J., Ko, D., Choi, S., Park, S., & Smolander, K. (2016). Where is current research on blockchain technology?—a systematic review. PloS one,
11(10), e0163477.
[8] Narayanan, A., Bonneau, J., Felten, E., Miller, A., & Goldfeder, S. (2016).
Bitcoin and cryptocurrency technologies.
[9] Pilkington, M. (2016). Blockchain technology: principles and applications. In
Research handbook on digital transformations (pp. 225-253). Edward Elgar
Publishing.
[10] Zheng, Z., Xie, S., Dai, H., Chen, X., & Wang, H. (2017, June). An overview of
blockchain technology: Architecture, consensus, and future trends. In 2017
IEEE international congress on big data (BigData congress) (pp. 557-564). Ieee.
[11] Crosby, M., Pattanayak, P., Verma, S., & Kalyanaraman, V. (2016). Blockchain
technology: Beyond bitcoin. Applied innovation, 2(6-10), 71.
[12] Szabo, N. (1997). Formalizing and securing relationships on public networks.
First monday.
54
[13] BlockApps Inc. (2024). Smart Contracts 101: Designing Self-Executing Agreements. Retrieved from https://blockapps.net/blog/smart-contracts-101- designing-self-executing-agreements/
[14] S&P Global. (2023). Smart Contracts Could Improve Efficiency and Transparency In Financial Transactions. Retrieved from https://www.spglobal.com/en/research-insights/special-reports/smart-contracts- could-improve-efficiency-and-transparency-in-financial-transactions
[15] Mougayar, W. (2016). The business blockchain: promise, practice, and application of the next Internet technology. John Wiley & Sons.
[16] Wood, G. (2014). Ethereum: A secure decentralised generalised transaction ledger. Ethereum project yellow paper, 151(2014), 1-32.
[17] Nguyen, C. T., Hoang, D. T., Nguyen, D. N., Niyato, D., Nguyen, H. T., & Dutkiewicz, E. (2019). Proof-of-stake consensus mechanisms for future blockchain networks: fundamentals, applications and opportunities. IEEE access, 7, 85727-85745.
[18] Verifiable Random Function (VRF) https://chain.link/education-hub/verifiable- random-function-vrf
[19] AIOZ Network. (2024, January 18). What is IPFS? Retrieved from
https://aioz.network/blog/what-is-ipfs
[20] How The Graph Works https://thegraph.com/docs/en/about/#how-the-graph-
works
[21] Buterin, V. (2022). Soulbound. Retrieved from
https://vitalik.eth.limo/general/2022/01/26/soulbound.html
[22] Weyl, E. G., Ohlhaver, P., & Buterin, V. (2022). Decentralized society: Finding web3's soul. Available at SSRN 4105763.
[23] 數位部推行數位皮夾,可望整合自然人憑證、駕照等證件. Retrieved from https://www.ithome.com.tw/news/160933
電子全文 電子全文(網際網路公開日期:20260901)
連結至畢業學校之論文網頁點我開啟連結
註: 此連結為研究生畢業學校所提供,不一定有電子全文可供下載,若連結有誤,請點選上方之〝勘誤回報〞功能,我們會盡快修正,謝謝!
QRCODE
 
 
 
 
 
                                                                                                                                                                                                                                                                                                                                                                                                               
第一頁 上一頁 下一頁 最後一頁 top
無相關期刊