跳到主要內容

簡易檢索 / 詳目顯示

研究生: 羅仕欽
Luo, Shih-Chin
論文名稱: 基於以太坊相容區塊鏈實現帳戶抽象化的多用戶共享錢包
Implementing Multi-User Shared Wallets with Account Abstraction on EVM-Compatible Blockchains
指導教授: 陳恭
Cheng, Kung
廖峻鋒
Liao, Chun-Feng
口試委員: 潘美連
Pan, Mei-Lien
學位類別: 碩士
Master
系所名稱: 商學院 - 資訊管理學系
Department of Management Information System
論文出版年: 2024
畢業學年度: 112
語文別: 中文
論文頁數: 47
中文關鍵詞: 以太坊區塊鏈帳戶抽象加密貨幣錢包智能合約
外文關鍵詞: Ethereum, Blockchain, Account Abstraction, Cryptocurrency wallets, Smart Contract
相關次數: 點閱:197下載:7
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 隨著加密貨幣和區塊鏈技術的快速發展,安全和操作便利的加密貨幣錢包已經成為重要的研究領域。在這方面,當前主流的加密貨幣 錢包類型,如分層確定性錢包(HD Wallets)和多方計算錢包(MPC Wallets),儘管在一定程度上提供安全保護,但在使用便利性和安全性 方面仍存在限制。例如,分層確定性錢包依賴單一種子短語來管理密鑰,一旦泄露,用戶的資金便面臨風險;而多方計算錢包則需要用戶 信任錢包提供者的計算資源。現有錢包除了本身特性上的限制外,也被限制只能使用原生幣種來支付交易所需的燃料費,讓使用者體驗不佳。

    為了解決這些問題,本研究提出了一種基於帳戶抽象技術的共享式加密貨幣錢包架構,該架構利用智能合約來實現加密貨幣錢包的功能,也整合第三方服務來提升使用者體驗。本研究使用的功能包括多重簽名,要求多個授權用戶的共同認證來執行交易,從而加強交易安全。支援使用者可以選擇其他加密貨幣來支付燃料費,不再僅限於使 用原生幣種。此外,本架構也整合了相關的服務讓用戶免於記憶繁瑣的私鑰或助記詞,而可以選擇通過社交媒體登錄等更加用戶友好的方法,輕鬆存取他們的錢包。這種架構不僅提高了交易的安全性,降低了私鑰洩露風險,也提升了使用的便利性。


    With the rapid advancement of cryptocurrency and blockchain technology, the development of cryptocurrency wallets that ensure security and operational convenience has become a significant area of research. Current mainstream wallet types, such as Hierarchical Deterministic Wallets (HD Wallets) and Multi-Party Computation Wallets (MPC Wallets), offer a degree of security but still present limitations in usability and safety. For instance, HD Wallets rely on a single seed phrase to manage keys, exposing users' funds to potential risk if the phrase is compromised; MPC Wallets, on the other hand, require users to trust the computational resources of the wallet provider, posing centralization risks. Furthermore, existing wallets are restricted to using native cryptocurrencies for transaction fees, which can detract from user experience.

    To address these challenges, this study introduces a shared cryptocurrency wallet architecture based on account abstraction technology, utilizing smart contracts to implement the functionality of cryptocurrency wallets and integrates third-party services to enhance the user experience.
    This architecture incorporates multi-signature features, requiring the joint authorization of multiple users to execute transactions, thereby enhancing transaction security. It supports the payment of transaction fees in currencies other than the native cryptocurrency, enhancing flexibility for users. Additionally, this framework allows users to access their wallets through more user-friendly methods, such as social media logins, obviating the need to remember cumbersome private keys or mnemonic phrases. This architecture also integrates related services that not only heightens the security of transactions and reduces the risk of private key exposure but also improves overall user convenience.

    第一章 緒論 1
    1.1 研究背景與動機 1
    1.2 研究目的 2
    1.3 研究貢獻 3
    1.4 論文架構 3
    第二章 技術背景與文獻探討 5
    2.1 區塊鏈 5
    2.2 以太坊平台基礎與智能合約 6
    2.2.1 以太坊 6
    2.2.2 智能合約 6
    2.2.3 以太坊的原生帳戶 7
    2.2.4 以太坊交易之組成 7
    2.3 加密貨幣錢包 8
    2.3.1 分層確定性錢包 9
    2.3.2 多方計算錢包 9
    2.3.3 多簽錢包 9
    2.4 帳戶抽象 10
    2.4.1 帳戶抽象架構 10
    2.5 BiconomySDK和ParticleAuth 12
    2.5.1 BiconomyEntryPoint 13
    第三章 系統設計 16
    3.1 系統設計理念 16
    3.2 系統架構 16
    3.2.1 資料庫設計 18
    3.2.2 智能合約設計 20
    3.3 系統主流程 22
    3.3.1 創建錢包流程 22
    3.3.2 驗證與執行交易流程 24
    第四章 系統實作 27
    4.1 實驗環境和開發工具 27
    4.2 程式碼設計 28
    4.2.1 SharedWallet合約設計 28
    4.2.2 ValidationModule合約設計 30
    4.2.3 OwnerManager合約設計 34
    4.3 實作展示 37
    4.3.1 使用者登入 37
    4.3.2 使用者創建SharedWallet 38
    4.3.3 使用者權限管理 39
    4.3.4 錢包介面 40
    4.3.5 使用者發起交易 40
    4.3.6 使用者確認及執行交易 41
    4.4 系統評估及限制 42
    4.4.1 系統評估 42
    4.4.2 系統限制與挑戰 43
    第五章 結論與未來研究方向 44
    5.1 結論 44
    5.2 未來研究方向 45
    參考文獻 46

    Angelo, M. D., & Salzer, G. (2020). Wallet contracts on Ethereum. 2020 IEEE International Conference on Blockchain and Cryptocurrency (ICBC), 1-2.
    Breitner, J., & Heninger, N. (2019). Biased nonce sense: Lattice attacks against weak ECDSA signatures in cryptocurrencies. Springer-Verlag, 3-20.
    Buterin, V. (2014). Ethereum: A next-generation smart contract and decentralized application platform. White Paper, 3(37), 2-1.
    Buterin, V., Weiss, Y., Tirosh, D., Nacson, S., Forshtat, A., Gazso, K., & Hess, T. (2021,September). EIP-4337: Account abstraction using alt mempool. Retrieved from https://eips.ethereum.org/EIPS/eip-4337
    Buterin, V., et al. (2021). EIP-1559: Fee market change for ETH 1.0 chain. Ethereum Improvement Proposals. Retrieved from https://eips.ethereum.org/EIPS/eip-1559
    Gennaro, R., & Goldfeder, S. (2018). Fast multiparty threshold ECDSA with fast trustless setup. In Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security (pp. 1179–1194).
    Kumar Singh, A. K., Hassan, I. U., Kaur, G., & Kumar, S. (2023). Account abstraction
    via singleton entrypoint contract and verifying paymaster. In 2023 2nd International Conference on Edge Computing and Applications (ICECAA) (pp. 1598–1605).
    Nakamoto, S. (2008). Bitcoin: A peer-to-peer electronic cash system. Decentralized Business Review.
    Wang, Q., & Chen, S. (2023). Account abstraction, analysed. In 2023 IEEE International Conference on Blockchain (Blockchain) (pp. 323-331).
    Wood, G. (2014). Ethereum: A secure decentralised generalised transaction ledger. Ethereum Project Yellow Paper, (151).
    Wuille, P. (2012). Hierarchical deterministic wallets. Retrieved from https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki

    QR CODE
    :::