Skip to content

Connecting an exchange

Before fxyz can trade for you, it needs a trade-only credential at the venue. You give it that credential once; from then on, anything you build can place orders on your behalf.

The promise

fxyz can place trades. fxyz cannot move your funds. Not on any venue. Not ever.

This isn't a policy commitment we have to enforce. It's a property of the venues' own protocols and our own code. Withdrawal is, structurally, not a capability fxyz possesses.

How that's enforced varies a little by exchange, because each one offers a different shape of credential. The summary:

VenueWhat you connectWhat fxyz can doWhy funds stay yours
HyperliquidAn on-chain "agent key" approved by your main walletPlace, modify, cancel ordersThe HL protocol restricts agents to trading. Withdrawals require your main wallet.
LighterAn API key tied to your Lighter accountPlace, modify, cancel ordersThe Lighter L2 routes any withdrawal back to your registered L1 owner.
BackpackAn API key generated in the Backpack UIPlace, modify, cancel ordersfxyz's client omits withdraw and transfer entirely — no path off your Backpack account. Backpack's withdrawal-address whitelist adds a venue-side guardrail.

You're in control

A few things to keep in mind regardless of which venue:

  • Disconnect at any time. Each venue has a Disconnect button in fxyz. Clicking it revokes the credential at the venue's side too — not just on our end.
  • Connecting one doesn't touch the others. Connecting Lighter doesn't change anything about your HL setup, and vice versa.
  • Connecting doesn't move money. No deposit is involved; you trade with whatever is already on the venue.

Walk-throughs

  • Hyperliquid — on-chain agent-key approval.
  • Lighter — paste an API key generated on Lighter.
  • Backpack — paste an API key generated on Backpack.

See Security for the bigger picture of how those credentials are stored.

Funds stay on the exchange. fxyz can trade, never withdraw.