⛽ 7702 Gas Sponsorship - May 15th 2025


⛽ 7702 Gas Sponsorship

Over the weekend I explored EIP-7702 by writing a minimal implementation that stripped transaction creation back to its fundamentals. While Viem does a great job abstracting the low-level details, I wanted to understand exactly what was happening under the hood. You can check out the code here.

What did I learn?

  • Once delegated, the code is fixed at the EOA unless it's explicitly re-delegated (requires re-signing auth list entry).
  • Type 4 transactions include an authorizationList, allowing multiple EOAs to delegate in a single transaction.
  • In practice, the Type 4 transaction 'to' field can point to something like a Multicall3 contract, and the 'data' can include 'n' calls (where 'n' is the number of entries in the authorizationList) to initialize each delegation. This allows a gas sponsor to batch-initialize multiple EOAs' new contracts in a single transaction.
  • Each authorizationList entry includes a chainId and nonce.These are important replay protections that prevent the gas sponsor from reusing an authorization.
  • If all entries in the authorizationList are invalid, this is still a valid state transition and the transaction itself doesn't fail. Even though Etherscan will show them as invalid.
  • Etherscan has been quick to incorporate EIP-7702 UX:

TODOs

I'm building an integration test suite that demonstrates the full behavior and capabilities of EIP-7702. Reading the EIP is useful, but it's not the same as seeing the behavior in code, so I plan to open-source it.

I also want to use what I’ve learned to build something useful for devs. A few early ideas:

  • Hosted gas sponsor for Sepolia. Developers could route transactions through my service to get them included without needing Sepolia ETH. This would solve the “how do I get testnet ETH?” problem.
  • EIP-7702 builder UI. A simple interface for constructing and testing 7702 transactions. Could also work as an educational tool.

See you next Thursday!

Got thoughts on this week’s newsletter? Reply to this email or DM me. I’d love to hear from you!

Disclaimer: The views and opinions expressed in this newsletter are my own and do not reflect those of my employer or any affiliated organizations. Nothing in this publication constitutes financial, legal, or investment advice.

Blaine Malone

Read more from Blaine Malone

Live Streaming This week I tried out a different format: I went live. Finding the time to record well-scripted videos is tough when you have a full-time job, so I wanted to dip my toes into the streaming ecosystem. To start, I went live on Twitter. The first stream was simple. I wasn’t on camera myself. I streamed a video of my Pectra countdown timer, which I had vibe-coded earlier in the week. malone @blainemalone the wait is nearly over... https://x.com/i/broadcasts/1PlKQMZwlnNKE x.com...

Pectra Mainnet Accouncement Episode 2 of the Craic Overflow podcast is out now. I kept this week’s check-in short and sweet, covering the latest Ethereum blog post on the eagerly awaited Pectra upgrade You can watch it on X or Youtube. malone @blainemalone Slightly different format this week: in the 2nd @craicoverflow pod, I break down what to look forward to in the upcoming @ethereum Pectra Mainnet release, scheduled for May 7. 00:00 - Intro 00:09 - The Pectra Network Upgrade 00:39 - From...

Craic Overflow - Episode 1 A lot has happened over the past week. I just released the first official episode of my podcast. You can watch it on X or Youtube. malone @blainemalone Running Through Ethereum with @allam_hamdi (Ep. 1) I started @craicoverflow because I had questions about where Ethereum is headed, and I wanted to ask them to the people shaping it. I decided to interview Hamdi while jogging because as a software engineer, I honestly spend way 10:39 PM • Apr 23, 2025 0 Retweets 1...