MultiversX Tracker is Live!

zkSync 2.0: An advanced next-gen smart contract platform that delivers 100,000 TPS in 2021

All Cryptocurrencies

by COINS NEWS 263 Views

Apologies for the slightly clickbaity headline, but it's actually true.

The alpha version of zkSync 2.0 is now live on testnet. Most of the crypto world seems to be sleeping on zkSync 2.0 - this is without any doubt the most advanced smart contract platform ever released. Bold statement? By the way, I know why it's not being shilled to kingdom come - because it doesn't have a token yet and thus there's no incentive to form shill armies. But there will be a zkSync token - this is your opportunity to get some serious "alpha" before the token comes and said shill armies form.

zkSync 2.0 is the first programmable ZK rollup. StarkNet is the other one, though it's releasing after zkSync 2.0. I like to joke rollups are "4th gen blockchains" but this is actually true - this is the greatest revolution in blockchain tech since the #2-project-that-shall-not-be-named in 2015 and will cause a paradigm shift through the industry. More bold statements? Here's why.

I'm not going to dive into how rollups work, as it's covered in the post linked above, but in a nutshell, these are new blockchain constructions that upend the blockchain trilemma by offering massive scalability, decentralization and security. You get the same uncompromised security and decentralization of L1 - in this case #2-project-that-shall-not-be-named - but now with great scalability. zkSync 2.0 will scale to 1,000 to 5,000 TPS, depending on the complexity of the transaction. zkSync 2.0 is an LLVM-based smart contract platform that natively supports Rust (not yet, but on the roadmap), Zinc (their Rust-like programming language) and importantly EVM programming languages like Solidity, Yul and Vyper. You can directly deploy code from EVM chains like Ethereum with minimal changes. Unlike optimistic rollups, ZK rollups like zkSync 2.0 have instant withdrawals and objective finality limited only by batch frequency. Optimistic rollups are great tech, but ZK rollups are once-in-a-generation magical tech that takes things to the next level.

So where does the 100,000 TPS come from? This is the clever bit. zkSync 2.0 also has its own consensus mechanism for data availability, called zkPorter, that can significantly accelerate throughput without being bottlenecked by L1. So while zkSync 2.0 does up to 1,000 to 5,000 TPS in rollup mode, it'll accelerate to 25,000 to 100,000 TPS in zkPorter mode. Of course, you're relying on zkSync's consensus mechanism, so it's much less secure or decentralized than rollups which leverage L1. Users can opt in to either zkPorter or zkRollup - zkPorter offers negligible cost but lower security; while zkRollup mode offers maximum security and still low cost. zkPorter is actually still more secure than other L1s, as worst case your funds can only be confiscated, but not stolen or spent.

So what does this mean for the end user? Very cheap gas fees, with a very similar user experience to the #2-project-that-shall-not-be-named. You have the choice between zk Rollup (low gas fees, let's say $0.3, with the maximum possible security) or zk Porter (negligible fees, let's say $0.003, though with lower security but still greater than sidechains and other L1s). It's important to note, however, that this is tech on the absolute bleeding-edge and will need time to be battle-tested.

Here's when things get very, very interesting. With data sharding in 2022, the #2-project-that-shall-not-be-named will bring massive data availability directly to L1. So you'll get 100,000+ TPS on the ZK rollup without any compromises whatsoever! So you'll get your negligible fees backed fully by the massive security and decentralization of the by-then-possibly-#1-project-that-shall-not-be-named.

Finally, before you say "Oh, but my pet chain does 1 million TPS!". Oh, no, it doesn't, it actually does 7 TPS. Artificially inflating TPS number using state channels - which can theoretically do infinite TPS - is a complete lie. By this logic Bitcoin can do 1 billion TPS - Lightning is also a state channel, and there's nothing stopping two parties from exchanging 1 billion transactions ad nauseum. Yes, I'm deliberately oversimplifying things - it's to make a point.

zkSync 2.0 is set to launch this summer, if all goes well, with the zkPorter option set for fall. There's stiff competition for zkSync 2.0, with Arbitrum, Optimistic Ethereum and StarkNet all releasing in similar timeframes (Arbitrum is first, of course), with the likes of OMGX and Polygon possibly joining the fray as well. The rollup space is the place where the most intense competition is happening - this will dictate the crypto markets over the coming months.

submitted by /u/Liberosist
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments