Can You Trade Perpetuals From a Self-Custody Wallet? What Actually Happens to Your Margin
Self-custody · Updated 2026-07-02 · 9 min read
On this page
TL;DR:
You can trade on-chain perpetuals through a self-custody wallet, and you keep two things throughout: the private key, and the requirement that any withdrawal of remaining collateral be signed by you. But “trading perps from your wallet” does not mean your margin stays at your wallet address. Once you fund a position, the collateral is credited to a margin account inside the perpetuals protocol, not held as a token at your address, and not sitting on a centralized exchange’s books either. That is a third model, and it is the one most “self-custody perps” explanations skip.
Some of what a centralized exchange (CEX) gives you moves over cleanly: the order book, familiar order types, cross and isolated margin, hourly funding. Some of it does not: account support, limited recovery paths, single-fee simplicity, and access in every region.
This reference maps where the collateral actually sits, what feels the same as a CEX, and what changes. It is not investment advice.
Why perps are the hardest CEX function to “take with you”
If you are moving activity off a centralized exchange, most functions have a more direct wallet-based path: holding, swapping, and accessing certain tokenized assets. Perpetuals are the exception. They are the function CEX users lean on most and the hardest one to reproduce without a centralized venue, because a perp needs a live execution venue, a margin engine, a liquidation system, and a funding mechanism, the machinery an exchange normally runs for you.
On-chain perpetual venues now run that machinery on-chain. Hyperliquid, a major on-chain perp venue, runs its own on-chain order book and offers a trading experience that many CEX users will recognize. That is exactly what makes the custody question easy to get wrong: the experience moves closer to a CEX, while the custody model is not what many users assume. The rest of this reference is about that gap.
The three models: exchange ledger, wallet balance, protocol margin account
The single most useful thing to get straight before trading perps from a wallet is where your money actually is. There are three distinct states, not two.
1. Centralized-exchange ledger. On a CEX, your balance is an entry in the exchange’s internal books. The exchange controls the keys and the ledger; you hold an account, not the assets directly. If the exchange fails or freezes access, your claim runs through the exchange.
2. Wallet balance (a token at your address). In plain self-custody, your assets are a token (an ERC-20 or the chain’s equivalent) sitting at an address you control with your private key. No one else can move it without your signature or a permission you previously granted. This is the “not your keys, not your coins” state most people picture when they hear “self-custody.”
3. Protocol margin account. This is the one that gets collapsed into the second. On Hyperliquid, the canonical deposit path sends native USDC on Arbitrum to the protocol’s bridge contract. After the deposit is credited, your usable collateral appears as a protocol-side account balance on HyperCore. From that point, the margin backing your position is not an ERC-20 token sitting at your wallet address; it is a balance the protocol tracks and its margin and liquidation system enforces. You still control it in the sense that moving it out requires your signature, and you can withdraw it back to your address, but while it is in play, it is protocol-side margin state, not something sitting in your wallet.
The difference between (2) and (3) is the whole point. In (2), nothing can move your funds except your key, or a permission you previously granted. In (3), your key authorizes entry and exit, but between those two signatures the protocol’s liquidation engine can close your position and consume your margin if the market moves against you, with no additional signature required. That is not a flaw; it is how a margin system has to work. But it means the risk profile of “perps from a self-custody wallet” is closer to using a trading protocol than to holding a token in your wallet. You are exposed to the protocol’s smart contracts, its liquidation logic, its price oracles, and the bridge that moves collateral in and out, none of which apply when a token simply sits at your address.
So the honest answer to “is it still self-custody?” is: your wallet is self-custodial, and your key controls entry and exit, but your margin, while deployed, lives in the protocol and is governed by the protocol’s rules, not by your address. Keep those three things separate and the rest of this reference follows.
What feels the same as a CEX
For someone who has traded perps on a centralized exchange, a lot of the vocabulary carries over, and that is genuinely reassuring: you do not have to relearn how to trade. On a venue like Hyperliquid, the familiar pieces include an on-chain order book, market and limit orders, take-profit and stop-loss, reduce-only orders, and adjustable leverage. Margin works in the modes CEX users already know: cross margin (collateral shared across positions for capital efficiency) and isolated margin (collateral fenced to a single position so one liquidation does not touch the rest), plus a stricter isolated variant where margin cannot be removed while the position is open.
Funding will also feel familiar to CEX perp traders, with one detail worth knowing: on Hyperliquid, funding is paid hourly, and the funding rate is capped per hour. The practical takeaway is not the formula; it is that holding a leveraged position is not free to keep open. Funding is a recurring cost or credit that accrues every hour, so a position held for days carries a running funding tab that can quietly add up against a small price move. (The exact mechanics are in the FAQ.)
The important thing to hold onto here: the trading vocabulary is familiar, but that familiarity is not the thing that changed. What changed is where the collateral sits and which system enforces liquidation (the previous section), not whether you recognize the order ticket.
What changes when you leave the CEX
Four things do not come across, and they matter more than the familiar order ticket.
No support desk, no undo. A CEX may have an account team and may be able to freeze or intervene in limited account-level cases. Self-custody has neither. An on-chain mistake (wrong network, wrong address, a signature you should not have approved) is typically irreversible, and there is no one to escalate to. The control you gain is also the safety net you give up.
Access is not universal. Region limits are not only a CEX problem; on-chain perps carry them too. Hyperliquid’s own Terms of Use bar “Restricted Persons” from its interface, defined to include people who reside, are located, are incorporated, or have a registered office in the United States or Ontario (Canada), along with jurisdictions subject to applicable sanctions or export-control laws and citizens of those territories. Hyperliquid’s terms frame this as a restriction on its hosted interface rather than on the underlying decentralized protocol, and a wallet or third-party front-end can add its own limits on top. Because availability can differ by protocol terms, front-end, and wallet integration, it is worth checking the specific entry point you plan to use rather than assuming “on-chain means available everywhere.”
Your collateral crosses a bridge. To fund an on-chain perp account, your USDC typically moves through the protocol’s bridge, and it moves back through that bridge when you withdraw. That bridge is a distinct layer with its own trust assumption: on Hyperliquid, bridge settlement depends on a permissioned validator set. You do not have to understand the bridge’s internals to take the point: moving margin in and out of the protocol adds a step, a small cost, and a layer of risk that does not exist when a token simply sits in your wallet.
Cost can have two layers, not one. On a CEX you usually pay a single maker/taker fee. Some wallet or front-end routes can add a second fee layer. On Hyperliquid, builder codes let a third-party app attach a per-order builder fee, but only after you sign an approval, from your main wallet, setting a maximum rate you are willing to pay, and the approval can be revoked at any time. This is an entry-layer cost: it does not change execution, margin, liquidation, or funding, and trading directly on the protocol’s own app with no such approval involves no builder fee.
What the wallet actually does in this picture
It helps to be precise about the wallet’s job, because “trade perps from your wallet” makes it sound like the wallet is doing the trading. It is not.
A self-custody wallet here is the entry and signing layer: it holds your assets, it signs your transactions, and it can connect you to a third-party perps protocol, often by opening the protocol’s own front-end in the wallet’s in-app browser. Increasingly this runs on mobile: a wallet app can open a perps protocol and sign from your phone, which is what makes on-chain perps start to feel like a mobile exchange app. But smoother entry does not move the collateral back to your address. Whether you connect from a laptop or a phone, the wallet is the signing surface: the order book, the margin account, the matching, and the liquidation engine all stay with the protocol.
A self-custody wallet such as DeGate can sit at that entry layer, holding assets, signing transactions, and connecting to third-party dApps through an in-app browser. It does not make the perp market, hold the perp margin, run the liquidation engine, or replace the third-party protocol’s risk model. Those belong to the perps protocol, whichever wallet you arrive through.
That is the mental model to keep: many wallets are different doors to the same order book. The door affects your experience, and sometimes your fees, but not where the margin lives or who enforces the liquidation.
A short way to decide
Ground the choice in what you actually need, not in whether the interface looks like an exchange:
- You want to keep key control and are comfortable with protocol risk. On-chain perps through a self-custody wallet fit, as long as you treat deployed margin as protocol-exposed, not wallet-safe, and size positions accordingly.
- Region or compliance matters to you. Check the restricted-jurisdiction list for the specific protocol and entry point before funding anything, not after.
- You only trade occasionally. Consider withdrawing margin back to your own address when you are done, rather than leaving collateral parked in the protocol between sessions.
- You have never traded perpetuals. Leverage can be liquidated, and self-custody removes the support desk that might otherwise catch a mistake. The familiar interface does not make the product low-risk.
FAQ
Can a self-custody wallet directly trade perpetuals? Not by itself. A self-custody wallet holds keys and signs transactions; it does not run a perpetuals market. What it can do is connect you to a third-party on-chain perps protocol and sign your orders. The trading, matching, margining, and liquidation happen at the protocol, not in the wallet.
Is my margin still self-custody once I open a position? Your wallet and key stay self-custodial, and moving collateral in or out requires your signature. But while a position is open, the margin backing it is held in the protocol’s margin account and governed by the protocol’s liquidation rules; it is not a token sitting at your wallet address. Treat deployed margin as exposed to the protocol’s smart-contract, liquidation, oracle, and bridge risks.
How is trading on-chain perps different from CEX perps in practice? The trading experience can feel similar: order book, order types, cross and isolated margin, funding. The differences are structural: where the collateral sits (a protocol margin account, reached over a bridge), the absence of a support desk or reversible mistakes, region availability that varies by entry point, and the possibility of a second fee layer on some routes.
Can I trade Hyperliquid perps from my region? It depends on both the protocol and the entry point, and the two can restrict different regions. Hyperliquid’s own Terms of Use bar “Restricted Persons” from its interface, including those who reside, are located, or are incorporated in the United States or Ontario (Canada), plus sanctioned or export-controlled jurisdictions and their citizens. A wallet or front-end can add further limits on top, so check the restricted-jurisdiction terms for the specific protocol and front-end you plan to use before funding an account.
How does funding work, and how often is it charged? Funding is a periodic payment between long and short holders that keeps the perpetual’s price close to the underlying. On Hyperliquid it is paid hourly (the rate is expressed as an eight-hour figure but settled at one-eighth of it each hour), and the funding rate is capped at 4% per hour. Funding is peer-to-peer between traders; the protocol does not take a cut of the funding payment itself. The practical point: a leveraged position held over time accrues funding every hour, which can add up independently of price.
Do I automatically pay an extra fee when I trade perps through a wallet? No, not automatically. A “builder fee” applies only if you have signed an approval for a specific third-party builder from your main wallet, and only on orders routed with that fee attached. You set the maximum, you can revoke it at any time, and trading directly on a protocol’s own app without such an approval involves no builder fee. When present, this fee is added on top of the protocol’s standard fee and does not affect execution, margin, or liquidation.
Questions this reference answers
The specific questions this page is written to address — useful as a jump-off for what to look up next.
- Can you trade perpetuals from a self-custody wallet, and is it still self-custody?
- Where does your margin actually sit when you trade on-chain perps?
- What feels the same as a CEX, and what changes?
- What does the wallet itself do, and not do, in on-chain perps trading?
- How do funding and builder fees work when trading perps through a wallet?
Sources
Primary statutes, official guidance, and dashboards cited above. Each links to the canonical source so you can verify what we’ve said.
Last updated on July 2, 2026. Written by DeGate Editorial Team.
Corrections and primary-source updates welcome at corrections@degate.com .
Related references
Using a Self-Custody Wallet as Your Main DeFi Account: Where Your Assets Actually Sit
Where your assets actually sit when you use a self-custody wallet to swap, earn, bridge, and trade, and the check to run before you sign.
Can Self-Custody Replace a CEX? What You Can and Cannot Do Without Coinbase or Binance
Which centralized-exchange functions a self-custody setup can actually replace — holding, swaps, DeFi — and where fiat rails, support, and limits remain.
Best CEX Alternatives for Self-Custody in 2026: How to Move Off Coinbase or Binance Safely
How to move off Coinbase or Binance to self-custody in 2026 — which CEX alternative fits your use case, and how to migrate without losing funds.