Survive the dip.

Liquidation protection for Aave V3 borrowers on X Layer. The AI watches your health factor around the clock and explains your risk in plain words; a contract that can only ever repay your own debt steps in before you get liquidated.

X Layer 196
Your positionProtected
1.42health factor, read from theAave pool
Collateral$24,180WETH + WBTC
Debt$13,900 USDT variable
Liq. threshold81.5%
AssetPriceLiq. priceDistance
WETH$3,412$2,474-27.5%
WBTC$58,900$40,520-31.2%
Liquidation Survivor reportWatch

You are 27% above your WETH liquidation price. A 10% drop takes your health factor to 1.21 — still above the 1.15 trigger. Below it, the contract repays about 1,420 USDT and brings you back to 1.35.

Liquidation penalty at risk: about $700 – $1,390. Buffer approved: 4,300 USDT — enough for three protections.

Recommended planUse this plan →
Trigger
1.15
Target
1.35
Max / protect
2,000
Cooldown
5 min
Buffer
$4,300
Asset
USDT
Last check 41s ago, next in 19sTelegram linked

Runs on

X Layerchains 196 and 1952
Aave V3pool + oracle
OKX Walletand any injected wallet
Claudeexplains, recommends, digests
OKX Explorerevery receipt linked
Telegramalerts + digests
X Layerchains 196 and 1952
Aave V3pool + oracle
OKX Walletand any injected wallet
Claudeexplains, recommends, digests
OKX Explorerevery receipt linked
Telegramalerts + digests
X Layerchains 196 and 1952
Aave V3pool + oracle
OKX Walletand any injected wallet
Claudeexplains, recommends, digests
OKX Explorerevery receipt linked
Telegramalerts + digests
X Layerchains 196 and 1952
Aave V3pool + oracle
OKX Walletand any injected wallet
Claudeexplains, recommends, digests
OKX Explorerevery receipt linked
Telegramalerts + digests

01 — Why

The largest pool of real users on X Layer had.

Ethereum borrowers have had liquidation automation for years. On X Layer there was nothing between a dip and a penalty. Liquidation Survivor is that missing layer, with one difference: it talks to you.

$0M
borrowed on Aave V3 on X Layer

two-thirds of the chain’s DeFi

0–10%
liquidation penalty

of your collateral, gone at the worst moment

0
automation — until now

no DeFi Saver, no Summer.fi, not even an alert

02 — How

Four steps. Two signatures. Then you stop watching charts.

01

Connect

Connect your OKX Wallet. We read your Aave position on X Layer — nothing to install, nothing to sign yet.

02

Understand

The AI explains it: liquidation prices, how far you are from them, what a 10% drop does, and recommends a plan (trigger HF, target HF, buffer) with its reasoning.

03

Enroll

Two signatures: approve a stablecoin buffer to SurvivalGuard, then enroll your plan. Disable or revoke anytime.

04

Sleep

The AI re-checks your health factor every minute and on market events. Below your trigger, the contract repays only what is needed from your buffer. You get a Telegram receipt with an explorer link.

03 — Security

Only your own debt. Enforced where it cannot be argued with.

The contract is the only enforcement layer. The AI only recommends parameters and calls protect earlier than a stranger would. Take the AI away and your funds are exactly as safe.

contracts/src/SurvivalGuard.sol0x838Bb12E… on X Layer
// SurvivalGuard.protect(user) — what must hold, every time
hf = POOL.getUserAccountData(user).healthFactor;
require(hf < plan.triggerHF); // on-chain, same tx
require(block.timestamp >= last + plan.cooldown);
amount = min(needToReach(plan.targetHF),
plan.maxRepayPerProtect,
allowance, balance, variableDebt);
POOL.repay(asset, amount, 2, user); // the only destination
require(hfAfter > hf); // must improve

The health factor is re-read on-chain, inside the transaction.

A protection call reverts unless Aave’s own Pool reports your health factor strictly below the trigger you chose. Nothing the operator believes matters; only the chain does.

Funds can go to exactly one place.

Aave repay on your behalf. That is the only destination in the code. No fee is taken from your buffer, no owner withdrawal, no rescue function.

Your caps, your cooldown.

Trigger HF, target HF, max repay per call and a cooldown between calls are part of your plan. The contract clamps every repayment to your allowance, balance and actual debt.

Disable or revoke anytime. Nothing to upgrade.

One click in the app stops the plan; revoking the allowance stops it without touching the contract. SurvivalGuard is not upgradeable and the owner cannot pause funds, only protections.

04 — The AI

It talks to you. It never touches your funds.

The AI is the part you read. The contract is the part that acts. Keeping them separate is the whole design.

Dark Survivor Bot
bot
Today

WETH fell 9% in the last hour. Your health factor dropped to 1.13 — below your 1.15 trigger. Executing protection now.21:47

Done. SurvivalGuard repaid 1,420 USDT from your buffer; you are back at 1.34. Receipt: 0x9f2c…7a1e21:47

View on OKX Explorer
What it does
  • Explains your position in plain words: liquidation prices, distance to them, what a 10% drop does.

  • Recommends a plan — trigger HF, target HF, buffer — with its reasoning, for you to accept or edit.

  • Digests every protection after the fact and sends the receipt to Telegram with an explorer link.

  • Watches every enrolled wallet every minute and on X Layer market events. Hosted, zero install.

What it never does
  • Holds keys. The AI has no access to your wallet. Enrollment and revocation are your signatures.

  • Signs for you. Execution is contract logic anyone can call. The keeper key only carries gas.

  • Blocks you. If the model is unavailable the product falls back to rules. You can always set a plan by hand.

05 — Survival Board

Every protection, public and verifiable.

The board lists each protection the contract executed, with explorer links. No wallet needed to look.

Open the board
0
Protected wallets
0
Protections executed
$0
Debt repaid in time
Reading the board…

Also from us

Dark Survivor Bot

Where Dark Survivor started: a security companion in Telegram. It answers onchain safety questions in plain words, watches the wallets you tell it to, and pings you when something on X Layer or the major chains deserves your attention. Liquidation Survivor sends its protection receipts through the same bot.

Next

Where the guard pattern goes from here.

Flash-loan mode

Protection without a pre-funded buffer: borrow, repay, unwind in one transaction.

Supply-collateral mode

Top up collateral instead of repaying debt when that is the cheaper way back above target.

More protocols

The guard pattern is not Aave-specific. Next: other lending markets on X Layer.

06 — FAQ

The questions worth asking before you enroll.

Everything else is onchain: the contract and every protection it has executed, on the explorer.

Get protected before the next dip.

Connect, read the report, approve and enroll. Then sleep.