Questions tagged [layer-2]
The layer-2 tag has no summary.
91 questions
0 votes
0 answers
25 views
Building a dYdX v4 Clone — Should I Use MERN + Solidity or MERN + Cosmos SDK?
I’m a developer familiar with centralized exchanges (spot, P2P, perpetuals) and Solidity smart contracts, and My client ask me to build an decentralized exchange (DEX) clone exactly like dYdX v4. Here’...
0 votes
0 answers
20 views
hardhat fork layer2 inconsistency
When testing complex tests with aave and gmx tests often are not consistent, which means I'm forking same block on arbitrum with hardhat and tests results often are not identical, for example when ...
0 votes
2 answers
56 views
Why do we need L2 testnet chains
Theoretically , if the contracts can be tested in l1 testnets like Ethereum sepolia , why do l2 testnet chains exist ?
1 vote
2 answers
51 views
UniswapV3 deployments without the governance on new L3 chains
i am planning to deploy the exact clone of uniswapv3 on a l3 chain which is based on l2(Base mainnet) but as i was doing little research i read a little about the governance contract in uniswap. can ...
3 votes
1 answer
558 views
Error Starting op-geth Node with Archive Mode: "incompatible state scheme
I am following the Optimism documentation to set up a Layer 2 Rollup testnet and have encountered an issue while running my op-geth node. Here’s what I have done so far: Initialized the op-geth node: ...
0 votes
1 answer
100 views
Blockchain Layer 2 Attacks
I'm interested in learning more about blockchain security. I've studied the vulnerabilities in Layer 1 and improved my skills. After focusing on smart contract vulnerabilities in Layer 1, I want to ...
0 votes
1 answer
323 views
How does Layer-2 transactions propagate to centralized sequencer?
I was checking the block production steps for Optimism/Base and this source https://docs.optimism.io/stack/protocol/rollup/overview#block-production has mentioned this: Transactions submitted ...
4 votes
1 answer
865 views
Optimism L1 fee calculation
I've submitted a transaction on BASE, which is one of the OP stack chains. This is the transaction I sent: curl --location 'https://sepolia.base.org' \ --header 'Content-Type: application/json' \ --...