Towards Saving Blockchain Fees via Secure and Cost-Effective Batching of Smart-Contract Invocations
- 17 January 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 49 (4) , 2980-2995
Abstract
This paper presents iBatch , a middleware system running on top of an operational Ethereum network to enable secure batching of smart-contract invocations against an untrusted relay server off-chain. iBatch does so at a low overhead by validating the server's batched invocations in smart contracts without additional states of user nonces. The iBatch mechanism supports a variety of policies, ranging from conservative to aggressive batching, and can be configured adaptively to the current workloads. iBatch automatically rewrites smart contracts to integrate with legacy applications and support large-scale deployment. We built an evaluation platform for fast and cost-accurate transaction replaying and constructed real transaction benchmarks on popular Ethereum applications. With a functional prototype of iBatch , we conduct extensive cost evaluations, which shows iBatch saves $14.6\%\sim {}59.1\%$ Gas cost per invocation with a moderate 2-minute delay and $19.06\%\sim {}31.52\%$ Ether cost per invocation with a delay of $0.26\sim {}1.66$ blocks.Keywords
Funding Information
- National Science Foundation (CNS1815814, DGE2104532, CNS2139801)
This publication has 13 references indexed in Scilit:
- The Operational Cost of Ethereum Airdrops2019
- General State Channel Networks2018
- OmniLedger: A Secure, Scale-Out, Decentralized Ledger via Sharding2018
- Möbius: Trustless Tumbling for Transaction PrivacyProceedings on Privacy Enhancing Technologies, 2018
- IKP: Turning a PKI Around with Decentralized Automated Incentives2017
- Under-optimized smart contracts devour your money2017
- TumbleBit: An Untrusted Bitcoin-Compatible Anonymous Payment Hub2017
- A Secure Sharding Protocol For Open Blockchains2016
- On Scaling Decentralized Blockchains2016
- Mixcoin: Anonymity for Bitcoin with Accountable Mixes2014