Skip to content

Conversation

frankudoags
Copy link

Motivation

closes #234

Solution

  • add example for sending EIP-7594 transaction
  • bump alloy to 1.0.41

PR Checklist

  • Added Documentation
  • Breaking changes

- add example for sending EIP-7594 transaction
- bump alloy to 1.0.41
Comment on lines +24 to +25
let sidecar: SidecarBuilder<SimpleCoder> = SidecarBuilder::from_slice(b"Blobs are fun!");
let sidecar = sidecar.build_7594()?;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think for now we can follow the existing 4844 example and do

 let sidecar = sidecar.build()?;

    // Build a transaction to send the sidecar from Alice to Bob.
    // The `from` field is automatically filled to the first signer's address (Alice).
    let tx = TransactionRequest::default().with_to(bob).with_blob_sidecar(sidecar);

provider.fill(tx).await.unwrap();

// and then convert the tx into the 7594 variant

this isnt super pretty but will do the job I believe

@github-project-automation github-project-automation bot moved this to In Progress in Alloy Oct 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

Add example for 7594 blob tx

2 participants