Is a higher DeFi APY worth the switching fees? Find your break-even day, save it on Arkiv.
Thehro (ठहरो, Hindi for "pause") helps you decide whether moving your stablecoins to a higher-yield DeFi pool will actually earn you more money.
The problem: DeFi apps advertise APY, and a pool paying 8% looks better than one paying 4%. But moving is not free. You pay gas, bridge fees, withdrawal and entry fees, and slippage. If you only hold the new position for a few weeks, those costs can be bigger than the extra interest. Chasing the higher APY leaves you with less money. Headline APYs are also often mostly temporary reward incentives that can end at any time.
What Thehro does:
Built on Arkiv: Connect a browser wallet and save the exact scenario (inputs, pool snapshot, fees and assumptions) as an expiring, wallet-owned receipt on the Arkiv Rabdi testnet. You choose how long it lasts, from 2 minutes up to 7 days, because a yield decision goes stale. The "My receipts" page queries Arkiv for entities owned by your wallet, so you can reopen a receipt and restore the same comparison or export it as JSON. When the lifetime ends, the receipt is no longer returned by queries. Expiry is enforced by the chain's block number, not by a cleanup job. A CLI script runs the same owner-filtered query, so anyone can reproduce the read.
Without a wallet, the calculator still works. You can keep a local draft, share a scenario through a link (the data stays in the URL fragment and is never sent to a server), or export and import JSON.
Thehro never deposits, withdraws, bridges, swaps, approves tokens or holds keys. The only transactions are the ones you sign to save receipts. It is a decision tool, not financial advice: it does not model taxes, depegs, smart-contract risk or rate changes beyond the scenarios you set.
Stack: Vite with vanilla JavaScript, the Arkiv SDK, viem, DeFiLlama's yield API, and EIP-6963 wallet discovery with mobile wallet deep links. Built from scratch at ETHGlobal Mumbai 2026 with AI assistance (Codex), as disclosed in the README.
Thehro is a static, frontend-only app. There is no backend, no database we run, and no server-held keys. It's built with Vite and plain JavaScript (no React or other framework). Icons are Lucide, and the chart is hand-written SVG.
The core is a small math module (src/math.js). APY is treated as an effective annual rate, so the balance after d days is P × (1 + APY)^(d/365). We use Math.expm1 and Math.log1p so small rates and short periods don't lose precision. The move side subtracts the switching cost before compounding, so the cost of spending those dollars upfront is counted. Break-even isn't found by trial and error. It is solved directly: days = 365 × ln(P / (P − cost)) / (ln(1 + target) − ln(1 + current)). The "What if the rate changes?" table re-runs the same math at lower target rates. Node's built-in test runner covers the formulas, edge cases and validation of untrusted input.
Market data comes from DeFiLlama's public yields endpoint (yields.llama.fi/pools), fetched directly from the browser. The feed has more than 15,000 pools. We keep only single-asset USDC pools with no impermanent-loss risk and at least $1M TVL. Results are cached for 5 minutes and refreshed in the background while the tab is visible. We keep the base and reward APY split and the 30-day mean, which powers the "exclude rewards" and "30-day mean" stress tests. Simple heuristics on the pool metadata flag possible lockups or KYC limits, reward-heavy yields, and rates that are far from their 30-day mean. DeFiLlama is a data source only. It is not a second partner integration.
Arkiv (the partner tech) stores the decision receipts. In src/arkiv.js, using @arkiv-network/sdk and viem:
How Arkiv helped: a yield comparison goes stale quickly, and Arkiv makes expiry part of the data model. We didn't have to build a cleanup job or a backend. Ownership comes from the wallet, so receipts can be recovered on any device and any client can read them with the same schema.
Notable or hacky bits:
The project was built from scratch at ETHGlobal Mumbai with AI assistance (Codex) for research, UI, implementation, tests and docs, as disclosed in the README.

