Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

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

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

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

Conversation

@ming1523

@ming1523 ming1523 commented Apr 1, 2026

Copy link
Copy Markdown

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant