Skip to content

Comments

feat(TxEnvelopeTempo): derive sender from signature in feePayer serialize#166

Merged
jxom merged 1 commit intomainfrom
jm/serialize-feepayer-derive-sender
Feb 8, 2026
Merged

feat(TxEnvelopeTempo): derive sender from signature in feePayer serialize#166
jxom merged 1 commit intomainfrom
jm/serialize-feepayer-derive-sender

Conversation

@jxom
Copy link
Member

@jxom jxom commented Feb 8, 2026

When serializing with format: 'feePayer' and a signature is present, the sender address is now automatically derived from the signature — removing the need for an explicit sender option.

  • secp256k1: recovered via ecrecover from the sign payload
  • p256/webAuthn: derived from the embedded public key
  • keychain: uses the explicit userAddress on the signature

sender is now optional in the feePayer format options (still accepted for explicit override).

This eliminates the need for the from + 0xfeefeefeefee marker hack on the viem side.

@vercel
Copy link

vercel bot commented Feb 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
ox Building Building Preview, Comment Feb 8, 2026 11:33pm

Request Review

@jxom jxom merged commit 480d01a into main Feb 8, 2026
5 of 9 checks passed
@jxom jxom deleted the jm/serialize-feepayer-derive-sender branch February 8, 2026 23:34
@github-actions github-actions bot mentioned this pull request Feb 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant