A collection of Software Development Kits to ease interactions with the Morpho protocol and Morpho Vaults.
@morpho-org/blue-sdk-viem
: Viem-based augmentation of@morpho-org/blue-sdk
that exports (and optionally injects) viem-based fetch methods@morpho-org/bundler-sdk-viem
: Viem-based extension of@morpho-org/simulation-sdk
that exports utilities to transform simple interactions on Morpho (such asBlue_Borrow
) and Morpho Vaults (such asMetaMorpho_Deposit
) into the required bundles (with ERC20 approvals, transfers, etc) to submit to the bundler onchain@morpho-org/liquidity-sdk-viem
: Viem-based package that helps seamlessly calculate the liquidity available through the PublicAllocator@morpho-org/liquidation-sdk-viem
: Viem-based package that provides utilities to build viem-based liquidation bots on Morpho and examples using Flashbots and Morpho's GraphQL API
@morpho-org/blue-sdk-wagmi
: Wagmi-based package that exports Wagmi (React) hooks to fetch Morpho-related entities@morpho-org/simulation-sdk-wagmi
: Wagmi-based extension of@morpho-org/simulation-sdk
that exports Wagmi (React) hooks to fetch simulation states
@morpho-org/blue-sdk-ethers
: Ethers-based augmentation of@morpho-org/blue-sdk
that exports (and optionally injects) ethers-based fetch methods@morpho-org/liquidity-sdk-ethers
: Ethers-based package that helps seamlessly calculate the liquidity available through the PublicAllocator
-
@morpho-org/morpho-ts
: TypeScript package to handle all things time & format-related -
@morpho-org/blue-sdk
: Framework-agnostic package that defines Morpho-related entity classes (such asMarket
,Token
,Vault
) -
@morpho-org/simulation-sdk
: Framework-agnostic package that defines methods to simulate interactions on Morpho (such asSupply
,Borrow
) and Morpho Vaults (such asDeposit
,Withdraw
) -
@morpho-org/blue-api-sdk
: GraphQL SDK that exports types from the API's GraphQL schema and a useful Apollo cache controller
-
@morpho-org/test
: Viem-based package that exports utilities to build Vitest & Playwright fixtures that spawn anvil forks as child processes -
@morpho-org/test-wagmi
: Wagmi-based extension of@morpho-org/test
that injects a test Wagmi config as a test fixture alongside viem's anvil client -
@morpho-org/morpho-test
: Framework-agnostic extension of@morpho-org/blue-sdk
that exports test fixtures useful for E2E tests on forks
- @rubilmax (rubilmax.eth, Twitter)
- @oumar-fall (oumix.eth)
- @julien-devatom (Twitter)
MIT License