Deploy your own smart vault
A leveraged lending loop on Berachain, hedged dollar-for-dollar by a Hyperliquid perp short, in a vault you own. Every number here is live.
How much capital this strategy can absorb
Capacity is the minimum of five live bounds: Dolomite WBERA borrow, oriBGT supply cap, Kodiak exit liquidity, Hyperliquid hedge depth, and the carry break-even floor.
A carry trade with the price taken out
The trade in three steps.
- 01Buy Berachain rewards
Your USDC buys oriBGT, a Berachain token that earns yield on its own.
- 02Borrow to buy more
The vault posts it as collateral on Dolomite, borrows BERA, and buys more oriBGT. Earnings rise ~2.5×.
- 03Net result
Boosted rewards minus borrow cost minus fees = your annual return.
- Berachain reward rate
- what oriBGT earns, unlevered
- Borrowing cost
- the BERA borrow rate on Dolomite
- Earnings boost
- leverage on the base reward
- Estimated annual return
- levered rewards minus borrow cost, fees, hedge funding
This is today's math. Rates float and your return floats with them: rewards down or borrow cost up, you earn less. Real earnings show on the dashboard once you deposit.
One atomic transaction stacks the loop
Deposit, borrow, deposit again. Each ring compounds yield without moving the risk band. One dolomite.operate() call: every ring settles or none do.
The build: one atomic transaction.
A matched short cancels the price
A quarter of the deposit bridges to Hyperliquid and shorts the loop dollar-for-dollar. Yield is collateral APR minus borrow cost minus funding, not BERA going up.
The hedge cancels your BERA exposure.
- 01Split your deposit
75% opens the leveraged Berachain position. 25% becomes hedge margin on Hyperliquid.
- 02Open a matching BERA short
That margin runs at 3×, opening a BERA short that matches your long leg dollar-for-dollar.
- 03Price moves cancel out
When BERA moves, the two legs offset. Your equity tracks the carry, not the price.
| Bera leg allocation | 75% |
| HL margin allocation | 25% |
| HL leverage | 3× |
| Net BERA exposure | ~0 |
| Auto-rebalance band | 12–40% MR |
| Funding rate (30d mean) | ≈ -32% APR (fallback) |
The hedge runs itself. Each watcher tick checks margin ratio: trims if thin, grows if fat. You sign twice, open and close. On withdraw, the bridge returns your margin to your Berachain wallet, no HyperEVM gas needed.
It trims itself. It optimizes itself
Operators check the loop about every ten seconds. Risk up, trim down. Conditions improve, add a ring. No human in the path.
The short resizes. The margin defends itself
The Hyperliquid leg has its own watchers: loop size and hedge margin. Same signing rules, opposite venue.
Quorum signed. Same rules. No discretion
Operators run the same deterministic component and sign their answer. Only a quorum-signed action lands on your vault, and on-chain validators pin every payout to your wallet. One operator signs today; the quorum is built to widen.
Who decides, and who signs.
- 01Observe
Every operator reads the same chain state at the same trigger block: nobody picks the input.
Berachain RPC + Origami HTTP API · cron trigger every 10s · block-height pinned
- 02Reason
Each operator runs the same content-addressed WASM: same code, same input, same output.
module digest pinned in service.json + on-chain in the service manager
- 03Sign
Each operator's signature binds the action to its trigger, target HF, deadline, and reason tag.
ECDSA over secp256k1 (POA middleware) · independent key custody
- 04Act
At quorum, one transaction dispatches the operate blob to your Dolomite sub-account, bounded by the calldata validator and the post-state HF floor.
ecrecover at the SubmissionHandler · operate-calldata validator at the factory · reverts on any tampered field