Skip to content

Sponsored (fee-bump) transactions for gasless UX #276

@Miracle656

Description

@Miracle656

Background

New users have zero XLM, so they can't pay fees. A sponsor account should cover fees + reserves so onboarding is truly gasless.

What to build

Add a fee-bump transaction path: the SDK builds the inner tx (passkey-signed), wraps it in a FeeBumpTransaction paid by a configured sponsor, and submits. Support sponsored reserves (begin/end sponsoring future reserves) for first deploy.

Key files

  • sdk/src/useInvisibleWallet.ts
  • frontend/wallet/lib/feeBump.ts (new)

Acceptance criteria

  • Inner tx signed by passkey, outer fee-bump signed by sponsor
  • Zero-balance account can deploy + transact
  • Tests for fee-bump assembly and sponsor reserve unwind

Drips Wave · Complexity: Advanced · 200 points

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions