Skip to content

Fee-bump, sponsorship, and clawback operations in transaction builder #196

@Nanle-code

Description

@Nanle-code

Labels: transactions, stellar

Description

transactionBuilder.js includes sponsoredId for some ops and transactionValidation.ts validates sponsorship fields, but the Transaction Builder UI does not expose fee-bump wrappers, begin/end sponsorship, or clawback operations.

Tasks

Add operation types in src/lib/transactionBuilder.js: feeBump, beginSponsoringFutureReserves, endSponsoringFutureReserves, clawback, etc.
Form fields in src/components/dashboard/TransactionBuilder.jsx and simple Builder.jsx.
Validation rules in src/utils/transactionValidation.ts.
Acceptance criteria

Build fee-bump envelope around inner tx → simulate → export XDR.

Docs updated in docs/api/transactionBuilder.md and TRANSACTION_BUILDER_ENHANCEMENT.md.
Files

src/lib/transactionBuilder.js
src/utils/transactionValidation.ts
src/components/dashboard/TransactionBuilder.jsx, Builder.jsx
docs/api/transactionBuilder.md

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions