CA · soon

Docs

How Keel works, and what it asks of you.

The mechanics, the numbers and the trust assumptions in one place. Every limit on this page is a parameter you can read on-chain.

75%

highest borrow limit, hedged

120s

lifetime of a signed price report

3

xStocks accepted at launch

01

Overview

Keel lends USDC against xStocks on Elysium. An xStock is a token backed one for one by a real share; the ones Keel accepts are the wrapped xStocks that already live on Elysium. You pledge one, and you can borrow against it like against any collateral.

What is different is the hedge. For each line you can open a short in the matching Hyperliquid equity perp, such as xyz:NVDA from the trade.xyz dex. When the stock falls, the short earns about what your collateral loses. Because the thing that makes a stock loan dangerous is paid for, the vault lends against hedged value at a higher ratio.

02

A line, step by step

  1. 1

    Pledge. You approve the xStock and call open. The vault pulls it in and creates a loan with a number. Nothing is borrowed.

  2. 2

    Hedge. The site creates a fresh Hyperliquid account for the line and tells you how much to send: margin for the short plus 1 USDC (Hyperliquid's fee for a new account) and a small fee reserve. You sign one Hyperliquid transfer; it costs no gas. The keeper moves the money to the xyz dex, sets isolated leverage, sells the short, and binds the account to your loan on-chain with bindHedge.

  3. 3

    Borrow. You ask the site for a signed report and call borrow with it. The vault checks the report, lends from the pool, and books the debt.

  4. 4

    Manage. Repay any time, from any wallet. Add collateral and the keeper grows the hedge to match. Withdraw collateral as long as the line stays inside its limit. Change the hedge share or close it with a signed instruction.

  5. 5

    Release. Repay in full, withdraw everything, and the line closes. The keeper closes the short and sends what is left in the hedge account to your Hyperliquid account.

03

How the hedge works

The short is sized in contracts: tokens × perpUnits × hedge share. For single stocks perpUnits is 1. For the S&P 500 xStock it is 0.1, because one SPY share is about a tenth of the index. Margin is isolated, so a hedge in trouble can only lose its own margin.

While the stock falls, the short makes money. The keeper pays that profit into your loan from its own USDC on Elysium with settleHedge, then recovers the USDC from Hyperliquid. It only does this when the loan needs it, because profit left in the account also keeps the short alive if the stock bounces. Unswept profit counts toward your limit, at a discount.

While the stock rises, the short loses, your collateral gains the same amount, and the loss comes out of the hedge margin. If it eats the whole margin, Hyperliquid closes the short. The site shows that price when you open: entry × (1 + (1/leverage − maintenance) / (1 + maintenance)), where maintenance is 1/(2 × max leverage). At 2× on NVDA that is a rally of about 43%; at 3×, about 27%.

When a hedge is closed that way, the vault values the line as plain collateral. Before you open, the site checks that a loan at the full hedged limit would still sit inside the plain liquidation line at that price, and warns you if not.

04

Limits and liquidation

Each asset has four ratios. For NVDA: borrow limit 45% of plain value and 65% of hedged value, liquidation at 55% and 75%. The vault splits a line into its hedged part (up to the live hedge notional in the report) and the rest, and applies each ratio to its part. Unswept hedge profit counts as extra collateral at 80% for borrowing and 90% for liquidation.

AssetBorrowHedgedLiquidationHedgedBonusHedge market
NVDA45%65%55%75%6%xyz:NVDA
MU40%60%50%70%7%xyz:MU
SPY60%75%70%85%4%xyz:SP500

Anyone can liquidate a line whose debt is above its liquidation line under a fresh report. They repay up to 50% of the debt (all of it when the debt is at most $100) and receive collateral worth the repayment plus the bonus. Debt left without collateral is bad debt: the pool's reserve covers it first, then lenders.

The smallest loan is $10. Interest compounds every second through a global borrow index.

05

Reports

Elysium cannot read Hyperliquid yet, so the vault depends on signed reports: Report(id, priceE8, hedgeNotional, hedgeCredit, at) under the EIP-712 domain Keel / 1. priceE8 is the token price from the Hyperliquid oracle, refused if it disagrees with the mark price by more than 5%. hedgeNotional is the live short in USDC, hedgeCredit the profit above your own margin.

A report is valid for 120 seconds, for one loan, and only if it is newer than the last rebase on that loan. The keeper rebases before it shrinks a hedge, so an older, more generous report cannot be replayed. When Elysium ships HyperCore read precompiles, reports can be replaced by direct reads.

06

The pool

KeelPool is an ERC-4626 vault over USDC with the share token kUSDC. Borrowers pay 2% plus up to 9% as utilisation climbs to 80%, then up to 90% more beyond it. 10% of interest goes to the reserve. At launch deposits are capped at $250,000 and borrows at $200,000.

07

What you are trusting

  • The reporter key signs prices that decide liquidations. A compromised key could liquidate at a false price; the close factor and bonus bound the damage, and the owner can pause new loans and rotate the key.
  • The keeper key controls every hedge account on Hyperliquid and the USDC float on Elysium. It only ever pays out to the line's owner and logs every action, but the margin is custodial while the line is open.
  • The owner can list assets, change limits, pause new loans and rotate the keeper and reporter. It cannot move collateral or debt, and should be a multisig.
  • Hyperliquid and trade.xyz. The hedge is only as good as its market, and perp prices come from the deployer's oracle.
  • Backed and the bridge. xStocks are claims on shares held by Backed, brought to Elysium through the standard token gateway.
08

Risks

  • A rally can close your hedge, and a closed hedge no longer protects the loan.
  • Funding can be negative: the short then pays it. The site shows the current rate for each market.
  • The token and the perp can drift apart (basis), and the perp pays no dividends.
  • Markets can gap while US exchanges are closed. The perps trade around the clock, which hedges a weekend gap but can also move when the stock does not.
  • If the keeper is down, borrowing and withdrawing with debt wait. Repaying never does.
  • This is new software, so caps are low at launch.
09

Contracts

Network: Elysium · chain 99901
KeelVaultnot deployed yet
KeelPool (kUSDC)not deployed yet

Source: KeelVault.sol and KeelPool.sol, Solidity 0.8.28 with OpenZeppelin 5.4. The vault, the keeper, the site and a Hyperliquid stand-in are tested together end to end; the status page shows the last run. Live status →

Ready to try it?

Get a quote with live prices first. Nothing moves until you sign.

Open a credit line

Connect a wallet

Keel runs on Elysium. Your wallet will be asked to add the network.

No wallet in this browser

MetaMaskInstallRabbyInstallCoinbase WalletInstallOKX WalletInstallPhantomInstallRainbowInstallTrust WalletInstallBitget WalletInstallZerionInstallBackpackInstallBrave WalletInstallExodusInstallMagic EdenInstallUniswap WalletInstall