Liquidation Bot
How to liquidate on Morpho?
Morpho possesses its own liquidation mechanism, which reproduces exactly the same mechanism as the underlying protocols (Compound & Aave); thus it has its own set of liquidation bots.
This GitHub repository exposes a liquidation bot example contract, built on Morpho CompoundV2 Optimizer Mainnet and Morpho AaveV2 Optimizer Mainnet.
This is not a competitive liquidation bot, but a liquidation bot that can be used to liquidate a large amount of collateral in a single transaction, without any funds needed other than gas fees.
One can use it at their own risk, or use it as a baseline and improve it.
Do not hesitate to jump in our Discord for any remaining questions.