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

基於Android 虛擬機加速智能合約執行

Accelerate Smart Contract Execution based on Android Runtime

指導教授 : 廖世偉

摘要


近幾年來由於區塊鏈技術的發展,區塊鏈智能合約的應用漸漸的開始被廣泛的了解與應用。此外,區塊鏈智能合約的使用者漸漸地想在智能合約中加入更多加密、驗證的內容,也衍生對合約執行環境的計算產生更多的負擔。在現行的智能合約執行環境,受限於執行環境本身的設計,智能合約的應用十分受限,大都只能執行運算簡單、執行所需時間短的合約內容。 在這篇論文中,我們提出在Gcoin 區塊鏈上提出利用Android 虛擬機作為智能合約的執行環境,藉由Android 虛擬機所提供對程式碼更多的優化以及執行環境本身更有效率的運行合約內容,為負責執行合約的Validators 帶來運行時除了現有的EVM 以外更多元的選項。在這個架構下,我們也克服了由於使用了Android 虛擬機做為智能合約的執行環境,衍生出較長的啟動時間的問題,讓利用Android 虛擬機運行智能合約成為一個可行的解決方案。由於利用了Android 虛擬機,我們也為在搭載Android 的行動裝置在使用區塊鏈技術的應用與智能合約上,帶來的更多的可能性。

關鍵字

智能合約 Gcoin 虛擬機 安卓

並列摘要


According to the development of blockchain technology these years, applications of blockchain smart contract become widely utilizing and understanding. Besides, users that construct smart contract may want to add more features like encryption and validation to the contract. These features bring more computational overhead to smart contract execution environment. In recent smart contract execution environment, usage of smart contract is limited because of the execution environment. Most of them are capable to execute contracts that have low computation overhead and short execution time. In this thesis, we purpose an idea that utilizing Android Runtime as the smart contract execution environment on Gcoin blockchain. By utilizing the optimizations Android Runtime done to the code and more efficient runtime itself, we bring more flexible runtime options to validators, which are responsible for smart contract execution. Under this smart contract architecture, we also overcome long boot time issue which derived from utilizing Android Runtime as smart contract execution environment. And this make utilizing Android Runtime on smart contract execution become a accessible solution. Because of using Android Runtime as the smart contract execution environment, we also bring more possibility to those mobile devices with Android operating system of blockchain and smart contract applications.

並列關鍵字

Smart contract Gcoin virtual machine Android

參考文獻


[7] Y. Hirai. Defining the ethereum virtual machine for interactive theorem provers.
[1] N. Atzei, M. Bartoletti, and T. Cimoli. A survey of attacks on ethereum smart contracts (sok). In International Conference on Principles of Security and Trust, pages 164–186. Springer, 2017.
[2] S.-C. Chan. Smart contract models comparison: Case study on asset exchange. Master’s thesis, NTU, 2017.
[3] E. Community. Ethereum homestead documentation. http://www.ethdocs.org/ en/latest/index.html, 2017.
[4] G. Community. Gcoin white paper english. https://github.com/OpenNetworking/ gcoin-community/wiki/Gcoin-white-paper-English, 2016.

延伸閱讀