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

feat(server): add fee payer policy hook#157

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

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

Conversation

@ming1523

@ming1523 ming1523 commented Apr 1, 2026

Copy link
Copy Markdown

Adds a policy hook to Handler.feePayer so server-side sponsorship flows can validate transactions before the fee payer signature is added.

The hook receives parsed transaction context and can reject unsupported or risky requests with RPC-shaped errors. This makes it easier to build allowlists, max-value checks, and other sponsorship controls without forking handler logic.

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