Skip navigation

DSpace

機構典藏 DSpace 系統致力於保存各式數位資料(如:文字、圖片、PDF)並使其易於取用。

點此認識 DSpace
DSpace logo
English
中文
  • 瀏覽論文
    • 校院系所
    • 出版年
    • 作者
    • 標題
    • 關鍵字
  • 搜尋 TDR
  • 授權 Q&A
    • 我的頁面
    • 接受 E-mail 通知
    • 編輯個人資料
  1. NTU Theses and Dissertations Repository
  2. 電機資訊學院
  3. 資訊工程學系
請用此 Handle URI 來引用此文件: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/72357
標題: OurContract:比特幣智能合約的設計
OurContract: A Smart Contract Design on Bitcoin
作者: Hsuan Hsu
許軒
指導教授: 薛智文
關鍵字: 分散式系統,區塊鏈,智能合約,比特幣,以太坊,
distributed system,blockchain,smart contract,Bitcoin,Ethereum,
出版年 : 2018
學位: 碩士
摘要: 以太坊實作了第一個基於區塊鏈的智能合約平臺,並成功促使眾多去中心化應用程式建置於其上。然而,對於比特幣及其衍生區塊鏈,目前尚未有成熟的智能合約功能實作。並且,為了實現智能合約所需的可追蹤帳戶,以太坊區塊鏈採用了帳戶模型而非類似比特幣的未花費交易輸出(unspent transaction output, UTXO)模型,但多少犧牲了用戶隱私。在這篇論文中,我們呈現了一種建構在比特幣上的智能合約平臺,稱為OurContract。我們在UTXO之上添加了帳戶層,以實現可追蹤的帳戶,同時保有UTXO模型的用戶隱私特性。為了使OurContract更實際,我們設計了合約帳戶與使用者之間的幣轉移,以及根據礦工執行合約的消耗來決定交易手續費等機制。為了讓使用者能開發OurContract應用程式,我們提供了一個功能受限的C作為程式語言,稱為C-,及其附帶函式庫用以與區塊鏈進行交互,稱為libourcontract。這項研發不僅能套用於比特幣,也能套用在其他任何基於UTXO模型的區塊鏈。
Ethereum implements the first blockchain-based smart contract platform and successfully brings lots of decentralized applications. For Bitcoin and its derivatives, however, there are currently no mature implementations with smart contracts. Moreover, the Ethereum blockchain adopts the account model instead of the UTXO model as in Bitcoin to achieve account tracking, which is necessary for smart contracts but compromises some user privacy. In this thesis, we present OurContract, an alternative solution to smart contract platform built on the Bitcoin blockchain. We construct an additional account layer on top of the UTXO model to achieve account tracking while preserving the privacy property of the UTXO model. To make OurContract more practical, we design mechanisms to enable coin transfer among contract accounts and users, and we allow transaction fee to be determined according to the cost for miners to execute contracts. For users to develop OurContract applications, we provide a limited version of C, called C-, as the programming language, and an associated library, called libourcontract, for C- programmers to interact with the blockchain. Our work can be applied to not only Bitcoin, but any blockchains based on the UTXO model.
URI: http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/72357
DOI: 10.6342/NTU201803178
全文授權: 有償授權
顯示於系所單位:資訊工程學系

文件中的檔案:
檔案 大小格式 
ntu-107-1.pdf
  目前未授權公開取用
1.08 MBAdobe PDF
顯示文件完整紀錄


系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。

社群連結
聯絡資訊
10617臺北市大安區羅斯福路四段1號
No.1 Sec.4, Roosevelt Rd., Taipei, Taiwan, R.O.C. 106
Tel: (02)33662353
Email: ntuetds@ntu.edu.tw
意見箱
相關連結
館藏目錄
國內圖書館整合查詢 MetaCat
臺大學術典藏 NTU Scholars
臺大圖書館數位典藏館
本站聲明
© NTU Library All Rights Reserved