Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Does this library support eip-4844 blobs? #1

Open
iteyelmp opened this issue Sep 13, 2024 · 3 comments
Open

Does this library support eip-4844 blobs? #1

iteyelmp opened this issue Sep 13, 2024 · 3 comments

Comments

@iteyelmp
Copy link

The blob needs to be generated as proof. blobToKzgCommitment() and computeBlobKzgProof()

@vaultec81
Copy link
Member

Not currently. It has not been tested or scoped to meet eip-4844

@iteyelmp
Copy link
Author

iteyelmp commented Sep 13, 2024

OK, thanks. I hope it can be supported, because the c-kzg does not support browsers, and the performance of kzg-wasm is too poor. It takes about 700ms to execute blobToKzgCommitment() or computeBlobKzgProof().
So, assuming a transaction has 3 blobs, it takes about 4-5 seconds to generate commitment and proof.

@Geo25rey
Copy link
Member

@iteyelmp feel free to open a PR with this functionality. Just be sure to link the reference implementation you are using

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants