Overview
Collateral
ETH and Robinhood Stock Tokens, held by the vault contract in your name.
Borrow
Dollars (USDG) against that collateral, at 8% a year, compounding as the vault is used (about 8.3% effective).
Guardian
An agent you appoint can move your ETH buffer into collateral. Nothing else.
Exit anytime
Repay and withdraw whenever you like, even if new deposits are paused.
Getting started
- Connect a wallet (MetaMask, Rabby, Coinbase Wallet, anything EIP-1193) on the home page. The site switches it to Robinhood Chain.
- Deposit collateral: ETH, or a Stock Token you hold (the first deposit of a token asks for an approval).
- Borrow up to the point where your health stays at or above
1.25. - Optional, protect it: add an ETH buffer and appoint the Kryonark agent (30 days, revocable).
- Repay and withdraw whenever you want. Repaying all of it clears the debt, including interest to that block.
On testnet: the account panel has a faucet button for test dollars, and Robinhood's faucet gives test ETH and Stock Tokens.
Health factor
Health = Σ (collateral value × its weight) ÷ debt value. ETH counts 80% of its value, Stock Tokens 70%. Below 1.00 the account can be liquidated; borrowing or withdrawing must leave it at 1.25 or more; the agent acts below 1.30.
| Value | Counts | |
|---|---|---|
| 1 ETH at $3,000 | $3,000 | $2,400 |
| 10 TSLA at $388 | $3,880 | $2,716 |
| Borrowed | $3,000 | |
| Health | ($2,400 + $2,716) ÷ $3,000 = 1.71 | |
If ETH falls 20% to $2,400, ETH counts $1,920 and health becomes ($1,920 + $2,716) ÷ $3,000 = 1.55. The most this account could borrow is $5,116 ÷ 1.25 = $4,092.
Liquidation
When health is below 1.00 anyone can repay up to half the debt (all of it under $100) and receive collateral of their choice worth 5% more than they repaid.
The guardian agent
You appoint an address as your guardian with setGuardian(agent, days) (up to 90 days; setGuardian(0x0, 0) revokes). The vault lets that address call exactly one function, guardTopUp, which moves ETH from your buffer into your collateral, and only while your health is below 1.30.
The Kryonark agent runs around the clock: it reads every account's health from the chain every few seconds and tops up to about 1.50, limited by your buffer. Its live status, including every top-up in the last 24 hours, is on the home page and at /agent/api/status.
If the agent is offline, nothing happens to your account: you can still add collateral, repay or withdraw yourself.
Intents
The intent box turns a sentence (English or Indonesian) into the matching contract call, shows it, and asks your wallet to sign. It never signs anything itself.
| You type | It prepares |
|---|---|
Deposit 0.5 ETH · Setor 2 TSLA | depositEth / deposit |
Borrow $200 · Pinjam 200 USD | borrow, with the health after |
Repay all · Bayar $50 | repay |
Protect my account with 0.05 ETH | depositBuffer + setGuardian |
Withdraw 1 TSLA · Revoke the agent | withdraw / setGuardian(0x0) |
Lending
Borrowed dollars come from a pool anyone can supply. Suppliers receive shares of the pool's cash plus outstanding debt, so interest paid by borrowers accrues to them. Withdrawals are limited by the cash in the pool at that moment.
Contracts and parameters
| Contract | Address |
|---|---|
| KryonarkVault | loading… |
| KryoOracle | loading… |
| Debt asset | loading… |
| Parameter | Value |
|---|---|
| ETH weight / Stock Token weight | 80% / 70% |
| Minimum health after borrow or withdraw | 1.25 |
| Agent acts below | 1.30, aiming for 1.50 |
| Liquidation | below 1.00, 5% bonus, up to 50% of the debt |
| Borrow rate | set on-chain (aprBps), max 50% a year |
| Prices | Chainlink on mainnet for ETH and seven stocks; ANT and USDG (no Chainlink feed yet) are pushed by the agent; on testnet (no Chainlink) the agent pushes Coinbase and Robinhood prices, each push capped at a 25% move |
Source and tests: github.com/kryonark/kryonark/contracts.
npm package and CLI
kryonark on npm reads the live vault. No dependencies, Node 18+.
npx kryonark # protocol totals, prices and the agent
npx kryonark account 0xYourAddress # collateral, debt and health of an account
npx kryonark --json # machine-readable
import { protocol, account, health } from "kryonark";
const p = await protocol(); // live from the chain
const a = await account("0x…"); // { collateral, debt, health }
Public API
GET /assets/network.json
Network, contract addresses and listed assets.
GET /agent/api/status
The agent's heartbeat: last check, checks in 24 hours, accounts guarded, prices it reads, and recent top-ups with transaction hashes.
GET /studio/api/token
The $KRYO token's public details once launched; {"live": false} before that.
FAQ
Who can use Kryonark?
Not US persons: Robinhood Stock Tokens may not be offered, sold or delivered in the United States or to US persons.
Is it audited?
Not yet. The contracts are open source with tests; see the security page for what that means for you.
What if the agent goes offline?
Your account is unchanged. You can top up, repay or withdraw yourself at any time.
Where are the official links?
kryonark.xyz, github.com/kryonark and the kryonark npm package.