A monorepo for marginfi-related TypeScript projects managed with Turbo.
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.
Fork and clone the repository.
Install dependencies:
yarn
We welcome contributions to mrgn-ts
! Please review our contributing guidelines for more information.
mrgn-ts
is open source software licensed under the Apache 2.0 license.
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.