Index of every page on this site: llms.txt
All skills
Run it yourself

Use when choosing an Ethereum L2, deploying the same app across chains, or moving funds between an L2 and mainnet — which chain fits the binding constraint, what each chain does differently at deploy time, and which widely-held facts about the L2 landscape are now false.

Use this Skill: https://skilld.dev/gh/austintgriffith/ethskills/l2s

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈70 tokens for metadata: the name and description. ≈2.1k when used: this file.

Description uses 3.5% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈277 characters, or 3.5%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Ethereum Layer 2s

Anything datable about an L2 rots fast: fees, block times, finality windows, TVL, which alliance a chain belongs to, whether it still produces blocks. Read the current value off the chain or its own docs before it reaches a plan, an estimate or a runbook. Below is only what a 2026 prior gets backwards, plus the mechanics that are easy to get wrong the first time.

Where the common prior is wrong

Base is no longer on the OP Stack. Announced February 2026, live on mainnet since the Azul upgrade (May 2026): Base runs its own Base Stack with base-reth-node as its only client, and shipped Beryl (June 2026) on its own cadence. It is still an Ethereum L2 and still fine to deploy on — chain id 8453, addresses, deployments and canonical bridge all unchanged. What no longer holds is the shared-governance premise, so do not couple Base to OP Mainnet through anything that assumes a shared stack: Superchain interop, SuperchainERC20, a shared upgrade schedule.

Superchain native interop is not shippable yet. SuperchainERC20 crosschainMint/crosschainBurn, L2ToL2CrossDomainMessenger, CrossL2Inbox and the SuperchainTokenBridge are in active development on devnets and testnets, not live on OP Mainnet. A token that has to move between two chains this quarter needs a layer that exists today — LayerZero OFT, Chainlink CCIP, Hyperlane, Wormhole NTT, or a canonical round trip through L1 — and the design has to say who relays the message and what must be trusted for a transfer to settle.

Celo is an Ethereum L2, not an L1 (migrated to the OP Stack 2025-03-26). Its canonical route to mainnet is the chain's own L2→L1 withdrawal, not a third-party wrapped-asset bridge, and CELO is both the L2 gas token and a plain ERC-20 on L1. Gas there can also be paid in an approved ERC-20 — USDC, USDT, the Mento stablecoins — through the fee-currency field (CIP-64), with no paymaster, bundler or ERC-4337 stack. For users who hold no gas token that is the first thing to reach for.

Polygon zkEVM is switched off. The Mainnet Beta sequencer stopped on 2026-07-03 (planned for 07-01): no new blocks, submitted transactions never confirm, AggLayer withdrawals no longer process — while reads keep answering a frozen final state, which is what a stuck dashboard looks like from outside. Nothing new gets planned there, and an existing deployment is a fund-recovery problem, not a migration: the sunset snapshot and claims interface cover wallet-held balances, so a balance inside a contract has no routine exit.

Robinhood Chain exists, and it can censor force-included transactions. Mainnet since 2026-07-01: an Arbitrum Orbit L2 settling directly to Ethereum with blob DA (not an L3, not AnyTrust), chain id 4663, ETH gas, ~100ms blocks. It is built for tokenized stocks — ERC-20s that trade 24/7, legally debt securities issued by Robinhood Assets (Jersey), not shares, and not available to US persons. The catch: ArbOS 61 transaction filtering lets an authorized filterer reject any tx hash, including transactions force-included from L1, so forced inclusion is not an escape hatch here. L2Beat rates it below Stage 0 (only two whitelisted validators), with no exit window. Run crops/SKILL.md before building anything censorship-sensitive on it; token addresses are in addresses/SKILL.md.

Unichain orders by priority fee, not by arrival time. Its TEE block builder (Rollup-Boost) enforces priority ordering deterministically, alongside a private mempool and revert protection. The fee still buys the position; what the TEE removes is the auction around it. Flashblocks confirm roughly every 200ms.

Exiting to L1

An OP-stack withdrawal is three transactions across two chains, not one send: initiate on the L2, prove on L1 once an output root or dispute game covering that block is posted, finalize on L1 after the challenge window. Both L1 steps are submitted by the operator or their tooling — nothing lands by itself — and the clock starts at prove, not at initiation. Arbitrum (and Orbit chains) differ: initiate on the L2, wait for the assertion covering it to be confirmed, then one L1 transaction executes the outbox message — there is no separate prove step.

The window is per-chain, and usually composite — which is why quoting any single remembered number goes wrong. Celo, read off the portal 2026-08-24: proofMaturityDelaySeconds is 604,800, i.e. 7 days from your prove transaction, while the OP Succinct game's maxChallengeDuration is 302,400 (3.5 days) with a further 302,400 of disputeGameFinalityDelaySeconds after the game resolves. Whichever gate falls later wins, so the real wait is about 7 days — "Celo exits in 3.5 days" is the challenge window quoted on its own. Celo produces a block every 1s. Read both gates live rather than either number: viem's getTimeToProve / getTimeToFinalize do it against the chain's own contracts. ZK rollups are faster but not instant: zkSync Era's execution delay is 24 hours since 2026-10-07.

A fast or intent bridge (Across, Squid, CCIP, LayerZero routes, an exchange hop) buys that wait back for a fee plus a trust assumption beyond Ethereum. Name the assumption when recommending one, and check the route's depth for the actual asset at the actual size — a long-tail gas token at seven figures is where relayer inventory runs out.

Deployment differences

  • Optimistic rollups deploy like mainnet: same bytecode, change the RPC URL and chain id. Use block.timestamp, not block.number, for time — it advances at a different rate, and on Arbitrum returns the L1 block.
  • zkSync Era is retiring EraVM (announced 2026-09, within about six months); native AA and zksolc go with it, and contracts holding funds will need to act. Check the current migration plan before building there. Until then it has two execution paths, and the choice belongs in the estimate before anyone starts: standard solc bytecode through Era's EVM interpreter with stock Foundry or Hardhat, or native EraVM via zksolc (the path being retired) — the only path where no EXTCODECOPY, the 65K instruction limit and pre-deployed non-inlinable libraries apply. Era also has native account abstraction: every account is a contract, paymasters without bundlers. Scroll and Linea are bytecode-compatible — standard solc, deploy like mainnet.
  • Arbitrum Stylus runs Rust, C and C++ compiled to WASM alongside the EVM, callable from Solidity and able to call back, sharing state — the reason to pick Arbitrum when a team already has a Rust routine it will not reimplement. The program must be activated in a second onchain transaction (the ArbWasm precompile) before anything can call it. Arbitrum cites 10-100x lower gas for compute- and memory-heavy code; storage costs the same as the EVM. Measure your own workload before quoting a saving.
  • The same address on several chains comes from CREATE2/CREATE3 with one factory, salt and bytecode. Two independent deployments do not land there on their own, and a shared address is not what makes a messaging layer work.

Choosing a chain

Start from the constraint that actually binds, not a TVL ranking. Mainnet is still right for anything composing with mainnet liquidity — see gas/SKILL.md for that cost call, and addresses/SKILL.md before any token, router or venue address is hardcoded per chain.

The binding constraint Where it points
Existing Rust/C the team will not reimplement Arbitrum (Stylus)
Gasless UX with no bundler stack to run Celo where paying gas in a stablecoin is enough (zkSync Era's native AA retires with EraVM)
Mobile / real-world payments, users holding no gas token Celo (CIP-64 fee currency)
Consumer reach and a direct fiat on-ramp Base
Composing with tokenized stocks (non-US users) Robinhood Chain — read its censorship caveat above first
No multi-day exit to L1 a ZK rollup (Scroll, Linea); check its current delay
Deepest liquidity for a specific pair measure it — quote that pair per chain; do not rank chains

Whatever the table says, confirm the chain is live and the feature is on mainnet before it becomes a commitment. Both have failed inside the last year.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts21d4 checks · Risk SAFE
  • Gen Agent Trust Hub21d

    The skill provides technical information and deployment guidance for Ethereum Layer 2 networks. It covers chain-specific details, withdrawal mechanics, and deployment differences without any malicious code, exfiltration patterns, or unauthorized execution.

  • Socket21d

    No alerts

  • Snyk21d

    Risk: LOW · No issues

  • Runlayer8mo

    1/1 file flagged

Signed by skilld at 47779e7. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 weeks ago.

Activeupdated last month

README badge

README badge for austintgriffith/ethskills/l2s