Skip to main navigation Skip to search Skip to main content

IBatch: Saving Ethereum fees via secure and cost-effective batching of smart-contract invocations

  • Yibo Wang
  • , Qi Zhang
  • , Kai Li
  • , Yuzhe Tang
  • , Jiaqi Chen
  • , Xiapu Luo
  • , Ting Chen
    • Syracuse University
    • Hong Kong Polytechnic University
    • University of Electronic Science and Technology of China

    Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

    17 Scopus citations

    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. 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. For cost evaluation, we develop a platform with fast and cost-accurate transaction replaying, build real transaction benchmarks on popular Ethereum applications, and build a functional prototype of iBatch on Ethereum. The evaluation results show that iBatch saves 14.6%-59.1% Gas cost per invocation with a moderate 2-minute delay and 19.06%-31.52% Ether cost per invocation with a delay of 0.26-1.66 blocks.

    Original languageEnglish
    Title of host publicationESEC/FSE 2021 - Proceedings of the 29th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering
    EditorsDiomidis Spinellis
    Pages566-577
    Number of pages12
    ISBN (Electronic)9781450385626
    DOIs
    StatePublished - 20 Aug 2021
    Event29th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering, ESEC/FSE 2021 - Virtual, Online, Greece
    Duration: 23 Aug 2021 → 28 Aug 2021

    Publication series

    NameESEC/FSE 2021 - Proceedings of the 29th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering

    Conference

    Conference29th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering, ESEC/FSE 2021
    Country/TerritoryGreece
    CityVirtual, Online
    Period23/08/21 → 28/08/21

    Keywords

    • Blockchains
    • DeFi
    • cost effectiveness
    • replay attacks
    • smart contracts

    Fingerprint

    Dive into the research topics of 'IBatch: Saving Ethereum fees via secure and cost-effective batching of smart-contract invocations'. Together they form a unique fingerprint.

    Cite this