Skip to content
Yilnes

Yilnes

Customize Your Safety. Maximize Your Yield.

Created on 31st January 2026

Yilnes

Yilnes

Customize Your Safety. Maximize Your Yield.

The problem Yilnes solves

The Problem: Bringing "Based" Safety to Consumer DeFi. Base is onboarding the next billion users to onchain finance. However, for a retail user depositing their first $100 or $1,000, the barrier isn't just UX—it’s fear.

  • The "Rug" Anxiety: New onchain users often hesitate to explore high-yield RWA strategies (like Maple or Goldfinch) because they fear smart contract exploits or defaults.
  • Insurance is for Whales: Traditional DeFi insurance (like Nexus Mutual) is often too expensive or complex for the average Base user. High gas fees on L1 make insuring small amounts economically unviable.
  • The "Cold Start" Liquidity Risk: Most yield aggregators build insurance funds by taxing profits after they are earned. If a hack happens on Day 1, the reserve is empty, and early adopters are left with zero protection.

The Solution: Yilnes – The Safety Layer for Base. Yilnes is a specialized RWA Yield Aggregator built natively on Base that enables "Micro-Insurance" for every user, no matter how small their deposit.

  • Upfront Safety Reserve: We use a "Nexus Mutual-style" logic where users pay a small premium immediately upon deposit. Because Base's gas fees are so low, this transaction is negligible for the user but ensures the Safety Reserve has immediate liquidity to cover losses from Block 1.
  • Native USDC Integration: Built specifically for the Base DeFi ecosystem, Yilnes leverages the ubiquity of USDC on Base. Users can seamlessly move from Coinbase to Yilnes and start earning protected yields without complex swaps or wrappers.
  • Customizable "Consumer-Grade" Coverage: Users utilize a simple, dynamic slider to choose their protection period (28 days to 365 days). The smart contract calculates the risk premium in real-time, making institutional-grade hedging accessible to anyone with a wallet.

Revenue Model:

  • Spread on Premiums: A portion of the insurance premium flows to the Protocol Treasury.
  • Unclaimed Yields: Yields generated by the Safety Reserve itself (which is deployed into low-risk Base strategies like Aave/Moonwell) compound the protocol's value.

Challenges I ran into

Multi-Chain Token Standards (The Base USDC Trap) Deploying on Base exposed us to critical differences in token standards compared to local testnets.

  • The Hurdle: While developing locally, we used standard 18-decimal ERC20 mocks. However, native USDC on Base uses 6 decimals. When we first deployed our Vault to Base Sepolia, our math for calculating premiums broke completely—users were being charged 1 trillion times less than intended because of the decimal mismatch.
  • The Solution: We rewrote our MockUSDC contracts and re-engineered our frontend hooks (useToken.ts, InvestModal.tsx) to dynamically handle 6-decimal precision. We now use parseUnits(amount, 6) specifically for Base deployments, ensuring our math aligns perfectly with Circle's native USDC standard.

The Pivot: Yield Tax vs. Upfront Premium Initially, we built the protocol using a standard "Performance Fee" model, where 10% of a user's profit was deducted to fund the insurance pool.

  • The Hurdle: We realized this failed the "Day 1 Hack" scenario. If the protocol was exploited early, the reserve would be empty because no one had claimed yields yet.
  • The Solution: We completely refactored the Smart Contract logic to an Upfront Premium model. We implemented time-weighted math (Principal * Rate * Duration / 365) directly in Solidity. This makes the protocol robust from the very first deposit, solving the "Cold Start" problem.

Handling "Expired" Coverage on Low-Latency Chains Building the logic for what happens when a user's chosen coverage period ends was tricky, especially with Base's fast block times.

  • The Hurdle: We didn't want to lock user funds or force-withdraw them when coverage expired.
  • The Solution: We implemented a "Grace Period" state in the UI. If a user stays past their covered date, their dashboard badges change from "Premium Coverage" (Green) to "Uninsured" (Yellow). They stop paying premiums but immediately lose protection. This required precise timestamp synchronization between the client (Wagmi/Viem) and the Base blockchain state.

Tracks Applied (1)

Thetanuts Finance Track

Yilnes makes Thetanuts options invisible. For the User: They see a simple "Insurance Slider" to protect their deposit. ...Read More

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio