Ethereum Gas & Lemon juice
The variance in Ethereum gas pricing makes the platform hard to adopt for anyone that need to strategise and plan ahead for sustainable success.
Let's do this step by step
Imagine Ethereum as a giant playground where everyone wants to play games. These games are transactions people want to do, like sending money, playing with unique digital pets, or trading virtual items. But there's a twist – to play these games, and you must pay with "gas."
1. What is Gas??Think of gas as a special token or ticket that you need to use to participate in the games. Each game (transaction) requires a different number of tickets (gas) to play. The more complex the game, the more tickets you need. And just like in real life, tickets cost real money!
2. Gas Auctions:?When you want to play a game (send a transaction) on Ethereum, you have to enter the "gas auction." It's like an exciting bidding game where you compete with other players (users) to get your transaction processed by the Ethereum network.
3. Setting the Bid:?You decide how much you're willing to pay for each ticket (gas price). If you offer more, your transaction will likely get processed faster because the playground referees (miners) prefer higher-paying players.
4. Gas Limit:?You must decide how many tickets (gas limit) you want to buy for your game (transaction). Some games require more tickets than others. If your game needs more tickets than you bid for, it'll be like running out of gas in a car – it won't work!
5. Winning the Auction:?Once you submit your bid (gas price) and the number of tickets you want (gas limit), your bid goes into the auction. When a referee (miner) sees your bid and thinks it's good enough, they pick it up and start processing your game (transaction).
6. Miners' Reward:?The referees (miners) get to keep the tickets you paid for (gas) as their reward for making the game happen. So, they're motivated to pick transactions with higher ticket prices (gas prices) because they'll earn more!
Lemon juice
Now let's dive into variable costs and why they are crucial for any business striving for success. Imagine you have a lemonade stand, and you're selling glasses of lemonade to your friends. Your lemonade business now has two types of costs: fixed and variable.?
Fixed costs stay the same, no matter how much lemonade you make. For example, the cost of your lemonade stand, pitchers, and initial ingredients like lemons and sugar would be fixed costs. On the other hand, variable costs are like "flexible" expenses that change depending on how much lemonade you produce. These might include the cost of additional lemons, sugar, cups, and other ingredients for each glass of lemonade.
Estimating your variable costs is essential because it helps you understand how much each glass of lemonade truly costs. This knowledge is like having a secret superpower that allows you to make better decisions for your business.
How do we reconcile how Ethereum gas pricing works and the requirement for low variance pricing that most users will have?
Any thoughts, insights and hints are very welcome!
Web3 Engineer | DeFi Protocol Architect | Solidity EVM Ethereum | CTO @ Definme AG | ex. Lido | ex. Cisco
1 年In the tokenomics of Web3 services, the gas costs are not borne by the business since the user, who initiates the transaction, pays for it. This pull-model is common in Web3, where users initiate transactions to effect on-chain changes like token transfers. Although gas fees are not directly a business cost, they do impact the final user price of goods, which may affect demand if gas fees become significant compared to the value of the goods. Therefore, businesses consider gas costs while choosing the appropriate blockchain to operate on. Moreover, the technical design plays a vital role in reducing these costs. Implementing off-chain signatures, proofs, compression methods, account abstraction, and other groundbreaking approaches can make the process more efficient. It's fascinating to see how these innovations contribute to optimizing gas usage in the Web3 ecosystem. Thank you for sharing these insights! ??
IT Consultant (IBM) | Blockchain Governance | Digital Assets (CBDC | Web3.0)
1 年Interesting analogy with the lemon juice example. However, we often hear supporters of enterprise solutions on Ethereum that the added value / cost savings (compared to legacy solutions) are much higher than gas (and variance in its cost). What is your view on this?
I’ve seen many strategies: - binge deploy Smart contracts (fund fwd contracts) when costs are low - fixed costs, taking the latency pill and only when you really need it increase the gas price - move away from Ethereum I guess this will always be a problem, we need to move to L2s or sidechains and accept the costs of the safe settlement layer