Introduction
Alley is a dark pool for Hyperliquid perpetual futures. Your orders stay hidden and fill at Hyperliquid's mid price, so nobody sees your size before it trades.
Alley is newAlley runs on Hyperliquid mainnet with real USDC. The code hasn't been audited yet, so only keep in the pool what you're actively trading.
Why Alley exists
Hyperliquid's order book is fully public. Every resting order, its size and its price can be read by anyone, including bots built to trade ahead of large orders. If you want to buy $500,000 of BTC, showing that order on a public book tells the market exactly what you're about to do.
Alley gives you a second place to trade the same markets. Orders you send to Alley rest in a private book that only the matching engine can see. When a buyer and a seller cross, both fill at the Hyperliquid mid price. Nothing appears on a public book until it's done.
What you can do
- Trade every Hyperliquid perpetual market with up to that market's maximum leverage.
- Place hidden market-at-mid or limit orders that no one else can see.
- If nobody takes the other side within 10 seconds, the rest routes to Hyperliquid automatically.
- Log in with email or any EVM wallet, deposit USDC, and withdraw it any time.
Where to start
What is a dark pool?
A dark pool is a trading venue where orders aren't shown to the public before they fill.
Lit markets and dark markets
A normal exchange is a lit market: every order sits on a visible order book. That's good for price discovery, because everyone can see where buyers and sellers are. It's bad for anyone trading size, because a large order is a signal. Others can trade ahead of it, pull their quotes, or wait for you to push the price.
A dark market hides orders until they execute. Traditional finance has used dark pools for decades, so large funds can buy or sell big blocks without moving the market against themselves.
Dark pools still need a fair price
Because a dark pool hides its book, it can't discover prices by itself. Instead it borrows a price from a lit market. Alley uses Hyperliquid's live mid price, halfway between the best bid and best ask on Hyperliquid's public book. Every dark match fills at that mid, so neither side pays the spread.
What Alley adds on Hyperliquid
- No front-running. Bots can't react to an order they can't see.
- No spread on dark fills. Both sides get the mid.
- A fallback. If there's no match, you can send what's left to Hyperliquid's public book.
What a dark pool can't do
A dark match only happens when someone else wants the other side at the same time. In a quiet market your order may wait. That's why Alley lets you route unmatched orders to Hyperliquid after a delay you choose. See Routing.
Quickstart
From nothing to an open position.
1. Open the app
Go to alley.fi and press Open app. You'll land on the trading screen with HYPE selected.
2. Connect
Press Connect wallet. Enter your email to get a one-time code, or pick a browser wallet such as MetaMask or Rabby. Email login creates a wallet for you automatically. See Connecting.
3. Enable trading
Press Enable trading and sign the message. This opens a dark pool session in your browser so you don't have to sign every order. Signing costs nothing and doesn't move funds.
4. Deposit USDC
Press Deposit and send USDC to your Hyperliquid account (from the Hyperliquid app or any bridge). Once it arrives, press Move into the dark pool. See Depositing.
5. Place an order
- Pick a market on the left.
- Choose Long or Short.
- Enter your margin in USDC and set leverage.
- Press the big button.
If another trader is on the other side, you fill at the mid straight away. Otherwise your order rests hidden in Open orders.
Connecting
Alley uses Dynamic for login, so you can use email or a wallet you already have.
Email
Enter your email and the code you receive. Dynamic creates an embedded wallet tied to your login. You can use it from any device by logging in with the same email.
Browser wallets
Any EVM wallet in your browser works, such as MetaMask, Rabby or Coinbase Wallet. Your wallet address is also your Hyperliquid account address.
The dark pool session
After connecting, press Enable trading and sign one message. Your browser creates a session key, and your wallet signs a statement that this key may trade for your account. Every request after that is signed by the session key, so you don't get a wallet pop-up for each order.
The session key can't withdraw to someone elseWithdrawals only ever go to your own Hyperliquid account address.
Disconnecting
Open the account menu and press Disconnect. Your positions and balance stay in the pool and come back when you log in again.
Depositing
Your margin is USDC held in the Alley pool.
How deposits work
- Get USDC into your own Hyperliquid account. That means bridging or sending USDC to Hyperliquid, for example from Arbitrum through the Hyperliquid app.
- In Alley, open Deposit and press Move into the dark pool.
- Your wallet signs a Hyperliquid USDC transfer to the pool account. Alley sees the transfer and credits your balance, usually within a few seconds.
Minimums
Deposits of at least $1 are credited. Orders need at least $10 of notional.
Checking your balance
Your pool equity shows in the account card on the right of the trading screen and in the account menu.
Withdrawing
Send USDC from the pool back to your Hyperliquid account any time.
How to withdraw
- Open Withdraw.
- Enter an amount up to your withdrawable balance.
- Press Send to my Hyperliquid account.
The pool sends the USDC on Hyperliquid, which takes seconds. From there you can withdraw to Arbitrum in the Hyperliquid app.
What's withdrawable
Your withdrawable balance is the smaller of your cash balance and your free margin. Margin backing open positions and resting orders can't be withdrawn until you close them.
The minimum withdrawal is $1. If a withdrawal fails, the amount goes straight back to your pool balance.
Placing orders
Every order you place goes to Alley's private book first.
The order ticket
| Field | What it does |
| Long / Short | Buy to go long, sell to go short. |
| Market / Limit | Market fills at the mid whenever a match exists. Limit only fills at the mid when the mid is at or better than your price. |
| Margin | USDC you commit. Size is margin times leverage. |
| Leverage | From 1x up to the market's maximum. |
What happens next
- Alley checks you have enough free margin.
- The order joins the private book for that market.
- If an opposite order is already waiting, both fill at the mid immediately.
- Otherwise it rests hidden for up to 10 seconds, then any unmatched part routes to Hyperliquid. See Routing.
Rules
- Minimum order size is $10 of notional.
- You can't hold a buy and a sell order in the same market at once. Cancel one first.
- Orders never match against your own orders.
Order types
Alley prices every dark fill at the Hyperliquid mid. Order types decide whether you fill, not at what price.
Market (mid)
Fills at the mid as soon as there's an opposite order. It's the default and the most likely to match.
Limit
Sets the worst mid you'll accept. A buy limit at $100 fills only when the mid is $100 or lower. A sell limit at $100 fills only when the mid is $100 or higher. You still fill at the mid, which may be better than your limit.
Reduce-only
When you press Close on a position, Alley places a reduce-only order. It can only shrink your position, never flip it. It tries a dark match first and then routes to Hyperliquid straight away.
Cancelling
Press Cancel in Open orders. An order that's being sent to Hyperliquid at that moment can't be cancelled until that attempt finishes.
Routing
What happens to an order nobody matches.
The 10-second window
Every order first waits in Alley's private book. If no other trader takes the other side within 10 seconds, Alley sends whatever is left to Hyperliquid. You don't need to choose anything.
How a routed order fills
The pool places a market order on Hyperliquid from its own account and credits you at the average price it actually got. Routed fills pay the routed fee, which covers Hyperliquid's taker fee.
A routed order is visible on Hyperliquid's book for the instant it executes, like any taker order. It isn't linked to your address, because it comes from the pool's account.
Limit orders and routing
A routed limit order waits until Hyperliquid's mark price is at or better than your limit before it's sent.
Closing positions
Pressing Close tries a dark match first and routes straight away if there isn't one.
If routing fails
If Hyperliquid rejects or only partly fills the order, Alley retries the rest every few seconds. Your order stays in Open orders until it's done.
Leverage and margin
Alley uses cross margin: one USDC balance backs all your positions.
Leverage
Set leverage per market, from 1x up to that market's maximum on Hyperliquid. The default is 5x. Changing leverage is refused if your current positions wouldn't have enough margin at the new setting.
Key numbers
| Term | Meaning |
| Equity | Cash balance plus unrealized PnL. |
| Initial margin | Position notional divided by leverage, summed over positions. |
| Available | Equity minus initial margin minus margin reserved for resting orders. |
| Maintenance margin | Half the initial margin at the market's maximum leverage. Below this you're liquidated. |
Margin on orders
Resting orders reserve margin (plus the routed fee) so you can't over-commit. Reduce-only orders reserve nothing.
Marks come from Hyperliquid's mark price, refreshed every two seconds.
Positions and PnL
Your positions live on Alley's ledger and are priced off Hyperliquid.
Entry price
Adding to a position averages your entry by size. Reducing it realizes PnL on the closed part. If an order is larger than your position, the position flips and the remainder opens at that fill's price.
Unrealized and realized PnL
Unrealized PnL is size times the difference between the mark and your entry. Realized PnL is added to your cash balance when you reduce or close.
Liquidation price
The positions table shows an estimated liquidation price for each position, assuming your other positions stay where they are.
History
The History tab lists your last 100 fills with price, size, PnL, and whether each was a dark match, routed, or a liquidation.
Funding
Positions pay or receive funding every hour, at Hyperliquid's rate.
At the top of each hour Alley applies each market's current Hyperliquid funding rate to every open position. When the rate is positive, longs pay shorts. When it's negative, shorts pay longs.
payment = position size × mark price × hourly funding rate
Funding payments are added to or taken from your cash balance and listed in your account ledger.
Liquidations
If your equity falls below your maintenance margin, your positions are closed.
When it happens
Alley checks every account every second. If equity is below maintenance margin, it cancels your resting orders and closes all your positions at the mark price.
What you lose
You keep whatever equity is left after closing. If losses are larger than your balance, your balance goes to zero and the pool absorbs the rest. You never owe more than you deposited.
Avoiding liquidation
- Use lower leverage.
- Keep spare USDC in the pool.
- Watch the liquidation price in the positions table.
Fees
Simple, per side, charged on notional.
| Fill type | Fee |
| Dark match | 0.02% |
| Routed to Hyperliquid | 0.05% |
| Liquidation | None |
There are no deposit or withdrawal fees from Alley. Funding is paid between traders and isn't a fee.
Fees can changeAny change will be posted here before it takes effect.
Matching engine
How hidden orders find each other.
The private book
Each market has a private book of resting buy and sell orders. Only the matching engine reads it. No one, including other traders, can see another trader's orders.
When matching runs
Matching runs whenever a new order arrives and again every second as the mid moves.
Priority
- Orders that can fill at the current mid are eligible. Market orders always are. Limit orders are eligible when the mid is within their limit.
- Buys are ranked by highest limit first, sells by lowest limit first. Market orders rank ahead of limits.
- Ties go to the earliest order.
Each match
The best buy meets the best sell from a different trader. They fill the smaller of the two sizes, rounded to the market's size step, at the mid. Before filling, Alley checks both traders still have enough margin. If one doesn't, that order is cancelled and matching continues.
The mid price
Every dark fill uses Hyperliquid's mid.
The mid is halfway between the best bid and best ask on Hyperliquid's public book for that market. Alley reads it from Hyperliquid every two seconds.
Why the mid
- It's fair to both sides: neither pays the spread.
- It comes from the deepest on-chain perp book, so it's hard to move.
- It's public, so anyone can check a fill against it.
Example
If Hyperliquid's best bid for BTC is $99,990 and best ask is $100,010, the mid is $100,000. A dark buyer and seller both fill at $100,000. On the public book, the buyer would have paid $100,010 and the seller received $99,990.
The pool and hedging
How Alley keeps its books balanced against Hyperliquid.
One pool account
All deposits sit in a single Alley account on Hyperliquid. Alley keeps a ledger of each trader's cash, positions and orders on its own server.
Dark matches net to zero
When two traders match, one goes long and the other goes short by the same amount. The pool's overall exposure doesn't change, so nothing needs to happen on Hyperliquid.
Routed fills and liquidations
A routed order is filled on Hyperliquid from the pool account, so the pool's Hyperliquid position moves with the trader's. When a trader is liquidated, their counterparty still holds the other side, so the pool takes that position over on Hyperliquid.
Reconciliation
Every 15 seconds Alley compares the pool's Hyperliquid positions with the total of all traders' positions. If they differ by more than $10 of notional in any market, it trades the difference on Hyperliquid.
Sessions and signing
How Alley knows a request really comes from you.
Opening a session
Your browser creates a random session key. Your wallet signs this message:
Sotto dark pool session
Account: <your address>
Session key: <session key address>
Network: mainnet
Alley checks the signature matches your address and links the session key to your account. ("Sotto" is the project's internal name.)
Signed requests
Every request after that carries three headers: the session key address, a timestamp, and a signature over the method, path, timestamp and body. Alley rejects requests with a bad signature, a timestamp more than two minutes off, or a timestamp not newer than the last one, which blocks replays.
Where keys live
The session key stays in your browser's local storage. Clearing site data or switching browsers means signing a new session.
Custody
Alley is custodial. Be clear on what that means.
When you move USDC into the pool, it sits in Alley's pool account on Hyperliquid, controlled by a key on Alley's server. Your balance is an entry on Alley's ledger. This is what lets matched orders settle without touching Hyperliquid's public book, but it means you're trusting Alley with your funds while they're in the pool.
What protects you
- Withdrawals only go to the Hyperliquid address that owns the account.
- Every request must be signed by a session your wallet authorized.
- The pool's Hyperliquid positions are reconciled against the ledger every 15 seconds.
What doesn't
- A compromise of Alley's server or pool key could lose pooled funds.
- The code hasn't had an external audit yet.
Only keep in the pool what you're actively trading.
Risks
Perpetual futures are risky, and Alley adds risks of its own.
Trading risk
- Leverage magnifies losses as much as gains. You can lose your whole balance quickly.
- Funding can cost you while you hold a position.
- Liquidation closes positions at the mark price, which may be far from your entry.
Platform risk
- Custody: funds in the pool are held by Alley. See Custody.
- Software: bugs in the matching engine, ledger or hedging could cause losses.
- Hyperliquid: Alley depends on Hyperliquid's prices and execution. Outages or bad prices there affect Alley.
- Liquidity: a hidden order may not find a match. Routing to Hyperliquid fills it, but at public-book prices.
Legal
Leveraged trading is restricted in many countries. You're responsible for following the rules where you live.
Status
Alley is live on Hyperliquid mainnet, in early beta.
- Balances are real USDC.
- The code hasn't had an external audit yet.
- Fees, limits and features may change. Changes are posted in these docs first.
- Dark matches need other Alley traders in the same market, so liquidity is thin early on. Unmatched orders route to Hyperliquid after 10 seconds.
Keep only what you're actively trading in the pool.
API
The HTTP API the Alley app uses. You can call it directly.
Public endpoints
| Endpoint | Returns |
GET /api/config | Network, pool address, fees, minimum order size, and whether the pool is live. |
GET /api/stats | 24h dark volume per market and in total. |
Opening a session
POST /api/session
{ "addr": "0x…", "session": "0x…", "sig": "0x…" }
sig is your wallet's personal-sign signature over the session message in Sessions and signing.
Signed endpoints
Send headers x-sotto-session, x-sotto-ts (milliseconds) and x-sotto-sig, a personal-sign signature by the session key over:
{METHOD}\n{PATH}\n{TIMESTAMP}\n{BODY}
| Endpoint | Body |
GET /api/me | None. Returns balance, equity, positions, orders, fills and ledger. |
POST /api/order | {coin, side: "buy"|"sell", sz, limit?, lit?, reduceOnly?}. lit is seconds before routing, or null to stay hidden. |
POST /api/cancel | {id} |
POST /api/close | {coin} |
POST /api/leverage | {coin, lev} |
POST /api/withdraw | {amount} |
Errors come back as {"error": "message"} with a 4xx status.
Supported markets
Every perpetual market listed on Hyperliquid, except delisted ones.
Maximum leverage and size steps come from Hyperliquid for each market. New Hyperliquid listings appear in Alley automatically within seconds.
Dark matches only happen when other Alley traders are active in the same market, so popular markets like HYPE, BTC and ETH match most often.
Glossary
| Term | Meaning |
| Dark pool | A venue where orders are hidden until they fill. |
| Lit market | A venue with a public order book, like Hyperliquid. |
| Mid price | Halfway between the best bid and best ask. |
| Dark match | Two Alley orders filled against each other at the mid. |
| Routing | Sending an unmatched order to Hyperliquid. |
| Perp | A perpetual future: a leveraged contract with no expiry. |
| Funding | Hourly payments between longs and shorts that keep perp prices near spot. |
| Cross margin | One balance backing all positions. |
| Front-running | Trading ahead of an order you can see coming. |
| Session key | A browser key your wallet authorizes to sign Alley requests. |
FAQ
Can anyone see my orders?
No. Resting orders are only visible to you and the matching engine. Routed orders appear on Hyperliquid at the moment they execute, from the pool's account rather than yours.
Why didn't my order fill in the dark?
There was no opposite order within 10 seconds, so it routed to Hyperliquid. A limit order also waits while the price is outside your limit.
Do I pay the spread?
Not on dark matches. Routed orders fill on Hyperliquid's book and do pay it.
Is it on mainnet?
Yes. Alley runs on Hyperliquid mainnet with real USDC. See Status.
Who holds my funds?
Alley's pool account on Hyperliquid. See Custody.
What's the minimum order?
$10 of notional.
Where do I get help?
Message @alley_fi on X.
Terms of Service
Last updated: November 29, 2026
DraftThese terms are a working draft and haven't been reviewed by a lawyer yet.
1. Agreement
These terms govern your use of alley.fi, the Alley app, the Alley API and related services ("Alley", "we", "us"). By using Alley you agree to them. If you don't agree, don't use Alley.
2. Eligibility
You must be at least 18 and legally able to enter into these terms. You may not use Alley if you're located in, or a resident of, a country or region where leveraged derivatives trading or services like Alley are prohibited, or if you're on any sanctions list. You're responsible for following the laws that apply to you.
3. What Alley does
Alley runs a private order book for perpetual futures listed on Hyperliquid. Matched orders fill at the Hyperliquid mid price on Alley's ledger. Unmatched orders may be routed to Hyperliquid through Alley's pool account at your instruction. Alley runs on Hyperliquid mainnet and uses real USDC.
4. Custody of funds
When you move USDC into the Alley pool, it's held in an account controlled by Alley, and your balance is recorded on Alley's ledger. You can request withdrawals of your free balance to your own Hyperliquid address at any time, subject to these terms and to the service being available. See Custody.
5. Your account
You're responsible for your login, wallet and the session keys stored in your browser. Anyone with access to them may be able to trade on your account. Tell us promptly if you believe your account has been compromised.
6. Trading risk
Leveraged trading can lose you your whole balance. Positions may be liquidated automatically. Hidden orders may not be matched. Prices come from Hyperliquid and may move sharply. Read the Risk disclosure before trading. Nothing on Alley is investment, legal or tax advice.
7. Fees
You agree to pay the fees shown in the Fees page at the time of each trade. We may change fees with notice on the site.
8. Acceptable use
You won't use Alley to break the law, manipulate markets, launder money, attack or overload the service, access other users' accounts, or get around any restriction we apply.
9. Changes, suspension and termination
We may change, suspend or stop any part of Alley, and may restrict or close accounts that break these terms or where the law requires. Where possible we'll let you withdraw your free balance first.
10. No warranty
Alley is provided "as is" and "as available", without warranties of any kind. We don't promise it will be uninterrupted, error-free or secure, or that orders will be matched or executed at any price.
11. Limitation of liability
To the fullest extent the law allows, Alley and its contributors aren't liable for indirect, incidental or consequential losses, lost profits, or losses from trading, liquidations, software bugs, third-party services (including Hyperliquid and Dynamic) or events outside our control.
12. Changes to these terms
We may update these terms. The date at the top shows the latest version. Using Alley after a change means you accept the new terms.
13. Contact
Questions about these terms: message @alley_fi on X.
Privacy Policy
Last updated: November 29, 2026
DraftThis policy is a working draft and hasn't been reviewed by a lawyer yet.
What we collect
| Data | Why |
| Your wallet address | It identifies your account and is where withdrawals go. |
| Orders, fills, positions, deposits and withdrawals | To run the matching engine and your ledger. |
| Session key addresses and request timestamps | To check requests really come from you and block replays. |
| Basic server logs, such as IP address and request time | To keep the service running and secure. Our host keeps these logs. |
Email login
If you log in with email, the login and the embedded wallet are handled by Dynamic. Dynamic processes your email under its own privacy policy. Alley receives your wallet address, not your email.
What's public anyway
Deposits into the pool, withdrawals, and routed orders happen on Hyperliquid, which is a public blockchain. Anyone can see those transactions. Dark matches stay on Alley's private ledger.
Your browser
Alley stores your session key and display preferences in your browser's local storage. We don't use advertising or tracking cookies. Your browser loads prices directly from Hyperliquid's public API and fonts from Google Fonts.
Sharing
We don't sell your data. We share it only with the services that run Alley (our host, Dynamic and Hyperliquid), or when the law requires.
Keeping and deleting data
Ledger records are kept while the service runs, because they're needed to settle balances. Records on Hyperliquid's blockchain can't be deleted by anyone. To ask about your data, message @alley_fi on X.
Changes
We may update this policy. The date at the top shows the latest version.