The battle of Layer 1 chains has been raging on since 2020, in the middle of DeFi Summer. Before the 2021 bull run, with L1 chains, Ethereum was undoubtedly the behemoth of decentralized finance (DeFi). It made sense, since it has first-mover advantage.
But the times, they are a-changin'.
And being the first isn't always good. See, Ethereum's architecture has been creaking under the thousands of dApps built on top of it. In the Ethereum white paper, Vitalik laid out what’s now commonly known as the blockchain trilemma. In essence: You can have speed, scalability, and security, but not all three at once. (Ah the Three S's.) This is the problem that we've been trying to resolve with all the different L1 blockchains.
And one of the most hyped contenders of them all is probably Solana. Sure, Solana is the new kid on the block(chain). But despite being just a baby, it's attracted a horde of pitchfork-holding haters (and smart-money-following VC lovin' investors too). Let's ignore price movement for a second, though. Instead, we should take a closer look and attempt to determine which one is the better blockchain.
Shall we?
Solana vs. Ethereum: A Breakdown
© olieman.eth | Unsplash
Newer doesn't always mean better. In fact, Ethereum's maturity means that it's had time to go live with thousands of decentralized applications (dApps). Many of these dApps have inspired similar projects on other chains as well.
1. Consensus mechanism
© Shubham Dhage | Unsplash
The consensus mechanisms for Solana and Ethereum couldn't be any more different. Bitcoin and Ethereum both use Proof-of-Work (PoW). That's all fine and good for a transactional network like Bitcoin, but that isn't what Ethereum is.
Ethereum's Proof-of-Work consensus is based on an auction model, so users compete by bidding to have their transaction included in the next block. During times of network congestion, you can imagine the nightmarish bidding scenarios this model can create. And insane gas fees on Ethereum can harm transaction volume. Combine this with its PoW consensus mechanism. This involves mining, and mining is energy-intensive. That's why, with Ethereum's Merge (formerly 'Eth2.0'), the network is transitioning to Proof-of-Stake (PoS), purportedly in a couple of months’ time.
Why is PoS believed to be better than PoW? Well, for one, it's less energy-intensive. See, instead of running specialized hardware equipment, validators for PoS consensus need to have a certain minimum amount of native tokens staked in the chain. The amount of ETH you've got staked in the network ensures that you won't act against your own interest. The reasoning is that you wouldn't act as a malicious actor to compromise the same network you're invested in. In exchange, you're rewarded for helping secure the network.
Solana already uses PoS, by the way. And it combines it with this innovative little mechanism called Proof-of-History (PoH). We'll get more into PoH below, when we discuss scalability. For now, know that both SOL and ETH can be staked on their respective networks. But for Solana, combining two consensus mechanisms makes its network highly performant. So what does this mean when a user transacts on the blockchain? Well, it feels like the future. It's fast. (Like, bullet-train, this-doesn’t-feel-like-a-blockchain fast.) And don't even get me started on transaction costs. A transaction fee on Solana is peanuts. 🥜
2. Downtimes
© Raffaele Vitale | Unsplash
As far as downtimes go, Ethereum benefits from being an OG blockchain, having had lots of technical kinks ironed out in its early days. While the network can get congested at times, it never goes down, thanks to being significantly more decentralized than most chains. In fact, it's part of the reason Ethereum has had such a hard time scaling. The project still wants a typical crypto user to be able to run an Ethereum node on normal hardware. Vitalik clearly addressed the limitations of its L1 network in the Ethereum white paper.
Solana, on the other hand, is clearly still experiencing growing pains. To date, the chain has suffered several downtimes since its launch. It's worth looking a bit closer at these incidents.
All the shutdowns appear to have been caused by a Distributed Denial-of-Service (DDOS) Attack. A DDOS attack occurs when a malicious actor attacks a network with the aim of overwhelming it. In two of the cases, the attacker appears to have intentionally targeted the network. The result? Solana was shut down for several hours, undermining confidence in our investors (They could not help but furrow their brows in quiet despair).
Another shutdown was not the result of a direct attack. Instead, during an Initial DEX Offering, swarms of bots appear to have overloaded the network. The network reportedly peaked at 400,000 transactions per second (TPS) (!) by the time of the crash. I didn't know what to be more impressed by when I first read this. Sure, the crash raised a few alarm bells (I've got SOL), and all the headlines focused on the Solana crash. Still. I feel like the papers should have underscored the fact that Solana was able to handle up to 400,000 TPS.
Talk about burying the lede.
3. Transaction Speed
© Chuttersnap | Unsplash
When it comes to transaction speed, Solana takes the cake. In fact, when it comes to the processing of transactions too, Solana is one of the fastest blockchains in the game. This obviously has to do with the network architectures. See, Ethereum prioritized decentralization, whereas Solana focused on throughput. Let's take a look at the numbers.
At present, Ethereum can manage up to 30 TPS. 😢 Compare this with Solana, which can process over 50,000 TPS, without risk of crashing. Want to see how this stacks up against Visa? 65,000 TPS, so the numbers are becoming comparable. Not impressed? Think timescale. Visa has been operational for decades. Blockchains, in contrast, are a nascent technology.
And things are only heating up.
Finally, think these numbers are impressive? Then imagine my face when Ethereum announced that it would be able to process 100,000 TPS post-merge. No freaking way, I thought. Ethereum's only been around a handful of years. It's actually decentralized. And it's claiming it'll be able to process tens of thousands more transactions per second than Visa? (aka the largest credit card institution in the world!)
4. Programming Language
© Tezos | Unsplash
The main programming languages used to develop on Solana are Rust C and C++. In contrast, Solidity is the main programming language for the Ethereum blockchain. Here's a breakdown of Solidity versus Rust, in a nutshell.
First off, Ethereum is the most popular blockchain platform for DeFi and NFTs. Many DeFi dApps have been built on Ethereum first (i.e., with Solidity). Due to Ethereum's popularity, many other L1 blockchains have wanted to emulate this success by allowing developers to simply port over their Solidity-based smart contracts. Specifically, there are a number of Ethereum Virtual Machine (EVM)-compatible blockchains, outside of Ethereum itself, which work with Solidity code. These include popular chains like Fantom Opera, Avalanche Contract Chain (C-Chain), and Binance Smart Chain (BSC). So if you want to try your hand at learning a smart contract language, Solidity is a solid bet. What also helped my consideration was that I was already familiar with web languages like Javascript. If you are too, you'll hit the ground running with Solidity.
Let's compare this to Rust real quick, which currently has fewer blockchain-specific applications. However, a couple of key points work for Rust:
-
It's not a language limited to smart contracts. Rust is used in many off-chain applications, including finance. There are more Rust developers out there in the world than Solidity developers.
-
Rust is gaining popularity. It's currently used by new L1 chains that have gained tons of rapid momentum recently. NEAR is an example.
Keep in mind, though, that it will take you longer to learn Rust. This is because you'll be required to familiarize yourself with the Rust syntax first. (Solidity syntax is super basic.)
5. Scalability
© Alex Wong | Unsplash
When it comes to scalability, the main issue with Ethereum is that PoW takes time and energy to verify. Specifically, all nodes are required to form a consensus to verify the present state of the blockchain. Compare this to Solana, which is a stateless chain.
Solana can afford to be stateless thanks to its PoH consensus. PoH involves timestamping the transactions, which ensures that the transactions are verified in sequential order. And what happens if they're in sequence? You can do away with consensus verification of the present state. Moreover, you can also do away with the mempool. That's the name for the temporary space for blocks that are awaiting validation (It's sort of like a purgatory for blocks).
Doing away with these functions allows Solana to scale much more lightly and easily. Oh, and Solana doesn't need any Layer 2 solutions either. It just works. It does have one major vulnerability though.
The fewer number of nodes do mean that Solana is way more centralized compared to Ethereum. (It's best to think of decentralization on a scale. Not all decentralization is good, and not all centralization is bad. They have their specific use cases, as well as tradeoffs. Another challenge with Ethereum scalability comes in the form of TVL. Sure, when it comes to market capitalization, Ethereum is the clear winner.
But will this remain true in the future?
Other L1 chains have been chewing away at Ethereum's market share. That's why The Merge will make things interesting. For one, I'd like to see whether it will actually launch on time this time. Second, what whole new Pandora's box of problems will it open? This remains to be seen. Another, more serious concern at the moment is whether L2 solutions like Polygon will begin eating away at the TVL of the Ethereum base layer.
Interesting developments. Interesting times.
6. Ecosystem Growth
DeFi Ecosystem
Ethereum and Solana present viable platforms for decentralized applications and smart contract projects. Each with its own perks, developers are fast building utilities on the two blockchains and targeting mainstream relevance. Ethereum is the originator of the DeFi idea and conceived the earliest DeFi projects with the first fully recognized DeFi platform launching on Ethereum in 2015. Solana’s first stablecoin trading platform - Mercurial Finance, launched 6 years later. Both blockchains have seen immense growth since then.
© DefiLlama Ethereum’s TVL chart [on August 8, 2022]
© DefiLlama Solana’s TVL chart [on August 8, 2022]
Decentralized Finance (DeFi) projects on Ethereum blockchain boast a cumulative TVL (Total value locked) of over $30 billion from over 400 tracked DeFi projects at the time of this writing while projects on Solana have amassed a TVL of about $1 billion from 70 tracked projects. At previous peaks, these were well over $100 billion and $12 billion respectively.
Maker DAO – Ethereum’s biggest DeFi project (in terms of value locked), develops and furnishes a decentralized algorithmic stablecoin (DAI) and offers decentralized lending and borrowing services controlled by smart contract protocols. A closely related platform on Solana – Solend, controls a TVL of over $250 million and is the blockchain’s second biggest DeFi project’ only behind staking solution project; Marinade Finance with a TVL of over $300 million.
Even more plausible DeFi projects are leveraging Ethereum and Solana blockchains’ facilities. You’d say Ethereum enjoys a lot of that ‘first to market’ privilege, but despite being slower and charging more fees for transactions, its decentralization and stability appeal to developers and users. In contrast, Solana has an extensive record of timeouts and blockchain-level mishaps. A popular reason why some developers still prefer Ethereum blockchain.
Other factors like maximalist views and the need to benefit from an existing reputation add to Ethereum’s growth speed. Regardless, Solana developers are hard at work and making plausible breakthroughs.
NFT Ecosystem
NFT projects are thriving on both blockchains. Both blockchains have moved billions of dollars in NFT trading and have seen incredible adoption of NFT protocols. . Ethereum’s Bored Ape Yacht Club (BAYC) NFT is arguably one of the most successful NFT project to date, selling for over $300,000 at peak value. Solana’s Monkey Business sold at over 248 SOL floor price at peak.
© CoinGecko Q2 2022 Cryptocurrency Report
There are over 80,000 NFT collections on Ethereum blockchain and well over 10,000 on Solana blockchain. Judging from the statistics above, Ethereum is still the dominant player in the NFT scene, controlling about 83% of the NFT market in June 2022. Mainstream adoption has unarguably influenced this growth, but the viability of both blockchains is the major reason for the exponential climb in digital arts minted on both blockchains.
7. Roadmap
Even in their brilliance, both Ethereum and Solana blockchain still suffer tangible issues. Developers on both blockchains are consistently working on improvements and further optimizations. Ethereum has a stacked map of improvement events for the future, while Solana developers have also announced a couple of plans for the near future and beyond. Both blockchains’ roadmaps are developing and prone to changes. Deviation from set timelines is usual.
Ethereum developers are working on numerous fixes as part of the blockchain’s upgrade. Also known as Serenity, Ethereum’s upgrade is tipped to fix Ethereum’s biggest issues and set the blockchain up for further adoption. Serenity upgrade is dubbed the biggest development on Ethereum blockchain since its inception in 2015. As part of the upgrade, Ethereum’s consensus mechanism will be changed from proof of work to proof of stake. This is expected to improve the blockchain’s scalability, reduce the block size and optimize the overall output. Ethereum’s Ropsten testnet first implemented the switch to proof-of-stake in June 2022 after merging the Beacon chain and mainnet. Ethereum’s mainnet is expected to make this switch in September 2022.
When the Merge happens, Ethereum will be just one step away from finally completing one of the most important deliverables of the Serenity upgrade – Sharding. Sharding technology will also be implemented as part of the Ethereum upgrade. The Sharding idea is to make a blockchain more efficient by partitioning it into lighter units. The sharding technology is expected to be implemented on the Ethereum blockchain in 2023. However, these dates are not specific and there are bound to be variations. Learn more about Ethereum’s upgrade.
Despite the rapid growth and adoption, Solana is still in its earliest development stage and developers are working on delivering smooth functionality as part of the final release. The published roadmap hints at plans to deliver the full mainnet version in the last quarter of 2022.
Solana has also announced plans to build a web3 mobile phone. Solana will partner with privacy-focused tech company – Osom, to produce Solana Saga; a blockchain-based smartphone built on the Solana blockchain. Solana Saga is an improvement from Osom’s OV1 which was expected to be released later in 2022.
Both blockchains working on important improvements and fixes, the projected improvements could see the technological margin between the two chains lessen. According to Ethereum developers, Ethereum will be able to execute 100,000 transactions per second after the Serenity upgrade. Compared to the current speed of 30 transactions per second, this will further speed up developments on the chain. Solana developers also expect to fix the downtime errors and deliver a stable network when the mainnet is fully launched.
Showdown Results
© Leyre | Unsplash
Solana and Ethereum are the two main chains to pay attention to at the moment. While Solana is already blazing fast, it’s still sometimes plagued by network downtime issues. Ethereum, on the other hand, has been chugging along for a while, but is starting to show its age. All eyes are on The Merge, though, and whether it can successfully modernize and scale.
Still, the battle of L1 chains rages on.
If you'd like to see more battles, check out our comparative piece on Cardano vs Ethereum (Tons of maxis in both camps who want to rip each other's heads off.)
Valerio Puggioni
Valerio is a blockchain writer at HODL Content. He lives in Chiang Mai with his partner and dog, and spends his free time building mining rigs and studying Rust.