Get Started

Learn how to query & interact with Morpho, on-chain using a Smart Contract & off-chain using ethers.js!
In this section, you will find concrete examples showing how to interact with Morpho and how to query information about users!
The Morpho protocol is open-source and its source code can be found on the morpho-core-v1 repository. It uses utility libraries open-sourced on the morpho-utils repository. All deployed contracts addresses are available in the deployments glossary.

Table of Contents


Track positions on Morpho

Morpho uses delegatecalls to delegate logic to implementation contract and thus does not have an ABI with all existing events.

Interact with Morpho

Full code examples

The complete codebases of the examples provided in this section are also available on the morpho-onchain-examples for Solidity integration and on the morpho-offchain-examples for ethers.js and more generic off-chain integration repositories.