Skip to content

Remaining Stacks blockchain artifacts in Stellar Soroban codebase cause runtime failures #957

Description

@dimka90

Multiple files still reference Stacks-specific APIs and data structures that have no place in a Stellar/Soroban application:

  • web/app/lib/market-utils.ts — imports @stacks/connect, @stacks/network, @stacks/transactions; fetches Stacks Core API /extended/v1/status expecting stacks_tip_height; compares currentBlockHeight (ledger sequence) against pool.expiry (Unix timestamp) — incommensurable units
  • web/app/lib/runtime-config.ts — uses Stacks network config fallbacks
  • web/app/lib/countdown-utils.ts — assumes 10-minute Stacks block times
  • web/app/lib/config.ts — imports Stacks constants
  • web/app/lib/transaction-service.ts, web/app/lib/wallet-service.ts — Stacks SDK usage

These either fail at runtime or return incorrect data, breaking pool status detection and market display.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions