Create a Market
This tutorial guides you through the process of creating and configuring a market in your Morpho vault.
Deploying a Market via Etherscan
Jump on the Morpho contract
See the address section.
E.g: Ethereum mainnet address is 0xbbbbbbbbbb9cc5e90e3b3af64bdaf62c37eeffcb
Fill all attributes
Jump on the createMarket
function
loanToken
: paste the address of the loan token,collateralToken
: paste the address of the collateral token,oracle
: paste the oracle address,irm
: paste the Interest Rate Model address,lltv
: the LLTV is defined with 18 decimals. 1e18 represents an LLTV of 100% (which is not enabled) and 945000000000000000 thus represents 94.5%.

Sign the transaction
You are done.
Important Note
Market Id Retrieval
When creating a market, a CreateMarket
event is emitted with the market id
:

To retrieve the market parameters from this id
:
Navigate to the Morpho contract on Etherscan
Go to the "Read Contract" tab
Find the idToMarketParams
function
Paste the id
into the input field and execute
Example: Using the id
: 0xb323495f7e4148be5643a4ea4a8221eef163e4bccfdedc2a6f4696baacbc86cc
