arXiv:2610.24198cs.SEOct 2026

Manuscript Offprint

arXiv:2610.24198

Towards an Intelligent Decision Engine for Smart Contract Deployment

Oana-Otilia Captarencu, Emanuel Onica, Andrei Arusoaie

Oana-Otilia Captarencu

Faculty of Computer Science

Alexandru Ioan Cuza University

Iași, Romania

oana.captarencu@info.uaic.ro

Emanuel Onica

Faculty of Computer Science

Alexandru Ioan Cuza University

Iași, Romania

emanuel.onica@info.uaic.ro

Andrei Arusoaie

Faculty of Computer Science

Alexandru Ioan Cuza University

Iași, Romania

andrei.arusoaie@info.uaic.ro

Abstract—Layer 2 (L2) blockchain solutions emerged in recent years, predominantly in the Ethereum ecosystem, as a viable option for scaling a main blockchain network (L1). However, the selection of a L2 solution for deploying smart contracts backing blockchain applications is a decision that depends on many factors, such as costs, efficiency, popularity, and stability. We propose here a systematic methodology to help with this decision making process by using a set of relevant metrics and introducing user-defined profiles that capture different priorities among these metrics. We collect the major categories of smart contracts from a community-maintained data source, and we gather transactions for a six months period from three major L2 solutions: Arbitrum, Optimism, and Base. For each contract category and each blockchain, we compute a set of metrics and scores tailored to each user profile. By applying our methodology, we identify a clear bias in the classification, showing which L2 solutions are better suited for particular application types and user profiles.

I. INTRODUCTION

Blockchain networks are distributed platforms that maintain a replicated ledger of immutable transactions, stored in securely chained blocks. Ethereum [1], [2] was the first blockchain to enable the deployment of smart contracts, small programs that run on the network's nodes. The smart contracts can power a variety of applications that benefit from the network's decentralised consensus. Ethereum remains the dominant ecosystem for smart contract development, largely due to its popular tooling and large developer community. Once deployed, a smart contract exposes functions that can be called directly and executed in a decentralised manner. Each call that modifies the contracts' state is, in fact, a transaction, and a fee is charged to prevent network abuse and denial of service attacks.

Ethereum is subject to well-known scalability limitations, particularly regarding transaction fees and the number of transactions it can process per second. To address these limitations Layer 2 (L2) solutions have emerged, with rollups representing the dominant approach. Instead of replacing the Ethereum mainnet, rollups execute transactions and periodically submit resulting state updates to Ethereum's main chain (L1). Thus, they retain the security guarantees of L1 while significantly increasing throughput and lowering costs.

From a developer perspective, one of the most significant advantages of L2 rollups is their compatibility with the existing Ethereum toolchain: smart contracts can be written, tested, and deployed on L2 in the same way as on L1. However, L2 rollups differ in how they compute transaction fees. While L1 fees depend directly on the bytecode of executed contracts, L2 fee models must also account for the cost of posting transaction data to L1. Therefore, L2 rollups introduce non-standard fee variations, leading to cost fluctuations that are not always transparent to developers or even easy to understand. Still, L1 is considerably more volatile than rollups [3], but at the same time, there are higher security risks on L2 [4].

All these raise an important question: given a smart contract, which L2 network is the most suitable deployment target? Smart contracts are not uniform in their behaviour: a contract implementing a token standard, a decentralised exchange (DEX), or a lending protocol, each exhibits a distinct pattern of function calls, storage access, and computational load. Therefore, finding the best deployment target requires understanding how different smart contract categories are affected by each network's costs, efficiency, popularity, and stability. So far, there is no established methodology for finding an answer, and the lack of properly curated data makes decision-making hard. In our work, we propose such a methodology and evaluate its capability towards providing a deployment choice among three of the most popular rollups.

Contributions: The main contributions of this paper are:

  1. a methodology for identifying an L2 rollup to deploy a smart contract, using relevant network metrics;

  2. establishing a set of user profiles that weight these metrics for a multi-faceted evaluation of L2 solutions;

  3. extraction and aggregation of a list of smart contract categories from a community-maintained data source;

  4. extraction of six months of transaction data from three major L2 rollups — Arbitrum, Optimism, and Base;

  5. evaluation of our methodology by computing scores for each metric per contract category, and a comparative analysis of the results.

Paper Organisation: Section II presents background information on the L2 Ethereum ecosystem and related work. Section III introduces our systematic methodology, including the collection of smart contract categories and the main metrics we use. In Section IV, we identify three user profiles and, for each profile, the overall scores per category along with the key findings. Finally, we conclude in Section V.