Abstract
Decentralized applications (DApps) gained traction in the context of the blockchain technology. Ethereum is currently the public blockchain that backs the largest amount of the existing DApps. Onboarding new users to Ethereum DApps is a notoriously hard issue to solve. This is mainly caused by lack of cryptocurrency ownership, needed for transaction fees. Several meta-transaction patterns emerged for decoupling users from paying these fees. However, such solutions are mostly offered via off-chain, often paid relayer services and do not fully address the security issues present in the meta-transaction path. In this paper, we introduce a new meta-transaction architecture that makes use of the Intel Software Guard Extensions (SGX). Unlike other solutions, our approach would offer the possibility to deploy a fee-free Ethereum DApp on a web server that can directly relay meta-transactions to the Ethereum network while having essential security guarantees integrated by design.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
The record of the first SGX meta-transaction relayed via our implementation is available at the following address: https://ropsten.etherscan.io/tx/0xdcb13cdaaf847ddce26307988ac4938c9037e03b747276f46b222df2a42d302b.
References
Aublin, P.L., et al.: TaLoS: secure and transparent TLS termination inside SGX Enclaves (2017). https://github.com/lsds/TaLoS. Accessed 27 Jan 2022
Biconomy (2021).https://docs.biconomy.io/. Accessed 27 Jan 2022
Chandra, S., Aggarwal, S.: Web3: onboarding the next billion users - the road ahead (2022). https://cointelegraph.com/news/web3-onboarding-the-next-billion-users-the-road-ahead. Accessed 31 Mar 2022
Costan, V., Devadas, S.: Intel SGX explained. cryptology ePrint Archive, Report 2016/086 (2016). https://eprint.iacr.org/2016/086. Accessed 27 Jan 2022
DappRadar - The World’s Dapp Store (2021). https://dappradar.com/. Accessed 27 Jan 2022
Ethereum Gas Station Network (GSN) (2021). https://docs.opengsn.org/. Accessed 27 Jan 2022
Ethers.js (2022). https://docs.ethers.io/v5/. Accessed 27 Jan 2022
Gramine (2022). https://gramine.readthedocs.io/en/latest/. Accessed 17 Feb 2022
Griffith, A.T.: Ethereum meta transactions - lowering barriers to drive mass ethereum adoption (2018). https://medium.com/@austin_48503/ethereum-meta-transactions-90ccf0859e84. Accessed 27 Jan 2022
Griffith, A.T.: Native meta transactions (2018). https://medium.com/gitcoin/native-meta-transactions-e509d91a8482. Accessed 31 Mar 2022
Infura transactions (ITX) (2022). https://docs.infura.io/infura/features/transactions. Accessed 17 Feb 2022
Intel software guard extensions SSL (2022). https://github.com/intel/intel-sgx-ssl. Accessed 27 Jan 2022
Khatri, Y.: Ethereum onboarding solution provider UniLogin is shutting down due to high gas fees (2020). https://www.theblockcrypto.com/post/78358/ethereum-onboarding-unilogin-shutting-down-high-gas-fees. Accessed 31 Mar 2022
Native abstractions for Node.js (2022). https://nodejs.org/api/addons.html. Accessed 31 Mar 2022
Ngoc, T.D., et al.: Everything you should know about intel SGX performance on virtualized systems. In: Proceedings of the ACM on Measurement and Analysis of Computing Systems, vol. 3, no. 1, pp. 5:1–5:21 (2019)
Ristenpart, T., Tromer, E., Shacham, H., Savage, S.: Hey, you, get off of my cloud: exploring information leakage in third-party compute clouds. In: Proceedings of the 16th ACM Conference on Computer and Communications Security, CCS 2009, pp. 199–212 (2009)
Rush, N.: Making uPort smart contracts smarter, part 3: fixing user experience with meta transactions (2017). https://medium.com/uport/making-uport-smart-contracts-smarter-part-3-fixing-user-experience-with-meta-transactions-105209ed43e0. Accessed 31 Mar 2022
Sandford, R., et al.: EIP-2771: secure protocol for native meta transactions (2020). https://eips.ethereum.org/EIPS/eip-2771. Accessed 27 Jan 2022
State of the DApps - explore decentralized applications (2022). https://www.stateofthedapps.com/. Accessed 27 Jan 2022
Varadarajan, V., Zhang, Y., Ristenpart, T., Swift, M.: A placement vulnerability study in multi-tenant public clouds. In: Proceedings of the 24th USENIX Conference on Security Symposium, SEC 2015, pp. 913–928 (2015)
Web3.js - ethereum JavaScript API (2020). https://web3js.readthedocs.io/en/v1.7.0/. Accessed 17 Feb 2022
Whinfrey, C.: Gas spectrum transactions (2019). https://medium.com/authereum/gas-spectrum-transactions-bd34b65107b. Accessed 31 Mar 2022
WolfSSL with Intel SGX (2017). https://www.wolfssl.com/wolfssl-with-intel-sgx/. Accessed 27 Jan 2022
Wood, G.: Ethereum: a secure decentralised generalised transaction ledger - yellow paper (2021). https://ethereum.github.io/yellowpaper. Accessed 27 Jan 2022
Zhang, Y., Juels, A., Reiter, M.K., Ristenpart, T.: Cross-tenant side-channel attacks in PaaS clouds. In: Proceedings of the 2014 ACM SIGSAC Conference on Computer and Communications Security, CCS 2014, pp. 990–1003 (2014)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 IFIP International Federation for Information Processing
About this paper
Cite this paper
Onica, E., Amariei, C. (2022). Using SGX for Meta-Transactions Support in Ethereum DApps. In: Eyers, D., Voulgaris, S. (eds) Distributed Applications and Interoperable Systems. DAIS 2022. Lecture Notes in Computer Science, vol 13272. Springer, Cham. https://doi.org/10.1007/978-3-031-16092-9_2
Download citation
DOI: https://doi.org/10.1007/978-3-031-16092-9_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-16091-2
Online ISBN: 978-3-031-16092-9
eBook Packages: Computer ScienceComputer Science (R0)