mrgnlabs / mrgn-ts

https://app.marginfi.com
Apache License 2.0
87 stars 70 forks source link

mrgn-ts

Build Discord Chat License License Twitter
marginfi-v2-ui marginfi-landing-page alpha-liquidator marginfi-client-v2 lip-client

app.marginfi.com

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

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.