Socket
Book a DemoInstallSign in
Socket

@morpho-org/blue-liquidation-sdk

Package Overview
Dependencies
Maintainers
4
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@morpho-org/blue-liquidation-sdk

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

latest
npmnpm
Version
1.2.0
Version published
Maintainers
4
Created
Source

@morpho-org/blue-liquidation-sdk

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

Getting Started

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

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 17 Jun 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