Market Dead deposit
This tutorial explains how to set up a dead deposit for a Market V1.
A dead deposit is a security measure against ERC-4626 inflation attacks (read more).
Setting up a dead deposit involves supplying 1e9 shares to the target market, on behalf of address 0x000000000000000000000000000000000000dEaD, through a simple process on a block explorer like Etherscan:
-
Find the Morpho contract on the target chain in the Addresses page.
-
Approve the Morpho contract to spend the market's loan token on your behalf. You can do this on the loan token's contract. Approve enough assets to cover 1e9 vault shares.

- Use the Morpho contract's
supplyfunction to supply 1e9 shares to the market on behalf of address0x000000000000000000000000000000000000dEaD.

Once the transaction is confirmed, the market will be secured with a dead deposit.
