Lazy Contracts: Alleviating High Gas Costs by Secure and Trustless Off-chain Execution of Smart Contracts
Soroush Farokhnia

TL;DR
This paper introduces 'lazy contracts', a method to reduce high gas costs in blockchain smart contracts by shifting most computation off-chain while maintaining on-chain data for trustless verification, significantly lowering expenses.
Contribution
The paper presents a novel off-chain execution framework for smart contracts that reduces gas costs by over 55%, with mechanisms to ensure trustless dispute resolution and penalize dishonest parties.
Findings
Reduced overall gas usage by 55.4% in real-world Ethereum contracts
Saved approximately 109.9 million USD in gas fees
Ensured trustless dispute resolution and penalty mechanisms
Abstract
Smart contracts are programs that are executed on the blockchain and can hold, manage and transfer assets in the form of cryptocurrencies. The contract's execution is then performed on-chain and is subject to consensus, i.e. every node on the blockchain network has to run the function calls and keep track of their side-effects. In most programmable blockchains, such as Ethereum, the notion of gas is introduced to prevent DoS attacks by malicious parties who might try to slow down the network by performing heavy computations. A fixed cost to each atomic operation, and the initiator of a function call pays the total gas cost as a transaction fee. This helps prevent DoS attacks, but the resulting fees are extremely high. For example, in 2022, on Ethereum alone, there has been a total gas usage of 1.77 Million ETH ~ 4.3 Billion USD. This thesis proposes "lazy contracts" as a solution to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBlockchain Technology Applications and Security · Cryptography and Data Security · Cloud Data Security Solutions
