Skip to content

feat(server): add fee payer preflight helper#158

Open
ming1523 wants to merge 1 commit intotempoxyz:mainfrom
ming1523:btc-a/tempo-ts-fee-payer-preflight
Open

feat(server): add fee payer preflight helper#158
ming1523 wants to merge 1 commit intotempoxyz:mainfrom
ming1523:btc-a/tempo-ts-fee-payer-preflight

Conversation

@ming1523
Copy link
Copy Markdown

@ming1523 ming1523 commented Apr 1, 2026

Adds a reusable Handler.feePayerPreflight(...) helper for server-side sponsorship flows.

The helper parses and validates sender-signed Tempo transactions before fee payer signing, and can optionally run eth_estimateGas simulation with an attached fee payer address. Handler.feePayer now reuses the same parsing path internally.

This is aimed at developers who want a Rabby-like preflight step before deciding whether to sponsor or forward a transaction.

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