Publications-Theses

Article View/Open

Publication Export

Google ScholarTM

NCCU Library

Citation Infomation

Related Publications in TAIR

題名 以區塊鏈智能合約技術實作網路小額借貸平台
Design and Implementation of a Peer-To-Peer Lending System based on Smart Contracts
作者 黃世峰
Huang, Shih-Feng
貢獻者 陳恭
Chen, Kung
黃世峰
Huang, Shih-Feng
關鍵詞 區塊鏈
網路借貸
以太坊
智能合約
比特幣
Blockchain
Peer-to-Peer lending
Ethereum
Smart contract
Bitcoin
日期 2018
上傳時間 12-Feb-2019 16:00:03 (UTC+8)
摘要 金融科技 (Financial technology,也稱為FinTech) ,是指企業運用科技手段使得金融服務變得更有效率,因而形成的一種經濟產業。金融業務經過 600 年來長久的發展,但不是所有的人都能順利地得到金融服務,還是有一部分的資金需求者無法取得金融服務;這時透過網路借貸平台 Peer-To-Peer Lending 正好可以補齊這方面的需求,因此從 2005 年來網路借貸平台在世界各地蓬勃發展,不過網路借貸平台因為集中式管理的問題,容易發生監守自盜的問題,造成平台倒閉。

2008 年中本聰發表了比特幣,2014 年 Vitalik Buterin 創立了以太坊,他們底層所使用的區塊鏈可以提供去中心化的網路架構、智能合約提供履約保證等功能,正巧可以補足網路借貸平台目前遇到的問題。本研究利用以太坊區塊鏈及智能合約實作網路借貸平台,探討區塊鏈應用程式的相關問題。
Financial technology (also known as FinTech) refers to an economic industry in which enterprises use technology to make financial services more efficient. The financial business has developed for a long time in the past 600 years, but not all people can get financial services smoothly, or some of the capital needs can not get financial services; at this time, Peer-To-Peer Lending can be completed through the online lending platform. In this regard, the Internet lending platform has flourished around the world since 2005. However, due to the problem of centralized management, online lending platforms are prone to self-stealing and cause the platform to close down.

In 2008, Nakamoto deployed bitcoin`s original reference implementation. In 2014, Vitalik Buterin founded Ethereum. The blockchain used by the bottom layer can provide a decentralized network architecture, smart contracts to provide perform guarantees, etc., which can complement the network. The problems currently encountered by the lending platform. This study uses the Ethereum blockchain and smart contract implementation Peer-toPeer lending platform to explore issues related to blockchain applications.
參考文獻 [1] Ethereum Community,「Dapp」,Retrieved June 14 2017,from:http://ethdocs.org/en/latest/contracts-and-transactions/developer-tools.html
[2] Ethereum Community,「Ethereum Homestead Documentation」,Retrieved June 14 2017,from:http://ethdocs.org/en/latest/contracts-and-transactions/developer-tools.html
[3] Ethereum Community,「Transaction」,Retrieved June 14 2017,from:http://ethdocs.org/en/latest/contracts-and-transactions/account-types-gas-and-transactions.html#what-is-a-transaction
[4] ethereumbuilders,「Ethereum JSON RPC」,Retrieved June 14 2017,from:https://ethereumbuilders.gitbooks.io/guide/content/en/ethereum_json_rpc.html
[5] Github.com,「keythereum」,Retrieved Oct 4 2016,from:https://github.com/ethereumjs/keythereum
[6] Github.com,「sendRawTransaction」,Retrieved Oct 4 2016,from:https://github.com/ethereum/wiki/wiki/JavaScript-API#web3ethsendrawtransaction
[7] Github.com,「sendTransaction」,Retrieved Oct 4 2016,from:https://github.com/ethereum/wiki/wiki/JavaScript-API#web3ethsendtransaction
[8] Medium Corporation,「POA 私有鏈」,Retrieved Feb 08 2017,from:https://medium.com/taipei-ethereum-meetup/%E4%BD%BF%E7%94%A8-go-ethereum-1-6-clique-poa-consensus-%E5%BB%BA%E7%AB%8B-private-chain-1-4d359f28feff
[9] Medium Corporation,「Private Chain Create」,Retrieved Mar 18 2017,from:https://medium.com/taipei-ethereum-meetup/使用-go-ethereum-1-6-clique-poa-consensus-建立-private-chain-1-4d359f28feffW
[10] Wikipedia,「Ethereum」,Retrieved June 14 2017,from: https://en.wikipedia.org/wiki/Ethereum
[11] Wikipedia,「Node.js」,Retrieved Oct 4 2016,from: https://zh.wikipedia.org/wiki/Node.js
[12] Wikipedia,「認識你的客戶」,Retrieved Oct 14 2016,from:https://zh.wikipedia.org/wiki/認識你的客戶
[13] 中央銀行全球資訊網,「主要國家P2P借貸之發展經驗與借鏡」,上網日期107年10月23日,檢自:https://www.cbc.gov.tw/public/Attachment/892717204371.pdf
[14] 中央銀行全球資訊網,「主要國家P2P借貸之發展經驗與借鏡」,上網日期107年10月23日,檢自:https://www.cbc.gov.tw/public/Attachment/892717204371.pdf
[15] 奇摩理財,「淺談區塊鏈特性」,上網日期107年4月20日,檢自:https://yahoo-cryptocurrency.tumblr.com/post/171782370883/淺談區塊鏈特性
[16] 財團法人金融聯合徵信中心,「金融機構查詢信用資訊說明」,上網日期107年01月23日,檢自:http://www.jcic.org.tw/main_ch/docDetail.aspx?uid=76&pid=47&docid=82
[17] 智庫百科,「區塊鏈 (Block Chain)」,上網日期107年10月23日,檢自:https://wiki.mbalib.com/zh-tw/區塊鏈
[18] 電周文化,「區塊鏈技術演進史」,上網日期107年10月23日,https://www.ithome.com.tw/news/105370
描述 碩士
國立政治大學
資訊科學系碩士在職專班
103971011
資料來源 http://thesis.lib.nccu.edu.tw/record/#G0103971011
資料類型 thesis
dc.contributor.advisor 陳恭zh_TW
dc.contributor.advisor Chen, Kungen_US
dc.contributor.author (Authors) 黃世峰zh_TW
dc.contributor.author (Authors) Huang, Shih-Fengen_US
dc.creator (作者) 黃世峰zh_TW
dc.creator (作者) Huang, Shih-Fengen_US
dc.date (日期) 2018en_US
dc.date.accessioned 12-Feb-2019 16:00:03 (UTC+8)-
dc.date.available 12-Feb-2019 16:00:03 (UTC+8)-
dc.date.issued (上傳時間) 12-Feb-2019 16:00:03 (UTC+8)-
dc.identifier (Other Identifiers) G0103971011en_US
dc.identifier.uri (URI) http://nccur.lib.nccu.edu.tw/handle/140.119/122331-
dc.description (描述) 碩士zh_TW
dc.description (描述) 國立政治大學zh_TW
dc.description (描述) 資訊科學系碩士在職專班zh_TW
dc.description (描述) 103971011zh_TW
dc.description.abstract (摘要) 金融科技 (Financial technology,也稱為FinTech) ,是指企業運用科技手段使得金融服務變得更有效率,因而形成的一種經濟產業。金融業務經過 600 年來長久的發展,但不是所有的人都能順利地得到金融服務,還是有一部分的資金需求者無法取得金融服務;這時透過網路借貸平台 Peer-To-Peer Lending 正好可以補齊這方面的需求,因此從 2005 年來網路借貸平台在世界各地蓬勃發展,不過網路借貸平台因為集中式管理的問題,容易發生監守自盜的問題,造成平台倒閉。

2008 年中本聰發表了比特幣,2014 年 Vitalik Buterin 創立了以太坊,他們底層所使用的區塊鏈可以提供去中心化的網路架構、智能合約提供履約保證等功能,正巧可以補足網路借貸平台目前遇到的問題。本研究利用以太坊區塊鏈及智能合約實作網路借貸平台,探討區塊鏈應用程式的相關問題。
zh_TW
dc.description.abstract (摘要) Financial technology (also known as FinTech) refers to an economic industry in which enterprises use technology to make financial services more efficient. The financial business has developed for a long time in the past 600 years, but not all people can get financial services smoothly, or some of the capital needs can not get financial services; at this time, Peer-To-Peer Lending can be completed through the online lending platform. In this regard, the Internet lending platform has flourished around the world since 2005. However, due to the problem of centralized management, online lending platforms are prone to self-stealing and cause the platform to close down.

In 2008, Nakamoto deployed bitcoin`s original reference implementation. In 2014, Vitalik Buterin founded Ethereum. The blockchain used by the bottom layer can provide a decentralized network architecture, smart contracts to provide perform guarantees, etc., which can complement the network. The problems currently encountered by the lending platform. This study uses the Ethereum blockchain and smart contract implementation Peer-toPeer lending platform to explore issues related to blockchain applications.
en_US
dc.description.tableofcontents 第一章 緒論 1
1.1 研究背景與動機 2
1.2 研究目的與問題 2
1.3 研究成果 3
第二章 文獻探討 5
2.1 網路借貸(Peer-To-Peer Lending) 5
2.2 網路借貸平台 (Peer-To-Peer Lending) 6
2.3 區塊鏈 9
2.3.1 區塊鏈 (Blockchain)沿革 9
2.4 以太坊 (Ethereum) 10
2.4.1 共識機制 (Consensus) 10
2.4.2 EVM (Ethereum Virtual Machine) 11
2.4.2 Smart Contract 11
2.4.3 Dapp (Decentralized Application) 12
第三章 區塊鏈軟體設計探討 13
3.1 系統參與角色 13
3.2 系統流程 15
3.3 系統架構 19
3.4 系統設計 19
3.4.1 私有鏈Private chain (POA) 20
3.4.2 智能合約(Smart Contract)設計 21
3.4.3 Bank : 銀行智能合約 21
3.4.4 Trustee : 融資管理智能合約 25
3.4.5 Creditrating : 信用評分智能合約 29
3.4.6 Loan : 融資案智能合約 35
3.4.7 Bond : 債券智能合約 40
3.4.8 Event : 事件智能合約 43
3.4.9 DApp (Decentralized Application) 47
3.4.10 Ethereum JSON RPC 49
3.4.11 ev-hub:8540 合約事件處理(event handle) 50
3.4.12 tx-manager:8541 合約交易處理 (transaction process) 52
3.4.13 Datanode:8542 資料處理(data handle) 57
3.4.14 Banknode:8543 銀行帳號處理(bank handle) 57
3.4.15 Cronnode:8544 到期付款檢查 63
第四章 系統實作與展示 69
4.1 實作與語言與工具 69
4.2.1 情境模擬 (User Case) 69
第五章 結論與未來研究 71
5.1 結論 71
5.2 未來研究 71
5.3 參考文獻 72
zh_TW
dc.format.extent 1699461 bytes-
dc.format.mimetype application/pdf-
dc.source.uri (資料來源) http://thesis.lib.nccu.edu.tw/record/#G0103971011en_US
dc.subject (關鍵詞) 區塊鏈zh_TW
dc.subject (關鍵詞) 網路借貸zh_TW
dc.subject (關鍵詞) 以太坊zh_TW
dc.subject (關鍵詞) 智能合約zh_TW
dc.subject (關鍵詞) 比特幣zh_TW
dc.subject (關鍵詞) Blockchainen_US
dc.subject (關鍵詞) Peer-to-Peer lendingen_US
dc.subject (關鍵詞) Ethereumen_US
dc.subject (關鍵詞) Smart contracten_US
dc.subject (關鍵詞) Bitcoinen_US
dc.title (題名) 以區塊鏈智能合約技術實作網路小額借貸平台zh_TW
dc.title (題名) Design and Implementation of a Peer-To-Peer Lending System based on Smart Contractsen_US
dc.type (資料類型) thesisen_US
dc.relation.reference (參考文獻) [1] Ethereum Community,「Dapp」,Retrieved June 14 2017,from:http://ethdocs.org/en/latest/contracts-and-transactions/developer-tools.html
[2] Ethereum Community,「Ethereum Homestead Documentation」,Retrieved June 14 2017,from:http://ethdocs.org/en/latest/contracts-and-transactions/developer-tools.html
[3] Ethereum Community,「Transaction」,Retrieved June 14 2017,from:http://ethdocs.org/en/latest/contracts-and-transactions/account-types-gas-and-transactions.html#what-is-a-transaction
[4] ethereumbuilders,「Ethereum JSON RPC」,Retrieved June 14 2017,from:https://ethereumbuilders.gitbooks.io/guide/content/en/ethereum_json_rpc.html
[5] Github.com,「keythereum」,Retrieved Oct 4 2016,from:https://github.com/ethereumjs/keythereum
[6] Github.com,「sendRawTransaction」,Retrieved Oct 4 2016,from:https://github.com/ethereum/wiki/wiki/JavaScript-API#web3ethsendrawtransaction
[7] Github.com,「sendTransaction」,Retrieved Oct 4 2016,from:https://github.com/ethereum/wiki/wiki/JavaScript-API#web3ethsendtransaction
[8] Medium Corporation,「POA 私有鏈」,Retrieved Feb 08 2017,from:https://medium.com/taipei-ethereum-meetup/%E4%BD%BF%E7%94%A8-go-ethereum-1-6-clique-poa-consensus-%E5%BB%BA%E7%AB%8B-private-chain-1-4d359f28feff
[9] Medium Corporation,「Private Chain Create」,Retrieved Mar 18 2017,from:https://medium.com/taipei-ethereum-meetup/使用-go-ethereum-1-6-clique-poa-consensus-建立-private-chain-1-4d359f28feffW
[10] Wikipedia,「Ethereum」,Retrieved June 14 2017,from: https://en.wikipedia.org/wiki/Ethereum
[11] Wikipedia,「Node.js」,Retrieved Oct 4 2016,from: https://zh.wikipedia.org/wiki/Node.js
[12] Wikipedia,「認識你的客戶」,Retrieved Oct 14 2016,from:https://zh.wikipedia.org/wiki/認識你的客戶
[13] 中央銀行全球資訊網,「主要國家P2P借貸之發展經驗與借鏡」,上網日期107年10月23日,檢自:https://www.cbc.gov.tw/public/Attachment/892717204371.pdf
[14] 中央銀行全球資訊網,「主要國家P2P借貸之發展經驗與借鏡」,上網日期107年10月23日,檢自:https://www.cbc.gov.tw/public/Attachment/892717204371.pdf
[15] 奇摩理財,「淺談區塊鏈特性」,上網日期107年4月20日,檢自:https://yahoo-cryptocurrency.tumblr.com/post/171782370883/淺談區塊鏈特性
[16] 財團法人金融聯合徵信中心,「金融機構查詢信用資訊說明」,上網日期107年01月23日,檢自:http://www.jcic.org.tw/main_ch/docDetail.aspx?uid=76&pid=47&docid=82
[17] 智庫百科,「區塊鏈 (Block Chain)」,上網日期107年10月23日,檢自:https://wiki.mbalib.com/zh-tw/區塊鏈
[18] 電周文化,「區塊鏈技術演進史」,上網日期107年10月23日,https://www.ithome.com.tw/news/105370
zh_TW
dc.identifier.doi (DOI) 10.6814/THE.NCCU.EMCS.003.2019.B02en_US