{"id":259,"date":"2023-10-02T09:34:02","date_gmt":"2023-10-02T09:34:02","guid":{"rendered":"https:\/\/mapprofits.com\/?p=259"},"modified":"2023-10-15T19:39:14","modified_gmt":"2023-10-15T19:39:14","slug":"eip-4844-and-proto-danksharding-explained","status":"publish","type":"post","link":"https:\/\/mapprofits.com\/index.php\/2023\/10\/02\/eip-4844-and-proto-danksharding-explained\/","title":{"rendered":"EIP-4844 and proto-danksharding explained"},"content":{"rendered":"
\"Proto-danksharding<\/figure>\n

Proto-dankshardigng takes us a step closer to a much more scalable blockchain technology. Danksharding is seen as the perfect complement to Layer 2, but it requires several upgrades to get to that stage. EIP-4844 and proto-danksharding represent the first steps toward realizing that vision.<\/p>\n

In a nutshell, proto-danksharding seeks to introduce a way for rollups to add cheaper data to Ethereum. This is made possible by introducing a new type of transaction that will enable blobs of data to be added to blocks. And, what\u2019s interesting about this \u2018blob data\u2019 is that it doesn\u2019t need to be forever stored on the blockchain. Here are the details.<\/p>\n

A brief refresher on rollups<\/h2>\n

On these pages, we\u2019ve discussed rollups<\/a> extensively, examining how they work and why they are important. But since proto-danksharding is specifically aimed at making rollups even better, a quick refresher is in order.<\/p>\n

So rollups are Layer 2 scaling solutions for Ethereum that are designed to process transactions off-chain, batch many transactions together and submit them via a single transaction to the Ethereum mainnet. This saves a lot of gas, but there\u2019s more room for optimization. This is because rollups need to make that data available for review by independent actors. So the data is stored on the blockchain forever. However, the data is needed only for a time, so there\u2019s really no need for it to be stored in perpetuity. This is what EIP-4844 and proto-danksharding aim to address.<\/p>\n

Commitments and blob data<\/h2>\n

At its core, EIP-4844 aims to establish a method that would allow rollup data to be deleted after a certain period of time without compromising the integrity of the ledger. Under the method described in the proposal, rollups post commitments on-chain while keeping the actual transaction data in blobs. Let\u2019s elaborate further on this.<\/p>\n

The aforementioned commitments are essentially cryptographically reduced expressions of the blob data. To produce a commitment, a rollup has to fit a polynomial function to the data and then evaluate that polynomial at certain points determined by randomly generated numbers. The result is then wrapped up in a cryptographic function and submitted to the chain as a small cryptographic commitment. <\/p>\n

The validity of the commitment can then be easily checked by a prover. To do so, the prover evaluates the polynomial at the same points. If the results match, the commitment is valid, but if the values are different, that\u2019s an indication that the data has been changed. The prover can challenge the data if they think it\u2019s wrong.\u00a0<\/p>\n

\n
\n
Do you need help with your next blockchain project?<\/div>\n<\/p><\/div>\n
\n Get in touch<\/a>\n <\/div>\n<\/p><\/div>\n

The best part is that for proto-danksharding to work, the blob data only needs to be stored in nodes for a sufficient period of time. So, after a fixed period of time (1-3 months) the blobs are deleted to avoid unnecessary data bloat. However, this doesn\u2019t necessarily mean that the transaction data is lost, just that it\u2019s not stored on-chain. Rollup operators, users or other parties can still store the data off-chain.<\/p>\n

Sharding vs\u00a0proto-danksharding<\/h2>\n

If you\u2019ve been following the Web3 sector and Ethereum\u2019s evolution, in particular, you may recall that sharding was once envisaged as a Layer 1 scalability solution for the world\u2019s second largest blockchain protocol. So is EIP-4844 part of that vision? Well, the short answer is no. Instead, it\u2019s more in line with the ongoing shift towards L2 solutions like rollups.<\/p>\n

And indeed, danksharding and proto-dankshardng have little in common with traditional sharding, which is a technique for splitting a large database into several smaller ones to reduce load and eliminate potential bottlenecks. Instead, danksharding utilized distributed data sampling across blobs, which is much easier to implement and is complementary to the rollup push.<\/p>\n

Looking ahead<\/h2>\n

So what can we expect in the future? Well, EIP-4844 is expected to usher in an exciting new chapter for Ethereum scaling, but that\u2019s only the beginning. The next step will be realizing full danksharding, which would involve dramatically expanding the blobs attached to blocks, from one in proto-danksharding to 64. Other changes would also be needed to ensure that the new large blobs can be handled.<\/p>\n

Full danksharding is currently still years away, but work on implementing EIP-4844 is progressing well<\/a> and can reasonably expect to see proto-danksharding realized in the foreseeable future. And with that comes the exciting prospect of a much more scalable Ethereum, with cheaper transactions made possible by a robust rollup ecosystem.<\/p>\n","protected":false},"excerpt":{"rendered":"

Proto-dankshardigng takes us a step closer to a much more scalable blockchain technology. Danksharding is seen as the ...<\/p>","protected":false},"author":1,"featured_media":261,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"https:\/\/mapprofits.com\/index.php\/wp-json\/wp\/v2\/posts\/259"}],"collection":[{"href":"https:\/\/mapprofits.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mapprofits.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mapprofits.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mapprofits.com\/index.php\/wp-json\/wp\/v2\/comments?post=259"}],"version-history":[{"count":2,"href":"https:\/\/mapprofits.com\/index.php\/wp-json\/wp\/v2\/posts\/259\/revisions"}],"predecessor-version":[{"id":262,"href":"https:\/\/mapprofits.com\/index.php\/wp-json\/wp\/v2\/posts\/259\/revisions\/262"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mapprofits.com\/index.php\/wp-json\/wp\/v2\/media\/261"}],"wp:attachment":[{"href":"https:\/\/mapprofits.com\/index.php\/wp-json\/wp\/v2\/media?parent=259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mapprofits.com\/index.php\/wp-json\/wp\/v2\/categories?post=259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mapprofits.com\/index.php\/wp-json\/wp\/v2\/tags?post=259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}