Comment on page

Install Dependencies

Learn how to interact with Morpho-Compound, on-chain via a Smart Contract & off-chain via ethers.js.
Installing dependencies allows developers to easily interact with Morpho, especially with the help of the Solidity interfaces from the open-source repository.
git submodule add lib/morpho-dao/morpho-v1
git submodule add lib/morpho-dao/morpho-utils
git submodule add lib/morpho-dao/morpho-tokenized-vaults
git submodule add lib/openzeppelin/contracts
git submodule add lib/openzeppelin/contracts-upgradeable
If you're using forge, also add the following remapping to remappings.txt:
yarn add @openzeppelin/contracts
Last modified 8mo ago