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.
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/statusexpectingstacks_tip_height; comparescurrentBlockHeight(ledger sequence) againstpool.expiry(Unix timestamp) — incommensurable unitsweb/app/lib/runtime-config.ts— uses Stacks network config fallbacksweb/app/lib/countdown-utils.ts— assumes 10-minute Stacks block timesweb/app/lib/config.ts— imports Stacks constantsweb/app/lib/transaction-service.ts,web/app/lib/wallet-service.ts— Stacks SDK usageThese either fail at runtime or return incorrect data, breaking pool status detection and market display.