DeFi product work by Connor Lee

02 / 09

Role period2023

Marginfi

mrgnlend

Making risk visible before the next move.

Role
Sole product designer
Medium
Web app
Outcome
ShippedCore lending & risk UX
mrgnlend lending dashboard with account balances, Health Factor, and SOL, USDC, and BONK markets
Original product design · lending dashboard

mrgnlend, project 2 of 9

Case study Lending & borrowing · 2023

mrgnlend

I led mrgnlend from user research through the shipped lending, borrowing, and risk experience, working with engineering on account states and transaction controls.

Problem

Borrowing against volatile assets required users to understand how each action would change their position and liquidation risk.

Approach

Keep the health factor visible across lending, borrowing, and portfolio flows so users can assess risk before acting.

Outcome & attribution

mrgnlend launched with the core lending, borrowing, and risk experience I designed. My role ended in May 2023, before the points program and later market expansion.

Selected artifacts

Product & process.

Product states, decisions, and the system behind them.

Health Factor · Lend and Borrow

Lend design iteration with account summary, Health Factor, current lending position and Withdraw control
Design iteration · illustrative values
Process deck p24 design iterations, not the shipped build. Balances and Health Factor are example values.
  1. 01
    Health Factor stays in view

    Balance, liquidity, and Health Factor sit together above every action, so users can judge their position before they lend or borrow.

  2. 02 · Lend
    One mental model for Lend and Borrow

    Both actions share the same market rows behind one toggle. The supplied position sits directly above the markets it came from.

  3. 02 · Borrow
    Only the rows change

    Switching to Borrow leaves the account summary and Health Factor where they were, so the risk picture holds while the action changes. The toggle and shared rows carried through to the shipped dashboard.

References & further reading

  1. 01
    The lend and borrow table as it stood in May 2023 (opens in a new tab)

    mrgn-ts, marginfi's open-source frontend (GitHub) · May 2023

    Lend and borrow modes, global and isolated pools, and the column tooltips.

  2. 02
    The commit that replaced the table (opens in a new tab)

    mrgn-ts (GitHub) · Apr 2024

    “feat: improved asset list”: a rebuilt asset table takes over the lend page.

  3. 03
    DeFi Lender MarginFi Fuels Growth With Loyalty Points, Spurring Talk of ‘Solana Renaissance’ (opens in a new tab)

    CoinDesk · 14 Jul 2023

    The points program's launch and early growth, after my role ended.

  4. 04
    MarginFi sees $155 million outflow amid leadership shakeup (opens in a new tab)

    The Block · 11 Apr 2024

    Cites DefiLlama: $811 million in TVL on 1 April 2024.

  5. 05
    marginfi Lending (opens in a new tab)

    DefiLlama

    The historical TVL series. TVL is the value of tokens held in the protocol's contracts; loans are tracked separately.

DeFi work — AP3