Sunny.
All projects
DeFiLive10/2021 — 01/2023

Lemma Finance (USDL)

Basis-trading / delta-neutral stablecoin and synthetic tokens

Senior Solidity Developer

SolidityFoundryHardhatTypeScriptDeFiDerivatives
Lemma Finance (USDL)

What it is

Lemma Finance (now part of InfinityPools) is a basis-trading / delta-neutral strategy stablecoin (USDL) backed by perpetual swaps. The mechanism converts volatile collateral into a stable asset by hedging the underlying with a short perp position of equivalent size.

What I contributed

  • Core contracts — basis-trading stablecoin engine.
  • Periphery contracts — user-facing entry/exit paths around the core.
  • LemmaSwap — a unique decentralized exchange engineered for the protocol's needs.
  • Protocol integrations — Zapper.fi, ParaSwap, and Forta Network (security monitoring bots).
  • Supporting libraries — including the LemmaSwap SDK.

Tooling

Foundry and Hardhat for testing and deployment. Custom TypeScript/JS scripts for the deployment pipeline and contract-level smoke tests.

Why it mattered

Delta-neutral stablecoins are one of the more elegant mechanisms in DeFi: collateral remains volatile but the user-facing asset is stable, because the protocol absorbs price exposure via hedging. The engineering challenge is making that mechanism cheap, predictable, and safe under adversarial conditions.

Related work

MR
DeFiLive

Memecoin Rebalancer

Buy and rebalance a basket of memecoins in a single execution

TypeScriptSoliditySmart WalletsAccount AbstractionBase
Z
DeFiLive

ZyFAI

AI-powered DeFi yield agent that auto-rebalances user funds across lending protocols

TypeScriptNode.jsPostgreSQLSupabaseLangChain+4
D
DeFiArchived

DeFiLens

Cross-chain DeFi tools with smart-wallet batching, conditional trading, and copy-trade

TypeScriptNext.jsSolidityAccount AbstractionSmart Wallets+4