Home / Engagements / Lending against tokenized equities

DeFi / lending

Lending against tokenized equities

A working testnet implementation of a retail euro loan against a tokenized share, on an unmodified lending protocol. Market hours, eligibility and liquidation worked through end to end.

Implementation study: what it takes to put a plain lending protocol behind a retail product when the collateral is a tokenized share. We built it on an unmodified Morpho Blue with two isolated markets, a gateway contract, an identity registry, a euro ledger and an overnight cover mechanism, plus a phone-width customer app and an operator desk that can move prices and force a liquidation.

The protocol handles collateral, debt and liquidation. It does not know that the share stops trading at night, who may hold the token, who may receive it in a liquidation, or that a euro on a chain is not a euro in an account. Those rules sit around the protocol, and most of the work was deciding where each one lives and what happens when someone goes around it.

Testnet only. Demo tokens, placeholder rates, no audit and no legal opinion. The contracts have a local Foundry test suite. The write-up and slides are linked below.

System map: one loan, eight events, four layers and four ledgers
One loan, eight events, four layers. The customer sees euros, the system moves a token.

Back to engagements