Connecting Pacifica
Pacifica is a perp DEX on Solana. You connect it with an API Agent Key, a key you create on Pacifica and bind to your Solana account. It can trade, but it isn't your main wallet.
What you'll need
Connecting Pacifica takes two values, which is one more than the other venues:
- Your API Agent Key, created on Pacifica.
- The Solana account it's bound to, the address you use on Pacifica's own UI.
Both are needed because an agent key can't name its own account. Asking Pacifica "which account is this agent bound to?" is itself a request signed by your main wallet. So fxyz takes the pair and verifies them together against the venue before saving anything.
What you'll see
- In fxyz, open Settings and click Connect Pacifica (or the Pacifica card on the trade page).
- On Pacifica, create an API Agent Key and bind it to your account.
- Paste the agent key and your Solana account address into fxyz.
- fxyz checks the pair against Pacifica and stores the key encrypted on its side.
Your browser forgets the key the moment the dialog closes. It's never written to browser storage.
Why your funds stay yours
Pacifica's withdrawal endpoints carry no destination field. Neither /account/withdraw nor /account/withdraw_spot has anywhere to put a recipient, so a withdrawal settles to the registered Solana owner, which is you, and nowhere else.
An agent key can start a withdrawal, so treat it as a forced-exit risk rather than a theft risk. The worst outcome is your own funds arriving in your own wallet earlier than you planned.
It can't be escalated either. Pacifica's bind_agent_wallet refuses agent signatures, so an agent key can never promote itself or bind a new one. That's what makes revoking sufficient.
Builder approval
The first time you trade Pacifica through fxyz, you'll be asked for one signature from your Solana wallet approving a builder code. This is how Pacifica attributes order flow. It's capped, it doesn't grant fxyz any additional authority over your account, and it's a one-time step.
Disconnecting
Click Disconnect Pacifica. fxyz drops its copy of the key immediately. To revoke fully, also remove the agent key on Pacifica's own UI. Since an agent key can't rebind itself, removing it there closes the door completely.
See per-exchange custody for how each venue keeps your funds yours.