Links

Installation

Install morpho-core-v1 as a git submodule to easily integrate with Morpho!
Installing dependencies allows to easily interact with Morpho, especially with the help of the Solidity interfaces from the open-source repository.
Solidity
Node.js
git submodule add https://github.com/morpho-dao/morpho-core-v1 lib/morpho-dao/morpho-core-v1
git submodule add https://github.com/morpho-dao/morpho-utils lib/morpho-dao/morpho-utils
git submodule add https://github.com/morpho-dao/morpho-tokenized-vaults lib/morpho-dao/morpho-tokenized-vaults
​
git submodule add https://github.com/OpenZeppelin/openzeppelin-contracts lib/openzeppelin/contracts
git submodule add https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable lib/openzeppelin/contracts-upgradeable
If you're using forge, also add the following remapping to remappings.txt:
@morpho-dao/=lib/morpho-dao
@openzeppelin=lib/openzeppelin
yarn add @openzeppelin/contracts