Skip to content

chore: remove spot - #2117

Merged
qardpeet merged 1 commit into
mainfrom
pk/remove-spot
Jul 31, 2026
Merged

chore: remove spot#2117
qardpeet merged 1 commit into
mainfrom
pk/remove-spot

Conversation

@qardpeet

Copy link
Copy Markdown
Contributor

Deletes the /spot pages, the spotApi client, the bonsai spot form/rest/websocket/selectors, the
spot/spotForm/spotTrades slices, the TradingView spot datafeed, useEnableSpot, the SpotTrade
notification, the spot analytics events, and the spotApi entries in env.json.

Three things I left alone on purpose:

  • ComplianceStates.SPOT_ONLY stays. It's set by geo.isPerpetualsGeoBlocked, not by the spot
    feature, so removing it would drop geo blocked users through to FULL_ACCESS. The name is
    misleading now but that's a separate rename.
  • The Solana address derivation in useAccounts stays. It still feeds the indexer compliance
    screen and the SolanaAddress analytics property.
  • No persist migration. spotTrades falls out of localStorage on its own once it's off the
    whitelist, and the two leftover appUiConfigs keys are dead data nothing reads.

One behavior change worth a look: the deposit dialogs used to send non FULL_ACCESS users to the
spot tab. With no spot tab they now just close, which keeps CLOSE_ONLY users out of perps
deposits the same as before.

Users with a leftover spot balance can recover it by importing their dYdX secret phrase into Phantom.

@qardpeet
qardpeet requested a review from a team as a code owner July 27, 2026 18:29
@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
v4-staging Ready Ready Preview, Comment Jul 27, 2026 6:34pm
v4-testnet Ready Ready Preview, Comment Jul 27, 2026 6:34pm

Request Review

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does mobile pull from the https://dydx.trade/configs/v1/env.json url?

@qardpeet
qardpeet merged commit 64e4587 into main Jul 31, 2026
16 checks passed
@qardpeet
qardpeet deleted the pk/remove-spot branch July 31, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants