Skip to content

Fee-payer / sponsored announcement pattern #101

Description

@truthixify

Extra labels: feature
Tier: L (5-7 days) | Type: feature

Context. Recipients pay base fee for every announcement. Platforms (payroll, faucets, splitters) want to bundle many announces per Stellar op with a sponsor paying the fee via fee-bump. Signer's key still authenticates each entry.

Scope.

  • New sponsored_announce(sponsor, entries) on stealth-sender.
  • Sponsor pays base + per-op fee; per-entry payload retains signer authentication.
  • Size cap (proposed 20 entries) with a dedicated error variant.
  • Cost per entry recorded in PERF.md.

Acceptance.

  • Optimized wasm still under 110 KB
  • Integration test on futurenet verifies fee charged to sponsor
  • Size cap enforced with a dedicated error type
  • PERF.md shows per-entry cost, bindings regenerated + committed

Files. stealth-sender/src/lib.rs, integration-tests/sponsored.rs (new), PERF.md, bench/.

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programdripsFunded via Drips NetworkfeatureNew feature workhelp wantedExtra attention is neededstellarTouches Stellar / Soroban code

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions