Skip to content

๐Ÿƒ Learn how to interact on-chain with the Morpho-Compound protocol!

Notifications You must be signed in to change notification settings

morpho-labs/morpho-onchain-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Morpho-Compound On-Chain Examples

Learn how to interact with the Morpho-Compound protocol on-chain using a Smart Contract!

Installation

This example repository uses foundry to manage dependencies and resolve them at compilation.

git clone git@github.com:morpho-labs/morpho-onchain-examples.git
cd morpho-onchain-examples
git submodule update --init --recursive

Dependencies

Dependencies are included as git submodules and installable on any git repository. We recommend doing so via:

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/OpenZeppelin/openzeppelin-contracts lib/openzeppelin/contracts

But you can also install them via npm or yarn:

yarn add @morphodao/morpho-core-v1
yarn add @openzeppelin/contracts

morpho-utils is not yet available as an npm package!

Examples

About

๐Ÿƒ Learn how to interact on-chain with the Morpho-Compound protocol!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published