Skip to content

Latest commit

 

History

History
184 lines (123 loc) · 10.3 KB

faq.md

File metadata and controls

184 lines (123 loc) · 10.3 KB

❓ FAQ

What is zkSync?

zkSync is a user-centric, Layer 2, zkRollup platform from Matter Labs. It is a scaling solution for Ethereum, with two different versions, zkSync Era and zkSync Lite.

{% tabs %} {% tab title="zkSync Era" %}

What is zkSync Era?

FeaturezkSync Era (formerly zkSync 2.0)zkSync Lite (formerly zkSync 1.0)
DescriptionzkSync Era is a Zero Knowledge (ZK) rollup that supports generalized EVM compatibility for the Ethereum blockchain.zkSync Lite is a trustless protocol for scalable low-cost payments on Ethereum, powered by zkRollup technology.
MainnetMarch 24, 2023June 18, 2020
PurposeUniversalPayments, NFTs, Atomic Swaps
Smart Contracts

You can learn more about both protocols on L2beat.com. {% endtab %}

{% tab title="zkSync Lite" %}

What is zkSync Lite?

FeaturezkSync Lite (formerly zkSync 1.0)zkSync Era (formerly zkSync 2.0)
DescriptionzkSync Lite is a trustless protocol for scalable low-cost payments on Ethereum, powered by zkRollup technology.zkSync Era is a Zero Knowledge (ZK) rollup that supports generalized EVM compatibility for the Ethereum blockchain.
MainnetJune 18, 2020March 24, 2023
PurposePayments, NFTs, Atomic SwapsUniversal
Smart Contracts

You can learn more about zkSync Lite on L2beat.com. {% endtab %} {% endtabs %}

How Do Fees Work on zkSync?

{% tabs %} {% tab title="zkSync Era" %}

How Do Fees Work on zkSync Era?

In zkSync Era, the way fees are calculated is similar to Ethereum. Fees are needed for:

  1. The work done by the protocol (computational cost).
  2. The cost to put data on-chain (publishing data).
  3. The effects of storage.
  4. Putting data on the L1 chain (publishing to L1).
  5. Creating proofs (proof generation).

The fees for putting data on the L1 chain can change a lot due to volatile L1 gas prices. Because of this, the fees on a L2 will rise and fall with L1 fees. {% endtab %}

{% tab title="zkSync Lite" %}

How Do Fees Work on zkSync Lite?

Fees depend on Ethereum Layer 1 (L1) gas prices because with every zkSync Layer 2 (L2) transaction, we post related data on Layer 1 — this allows us to inherit the security of Ethereum. {% endtab %} {% endtabs %}

How Long are Withdrawal Times?

{% tabs %} {% tab title="zkSync Era" %}

How Long are Withdrawal Times on zkSync Era?

There is currently a 24 hour delay on withdrawals from zkSync Era mainnet to Ethereum L1. You can learn more about the process and reason in our latest blog post

Once the transaction is "Committed" the 24 hour delay starts.

You can check our tutorial for "How to Withrdraw" for details on how to check if your transaction is past the withdrawal delay. {% endtab %}

{% tab title="zkSync Lite" %}

How Long are Withdrawal Times on zkSync Lite?

At peak usage of zkSync, the withdrawal time is about 15 minutes. During lower use, it can take up to 10 hours. Currently, withdrawal times depend on the activity on zkSync, when we finalize blocks, and submit them to L1. {% endtab %} {% endtabs %}

Where Can I See My Funds After a Withdrawal?

{% tabs %} {% tab title="zkSync Era" %}

Where Can I See My Funds After a Withdrawal from zkSync Era?

You can find fully verified withdrawals on Etherscan in the "Internal Transactions" tab*. You will have a transaction from the zkSync Era:Diamond Proxy contract.

* If you withdrew a token other than ETH then you would find the transaction in the "Token Transfers(ERC-20)" tab. {% endtab %}

{% tab title="zkSync Lite" %}

Where Can I See My Funds After a Withdrawal from zkSync Lite?

You can find fully verified withdrawals on Etherscan in the "Internal Transactions" tab*. You will have a transaction from the zkSync contract.

* If you withdrew a token other than ETH then you would find the transaction in the "Token Transfers(ERC-20)" tab. {% endtab %} {% endtabs %}

Can I Send Funds to or From a Centralized Exchange to zkSync?

{% tabs %} {% tab title="zkSync Era" %}

Can I Send Funds to or From a Centralized Exchange to zkSync Era?

No, you cannot send funds to or from a Centralized Exchange (CEX) until the network is supported by the exchange. To prevent loss of funds, please check with the specific exchange for their policies and support before sending funds to or from zkSync Era to a CEX.

Until there is more CEX support for zkSync Era you can use some third-party bridges to deposit funds from a CEX to zkSync. See our Ecosystem page for a list of bridges. {% endtab %}

{% tab title="zkSync Lite" %}

Can I Send Funds to or From a Centralized Exchange to zkSync Lite?

Yes, you can send funds to and from a Centralized Exchange (CEX) to zkSync as long as the CEX supports the zkSync network. However, always ensure to check with the specific exchange for their policies and support. Some third-party bridges allow you to deposit funds from a CEX to zkSync. See our Ecosystem page for a list of bridges. {% endtab %} {% endtabs %}

What is the Account Activation Fee on zkSync Lite?

The account activation fee is a one-time fee to register your account with zkSync. This fee only applies to your first zkSync transaction on zkSync Lite and does not apply to zkSync Era.

On a deeper level, to be better suited for zero-knowledge proofs, zkSync accounts are defined over a different elliptic curve than Ethereum's. Activating your account generates and publishes a new private-public key pair over this curve associated with your Ethereum address.

The registration process happens directly on the Ethereum smart contract and therefore it is an L1 transaction, so the activation fee is to pay the Ethereum miners and not zkSync validators.

ERC-1271 compatible wallets (like Argent) increase this one-time fee because of higher interaction with the zkSync smart contract. This operation is cheaper if you are using a CREATE2 smart-contract-based wallet.

What Do the Statuses Mean for a Transaction?

{% tabs %} {% tab title="zkSync Era" %}

What Do the Statuses Mean for a Transaction on zkSync Era?

  • Indexing - In the mempool but not yet included in a block.
  • Failed - Unverified/failed transaction.
  • zkSync Era Processed, Ethereum Sending - Included in a block but the batch containing the block has not yet been committed.
  • zkSync Era Processed, Ethereum Validating - Included in a block and committed on the Ethereum L1 network.
  • zkSync Era Processed, Ethereum Executing - Included in a block and proven on the Ethereum L1 network.
  • zkSync Era Processed, Ethereum Executed - Included in a block and executed on the Ethereum L1 network. {% endtab %}

{% tab title="zkSync Lite" %}

What Do the Statuses Mean for a Transaction on zkSync Lite?

  • Initiated: the zkSync server has received and processed the transaction. Unless it is a withdrawal, it is ready for immediate use.
  • Committed: the transaction appears in a block that is committed to the L1 smart contract.
  • Verified: the transaction’s block has been proven and verified on the L1 smart contract. {% endtab %} {% endtabs %}

How Long Does a Deposit Take?

A deposit to zkSync is a transaction from Ethereum to zkSync, and it typically takes about 5 minutes or about 10 block confirmations on Ethereum L1. The time can vary based on the congestion of the Ethereum network and the L1 gas fee set for the transaction.

Is There a Token for zkSync?

No

Can I Run a Validator or a Node for zkSync?

{% tabs %} {% tab title="zkSync Era" %}

Can I Run a Validator or a Node for zkSync Era?

Not at the moment, but the network is expected to move towards a more decentralized model, allowing users to run their own validators or nodes in the future. {% endtab %}

{% tab title="zkSync Lite" %}

Can I Run a Validator or a Node for zkSync Lite?

No {% endtab %} {% endtabs %}

Is There a List of Projects in the zkSync Ecosystem?

Yes, https://ecosystem.zksync.io/

Why Don't I See My Funds on My Wallet?

{% tabs %} {% tab title="zkSync Era" %}

Why Don't I See My Funds on My Wallet for zkSync Era?

For zkSync Era make sure you are connected to the zkSync Era mainnet. If you still don't see your funds, you might need to change display settings to either show or add custom tokens on your wallet interface. You can check MetaMask's "How to display tokens in MetaMask" for more details. {% endtab %}

{% tab title="zkSync Lite" %}

Why Don't I See My Funds on My Wallet for zkSync Lite?

You will not see your zkSync Lite funds on your wallet unless it is integrated with zkSync Lite like Argent.

Since you connect to zkSync Lite via Ethereum mainnet your wallet will show you your funds on Ethereum and you can check your zkSync Lite funds on the zkSync Lite wallet or the zkSync Lite block explorer. {% endtab %} {% endtabs %}