Comparison

Layer 2 or Ethereum mainnet: what to build on

A layer 2 executes transactions itself and sends their data to Ethereum, so an action there is usually cheaper while security rests on mainnet. The Solidity code is almost the same everywhere; the differences are withdrawals, who runs the network and where your users already are.

Same Solidity, different trade-offs
Please notePazl develops software on the client’s assignment and does not provide digital asset services: we do not issue, hold or exchange digital assets and do not promise income. Projects that need a licence or registration (issuing digital financial assets, exchange, custody) are built for clients licensed by the National Bank of Kazakhstan or AFSA (AIFC), or for foreign markets. Unsecured digital assets are not a means of payment in Kazakhstan.What the law says →
Comparison

Layer 1 and layer 2 point by point

What changes for the product and the user.

Layer 1 and layer 2 point by pointMainnet (layer 1)Layer 2
What it isEthereum itselfA separate network that extends Ethereum
SecurityIts ownRests on Ethereum: transaction data is posted to layer 1
Fee per actionHigherUsually lower: transactions are batched
Withdrawal to layer 1Not neededThrough a bridge, with a challenge period on optimistic rollups
Code and toolsSolidity, Foundry, HardhatUsually the same: the networks are EVM-compatible
What the law says

How it works

From the ethereum.org and Polygon documentation, read on 15 November 2026.

  • A layer 2 inherits security

    A layer 2 extends Ethereum and inherits its security guarantees. Rollups send transaction data to layer 1 and execute the transactions themselves.[1]

  • Optimistic and ZK rollups

    Optimistic rollups assume transactions are valid and check disputed ones with fault proofs. ZK rollups post a proof of validity for the computation to layer 1.[1]

  • Polygon PoS is a sidechain

    Polygon PoS is described as an EVM-compatible proof-of-stake sidechain for Ethereum. It is often grouped with layer 2s, but its security model is its own.[2]

Breakdown

What we compare when choosing a layer 2

The code is the same; the rest is not.

Where your users areWhich network they already hold wallets and assets on.
WithdrawalsHow long a withdrawal to mainnet takes, and how to explain it on screen.
Who runs the networkWho orders transactions and can upgrade or pause the network, from the project’s own docs.
Contract behaviourWe run your tests on every network on the shortlist.
Which to choose

Where to launch

Decided by what users do and how often.

Mainnet, if
  • Actions are few, and each one matters
  • The contract anchors other networks
  • Partners work on mainnet only
A layer 2, if
  • Actions are many and small
  • Users would notice the mainnet fee
  • Users already hold wallets on that layer 2
Step by step

How we choose

A shortlist, tests, a decision.

  1. Shortlist

    Two or three networks, by users, assets and flows.

  2. Test on each

    Your contracts and the gas per action, network by network.

  3. Decide and design

    Bridges, withdrawals and admin keys.

  4. Launch and monitor

    Deployed from a multisig, then monitored. The development price is in the contract.

Read next

Read next

Networks, comparisons and terms.

Sources

Checked on 15 November 2026

  1. ethereum.org: What is layer 2?
  2. Polygon documentation: PoS

This is not legal advice. Laws change: before launch, check the current version on adilet.zan.kz and talk to a lawyer or accountant.

Questions

Short and to the point.

How do Arbitrum, Optimism and Base differ?

All three are optimistic rollups that send their data to Ethereum. Optimism and Base are built on the OP Stack; Arbitrum has its own. For most contracts the code is the same; the ecosystems, bridges and governance differ.

Is Polygon a layer 2 like the others?

Polygon PoS is an EVM-compatible sidechain with its own validators, so its security model differs from a rollup’s. For many apps that is acceptable, but we explain the difference before you choose.

Can we deploy to several layer 2s at once?

Yes. The same Solidity usually deploys everywhere, but each network needs its own addresses, admin keys, indexing and monitoring, and transfers between them go through bridges. We start with one unless your users are split.

How much does a layer 2 build cost?

There is no separate price in our price list. We name it after the brief and fix it in the contract. Each extra network is priced as extra scope.

Do we need a licence because we use a layer 2?

Not because of the network. Developing software to order is not licensed; what counts is what the product does for users. The status for issuing, exchanging or holding digital assets is the client’s, and their lawyer decides it.

Which networks are you weighing?

Describe the product and users; we reply quickly with a shortlist.

Your selectionLayer 2 choicePrice after the brief
The team gets your request; we reply during business hours.Price fixed in the contract before you pay.No calls unless you ask.
Request a quote
Project budget
Your request goes to the team. We reply by email, no cold calls.

Got a task? Write to us.

Describe your project on WhatsApp or by email. We reply during working hours and name the price after the brief.