Questions tagged [l2]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
52 views

How transaction fee is calculated in case of L2?

In case of L1, the transaction fee is typically calculated as the product of gas price and gas usage, i.e., txFee = gasPrice * gasUsage One such example can be seen in this transaction. In which the ...
SYED ASAD KAZMI's user avatar
0 votes
0 answers
15 views

side chain (polygon) and a ZK (polygonZK EVM or ZK sync)

The project have to choose an L2 chain to use as a basis, but is very worried. We are torn between a side chain (polygon) and a ZK (polygonZK EVM or ZK sync). In our project, we have adopted account ...
tjtr's user avatar
  • 1
0 votes
1 answer
18 views

About bridging tokens

Prominent tokens such as shibainu and worldcoin exist in polygon and Op as well as ethereum. Is this a bridge from L1 to L2 by token operators so that tokens can be traded in a more scalable ...
tjtr's user avatar
  • 1
0 votes
0 answers
35 views

How to Identify L2 Bridge Transfers?

How can one identify if a transaction is an L2 bridge transfer based on the L2 data? For instance, in this transaction, though it appears as a 30 ETH transfer within the Base chain where from and to ...
user78124429124's user avatar
2 votes
1 answer
257 views

How to estimate gas cost for a polygon zk evm transaction?

I understand how to estimate gas cost for L2s like Arbitrum and Optimism because their documents provide some details, e.g. total gas cost = L1 poster fee + L2 network fee. But I really cannot find ...
Felix's user avatar
  • 21
2 votes
1 answer
210 views

Can Arbitrum's block timestamp be trusted to the same degree as the L1 time?

L1 blocks cannot be fudged by validators. It is a value that can be safely used by apps. Can that be said about the value of block.timestamp on a L2 like Arbitrum?
Paul Razvan Berg's user avatar
1 vote
1 answer
33 views

Are rollups run by a single sequencer centralized from a censorship point of view?

In other words, can sequencers censor txs on rollups such as Arbitrum or Optimism?
Paul Razvan Berg's user avatar
3 votes
1 answer
453 views

Optimism L2 USDC or USDC.e

I’m trying to build an app that accepts USDC over Optimism L2. Looking on https://optimistic.etherscan.io/tokens There are 2 tokens USDC and USDC.e I imagine that I should use the USDC.e because ...
BigLeo's user avatar
  • 141
1 vote
0 answers
17 views

How do Payment Channel Networks such as Raiden actually increase blockchain scalability?

Question : If a payment channel network that routes multi-hop payments uses HTLC's (hash time locked contracts) which must first lock up funds on-chain and also be redeemed on-chain then how are they ...
Luke Wanless's user avatar
2 votes
2 answers
52 views

Rollup Operators Colluding and Withholding Data?

For Rollups like Optimism and Arbitrum, what happens if the sequencer colludes with a proposer so: The sequencer withholds data The proposer publishes an invalid state update (so he can drain the L1 ...
Rodrigo Herrera Itie's user avatar
0 votes
0 answers
21 views

What exactly is Fuel blockchain?

They describe themselves as execution layer for the modular blockchain, but what exactly does this mean? If they are the execution layer, where are the other functionality/layer? Consensus layer, data ...
Finlay Weber's user avatar
1 vote
0 answers
57 views

What does it mean to run a Polygon zkNode without the zkProver?

I was going through the "Setup Local zkNode" section in the Polygon zkEVM Developer Guides and came across the following line: If you are unable to meet the Prover requirements, you can ...
Ashutosh Pathak's user avatar
0 votes
1 answer
25 views

Can I use zkSync contracts in other EVM compatible chains?

I want to deploy a Paymaster in Polygon. I have followed this tutorial but want to deploy to Mumbai instead of zkSync Testnet. How can I achieve this?
Falcon Stakepool's user avatar
0 votes
0 answers
77 views

Tool or service to sweep extract all coins from a private key on multiple L2 chains?

Over the years I have a bunch of accumulated addresses on Ethereum and different L2's (Arbitrum, Matic, BSC, etc...). Currently I want to just consolidate all these dust amounts into a single address. ...
Patoshi パトシ's user avatar
1 vote
0 answers
56 views

what data of zk rollup blockchain are sent to l1?

I am not clear about how data flow from l2 to l1 in zk rollups. does someone knows what data of l2 are sended to l1?
aakash4dev's user avatar
5 votes
2 answers
228 views

Is Optimism centrally controlled?

Optimism's gas oracle is deployed at 0x420000000000000000000000000000000000000F. Optimism's docs say: "Optimism updates the gas price parameters on chain whenever those parameters change." ...
UTF-8's user avatar
  • 518
2 votes
2 answers
214 views

Reading events from layer 2 blockchains

I'm planning to query a tx using a tx hash on Ethereum and get the events/logs to find out the recipient and sender of the ETH. Is it possible to do so for L2 blockchains like Optimism, ZkSync, ...
att's user avatar
  • 165
1 vote
0 answers
63 views

Is in L2 gas limit much higher than in L1?

Naturally, in a blockchain gas per transaction is limited, because block place and distributed calculating power are scarce resources. Can you point me a Level 2 system, where the gas limit per ...
porton's user avatar
  • 1,774
0 votes
1 answer
29 views

Plasma - "If owner does not care about their asset, then an "invalid" outcome may result"?

From Vitalik's article "An Incomplete Guide to Rollups" (https://vitalik.ca/general/2021/01/05/rollup.html): Additionally, Plasma and channels share a key weakness in common: the game ...
YodaDefi's user avatar
1 vote
0 answers
142 views

what is the best way to compress/decompress data within a solidity smart contract?

I'm working on a l2 optimistic rollup academic project (thesis), where the sequencer would submit the compressed txs as calldata. At a dispute (aka a different post-state), a verifier would challenge ...
seraleo's user avatar
  • 11