Socket
Book a DemoInstallSign in
Socket

@morpho-org/blue-sdk-ethers-liquidation

Package Overview
Dependencies
Maintainers
0
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@morpho-org/blue-sdk-ethers-liquidation

latest
npmnpm
Version
1.12.7
Version published
Maintainers
0
Created
Source

@morpho-org/blue-sdk-ethers-liquidation

A package containing all useful utilities to help build efficient and competitive liquidation bots on Morpho Blue.

Getting Started

npm install @morpho-org/blue-sdk-ethers-liquidation
yarn add @morpho-org/blue-sdk-ethers-liquidation

Examples

An example liquidation bot currently used in production is available under examples/.

This bot, provided a list of whitelisted markets to monitor, automatically:

  • Fetches liquidatable positions from the API
  • Finds the largest available liquidity for a swap of the collateral for the debt via 1inch
  • Redeems collateral MetaMorpho shares for the underlying assets when applicable
  • Only submit profitable liquidations (wrt to the gas cost & the swap's slippage)

FAQs

Package last updated on 04 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts