Skip to content
/ goblob Public

golang utils for generating Ethereum blob transaction

Notifications You must be signed in to change notification settings

zoey-t/goblob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goblob

utils for generating Ethereum blob transaction

function CreateSidecarAndVersionedHashes creates the sidecar and BlobHashes fields in the blob transaction. sidecar struct contains the blobs, kzg commitments and kzg proofs. The data that needs to be sent to Ethereum in the blob transaction will be transformed into blobs first. The kzg commitment and proof are generated for each blob.

Blobhashes contain the unique versioned hashes for each blob attached in the blob transaction. It's the sha256 hash of a version prefix and blob's kzg commitment.

function CreateBlobTx creates the blob transaction with the given data.

example: a blob on-chain transaction

About

golang utils for generating Ethereum blob transaction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages