Skip to content

mrgnlabs/mrgn-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A monorepo for marginfi-related TypeScript projects managed with Turbo.

About

mrgn-ts is an open source monorepo for TypeScript projects. It includes various app UI frontends, such as one for the product mrgnlend, as well as SDKs for marginfi v2, the marginfi v2 liquidator client, and the liquidity incentive program (LIP) client.

Features

  • Managed with Turbo
  • Includes various app UI frontends and SDKs
  • Open source under the Apache 2.0 license

Usage

  1. Fork and clone the repository.

  2. Install dependencies:

yarn
  1. marginfi frontend UIs can be found in apps/.

  2. marginfi SDKs can be found in packages/.

Contributing

We welcome contributions to mrgn-ts! Please review our contributing guidelines for more information.

License

mrgn-ts is open source software licensed under the Apache 2.0 license.

Updating the IDL

The IDL can be copied directly from the target/deploy folder. Make sure you have built without any feature flags (i.e. anchor build). The default configuration is correct for mainnet.

KNOWN BUG: In some instances, anchor will not generate "errors" in idl.json and this needs to be manually copied over and edited.