8000 GitHub - securesecrets/morpho-sdks: Collection of SDKs to ease interactions with the Morpho protocol and Morpho Vaults
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

securesecrets/morpho-sdks

 
 

Repository files navigation

Morpho SDKs

image

A collection of Software Development Kits to ease interactions with the Morpho protocol and Morpho Vaults.


Getting Started

Viem

  • @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 as Blue_Borrow) and Morpho Vaults (such as MetaMorpho_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

Wagmi

Ethers

Development

Testing

  • @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

Authors

License

MIT License

About

Collection of SDKs to ease interactions with the Morpho protocol and Morpho Vaults

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.1%
  • Solidity 2.6%
  • JavaScript 0.3%
0