What Are Ethereum Blobs and How Can They Be Used on The Graph

in LeoFinancelast month

1_20240508_150533_0000.png

Hello Everyone!!! I hope you are having a great time over there? It's really nice to see you visit my blog today and I must say I'm really happy to have a great personality like you visiting my blog today 😊. Thank you once again 💕❤️

In the upcoming Dencun upgrade, Ethereum will incorporate EIP-4844 popularly known as proto-danksharding. This enhancement introduces type-3 transactions, offering fresh possibilities and complexities for Layer 2 networks to fine-tune their settlement processes with the base layer. In this blog post, we'll delve into the specifics of EIP-4844 and how they can be used on The Graph.

Understanding The Concept of Proto-Dank-Sharding

2_20240508_150533_0001.png

It's impossible to discuss Ethereum blob without mentioning Proto-Dank-Sharding, as they are closely intertwined.

When it comes to Ethereum Blockchain, Sharding helps to divide the Ethereum network into smaller units, essentially creating smaller blockchains upheld by a rotating group of validators. This approach reduces the burden of storing data on the Ethereum blockchain. Though it holds promise for significantly enhancing Ethereum network scalability and it also necessitates several intricate upgrades, posing risks if implemented all at once.

3_20240508_150533_0002.png

Proto-Dank-Sharding which is also known as EIP-4844 is an impending upgrade on the Ethereum Blockchain which is poised to tackle scalability challenges encountered by Layer 2 networks. It introduces type-3 transactions and blobs, presenting avenues for L2 networks to enhance their settlement procedures and reduce transaction cost. Proto-danksharding implements the majority of the necessary changes for true sharding without actually sharding the Ethereum Network.

IMG_20240508_152332.jpg
img src

According to The Blockchain Guy, the Sharding proposal on the Ethereum Blockchain was initially introduced by Dankrad Feist, a researcher at the Ethereum Foundation. Hence, the term "Dank Sharding" originated from Dankrad Feist's proposal.

IMG_20240508_152656.jpg

Additionally, Protolambda, commonly recognized as Proto.Eth, and known for contributions to the Ethereum Blockchain, collaborated with Dankrad Feist in implementing Sharding on the Ethereum Blockchain, leading to the term "Proto Dank Sharding".

What Are Ethereum Blobs?

4_20240508_150533_0003.png

Ethereum Blobs are sizable data packets or data chunks integrated into Ethereum transactions with the aim of decreasing the cost of rollup transactions and boost network scalability. They serve serve as affordable, short-term memory holding transaction data which helps to carry transactions on the Ethereum Blockchain to enhance efficiency of transaction verification.

images - 2024-05-08T154834.502.jpeg
img src

Ethereum Blobs are also known to be utilized by L2 networks for settlement instead of calldata. With EIP-4844 upgrade, each block can hold up to six blobs, and each type-3 transaction may contain one or two blobs making it capable of storing up to 128kb of data each. Notably, even if the allocated 128kb isn't fully utilized, the transaction sender is charged for the entire blob space.

upload_4ca82be1fd88e338b31a604dbec5dbfe.png
img src

Ethereum Blobs are mandated to be retained for 4096 epochs which is approximately equivalent to 18 days. This duration is deemed sufficient for all participants of an L2 network to access the data while ensuring manageable disk usage. Consequently, blobs are priced more affordably unlike calldata, which is mostly stored indefinitely.

Blob Gas

5_20240508_150533_0004.png

Blob gas will function as the transaction fee when conducting transactions via Proto Danksharding. As outlined in the proposal, the team intends to introduce blob gas as a distinct type of gas, separate from the conventional gas used on the Ethereum Blockchain as quoted below;

We introduce blob gas as a new type of gas. It is independent of normal gas and follows its own targeting rule, similar to EIP-1559. We use the excess_blob_gas header field to store persistent data needed to compute the blob gas base fee. For now, only blobs are priced in blob gas.

The implementation of EIP-4844 will establish two distinct fee marketplaces: one for Layer 1 execution and another for blobs, given that blob data doesn't align with the current Ethereum fee structure. While the supplementary fee marketplace will operate similarly to the current model in line with EIP-1559, the segregation ensures that congestion on the Ethereum network won't impact blob fees, enabling low fees even during periods of high network activity.

How Can Blobs Be Used On The Graph

6_20240508_150533_0005.png

There's definitely no doubt The Graph is known as a decentralized protocol designed for indexing and querying blockchain data. It facilitates querying of data that is otherwise challenging to access directly.

The good news is that users can now access, save, and query Blob data on The Graph with the support of Pinax and StreamingFast. According to a publication publication made by The Graph Foundation, accessing and querying Blob data on The Graph was enabled by integrating several pivotal technologies, including Firehose and Substreams, which collectively deliver a highly scalable solution for rapid extraction and processing of blockchain data.

IMG_20240507_212839.jpg

Blob data on The Graph can be queried using two approaches. The first involves leveraging Ethereum Blobs Substreams to extract data directly from the Firehose-enabled Beacon Chain Substreams. The second method entails utilizing a Blobs Substreams-powered Subgraph to retrieve data from a Substreams-powered subgraph (GraphQL API) accessible on The Graph Network.

Ethereum Blobs Substreams


To access Blob data on The Graph, the first approach involves retrieving data directly from the Firehose-enabled Beacon Chain Substreams (gRPC API), as detailed earlier. This is accomplished by utilizing the Ethereum Blobs Substreams to handle blobs from consensus nodes. The existing Ethereum Blobs Substreams, in its basic form, processes data from the designated Firehose, extracting information from the beacon API (/eth/v1/beacon/blob_sidecars/{block_id}). Developers have the option to expand its functionality by incorporating additional Substreams modules for data transformation or employing alternative storage solutions.

You can test the new Ethereum Blobs Substreams by making use of Substreams.dev playground which gives you the opportunity to experience more about how this method works with Ethereum Blobs. Ensure you visit the link below to get started ;
https://substreams.dev/pinax-network/eth-blobs/v0.6.2

Blobs Substreams-powered Subgraph


This method of accessing and querying Blob data is my favorite due to its simplicity; Blob data is readily available on The Graph Network, as showcased in the provided link below;

https://thegraph.com/explorer/subgraphs/AEwmTRZrEdrmsoRLvkXmXgP2q7TvcMVcCdGQUY8Cp6Mm?view=Overview&chain=arbitrum-one

Additionally, for further understanding, you can access the GitHub repository link. This indicates that additional subgraphs will be integrated into the network for EIP-4844 chains beyond the Ethereum mainnet (Beacon chain), ensuring a seamless decentralized experience.

Do You Have a Better Idea on How Ethereum Blobs Can Be Used on The Graph?

7_20240508_150533_0006.png

As The Graph is committed to meeting the needs of its users with its efficient data indexing and querying tools, you too can contribute to this significant advancement in the Web3 community. If you have any ideas or suggestions on how Blob data can be utilized on The Graph, feel free to share your insights on The Graph Forum through the provided link below;
https://forum.thegraph.com/t/blog-post-feedback-saving-the-blobs/5471

Also, for additional information and assistance on how you can utilize The Graph for blob data, please connect with the Edge & Node business development team through the form link below;
https://44585512.hubspotpagebuilder.com/the-graph-eip-4844-blob-data-form

Conclusion

8_20240508_150533_0007.png

Although the Dencun upgrade officially launched in the early hours of March 13, 2024, following its activation on the Ethereum mainnet at epoch 269568, it introduced the highly anticipated proto-danksharding functionality via EIP-4844. This upgrade seamlessly integrates off-chain "data-blobs," resulting in a significant reduction in the costs associated with storing transaction data.

images - 2024-05-08T104223.590.jpeg

By now, you're likely aware that The Graph stays at the forefront of modern Web3 development. While the Ethereum Blob proposal has been around for some years prior to Proto Danksharding gaining traction in the crypto space, The Graph swiftly integrated this advancement onto its platform, ensuring everyone can partake in the benefits of Blob Data within the Web3 community. We anticipate further developments and Web3 integration from The Graph, so be sure to stay updated with the community.

Reference Links

About Me


I'm Adebola, a proud graduate in Agricultural Engineering (BSC). My passion for self-development and productivity drives me to constantly seek knowledge and conduct research. Over the last five years, I've immersed myself in the world of cryptocurrency and blockchain, growing more enthusiastic by the day. My diverse hobbies include reading, writing, enjoying good food, participating in agricultural activities, traveling, designing, and blogging. I possess a range of skills, including content writing, graphic design, UI/UX design, copywriting, internet marketing, research, data analysis, and basic coding. Don't hesitate to connect with me through the links below;
Email
Telegram
Discord: Hardaeborla#103
Twitter

images (28).png

If its your first time here?? Start blogging on Hive and start earning free Hive tokens and HBD.
Hive : This is a native cryptocurrency used to reward Hive bloggers. Hive has a thriving ecosystem of over a hundred apps, communities & projects and is home to some of the most-used Web3 apps in the world, such as @splinterlands, @peakD, @HiveBlog, @leofinance and many others.

HBD : Hive Backed Dollar is the stable coin used on Hive blockchain. It is pegged to the price of one US dollar and users can earn 20% APR on HBD savings.
Learn more about Hive blockchain here

Thank You for your time and I hope you have a great day ahead with love from @hardaeborla
💕❤️💕❤️💕

6VvuHGsoU2QBt9MXeXNdDuyd4Bmd63j7zJymDTWgdcJjo1TXG5XbKP1zKkfqmLvSxDysAxGVk5jFy7gAxesopFQdNdRSXRinJzA5ePpJc4hS4WWUpXxEbvr8dAXHcz.png

Posted Using InLeo Alpha

Sort:  

https://reddit.com/r/thegraph/comments/1cnan03/what_are_ethereum_blobs_and_how_can_they_be_used/
The rewards earned on this comment will go directly to the people( @hardaeborla ) sharing the post on Reddit as long as they are registered with @poshtoken. Sign up at https://hiveposh.com.