Skip to content

core: implement XDR transaction builder with fee estimation #25

@EmeditWeb

Description

@EmeditWeb

Problem

The API builds unsigned XDR transactions but does
not estimate fees correctly. Transactions with
insufficient fees are rejected by Stellar.

What To Build

  1. Create src/stellar/transaction-builder.service.ts
  2. Fee estimation from Horizon fee_stats
  3. Fee bump transaction support
  4. Retry logic for fee-related failures

Files To Touch

  • src/stellar/transaction-builder.service.ts (new)
  • src/stellar/stellar.service.ts
  • All service files that build XDR

Acceptance Criteria

  • Fee estimation calls Horizon fee_stats
  • All XDR builders use estimated fee
  • Fee bump transactions supported
  • Insufficient fee errors trigger retry
  • npm run build passes

Mandatory Checks Before PR

  • npm run build passes
  • No any types
  • PR references this issue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions