Today’s ZKSwap status: As of 19:00 GMT on April 19, 2021
- TVL $1418 million
- Liquidity $862 million
- Transaction 6580 (24 hrs transactions)
According to data from L2beat, the TVL of ZKSwap occupied 73.6% of the market share of Layer 2’s entire network, far exceeding similar products.
ZKSwap had the first mining production cut at 18:00(GMT+8) today, and the next phase (18:00, April 17–18:00, April 24, GMT+8 time), production will be decreased by 16.6% in BBTC/WBTC, BBTC/ETH, WBTC/ETH liquidity mining and BBTC, WBTC, ETH single-token mining pool.
The ZKSwap forum was launched last week, and we welcome you all to join! You can visit and register at https://forum.zks.org.
Q&A of the Day
In today’s Q&A, we’d like to go through questions brought on our workshop last week:
Q1. 1. Recently there have been problems with AAVE token withdrawals where some of the rollup transactions in completeWithdrawal () call have run out of gas and people had to fix them manually Solutions?
A1. The standard ETH estimate Gas RPC uses binary search to find a suitable gas limit. In the case of ZKS withdrawals, there may be for example 8 withdrawals, but the binary search process may accidentally find a gas limit that makes the transaction go through despite only 6 withdrawals having succeeded. The reason the main transaction doesn’t revert is because of a protection mechanism where if an internal transfer reverts for out-of-gas, other withdraws would still go through. The solution is to modify the estimate Gas RPC to not use binary search, and instead do a naive linear search from an upper gas limit.
Q2. Are these API calls ready on production currently? Does this mean that sites that index DEXes have what they need to list ZKSwap?
A2: About the APIs, yes, absolutely, we are working with most leading DeFi portals atm, and the integration should be completed soon. Developer tools: WIKI: https://en.wiki.zks.org/ API Documentation: https://en.wiki.zks.org/interact-with-zkswap/restful-api
Q3: Do we need to go through bridges to move tokens (on L1) to your layer 2?
A3: No, the L1 and L2 share the same address.
Q4: When will NFT support and all ERC-20 tokens are supported. And will people be able to build DApps leveraging the ZKSwap infrastructure?
A4: All ERC20 tokens will be supported soon. NFT needs more time. The 1993 BSC NFT design is ongoing. Please check our weekly dev updates for more.
Q5: Will more wallets be integrated? Is Metamask for Android working now?
A5: Yes, the Wallet Connect integration is under testing. MetaMask Android support has been fixed, so it’s working.
Q6: Do you plan to support ZKSwap with tokens from multiple EVM compatible chains?
A6: We can support any public blockchain, like BSC soon, All ERC20 support should be soon. NFT will need more time.