marginfi SDKs

The recommended way to interact with the marginfi protocol is by using one of our official SDKs. Today, Protocol offers fine-tuned TypeScript and Rust (CLI) libraries to make your life easier and give you the best experience when interacting with the marginfi protocol.

Official libraries


A popular general-purpose scripting language that is especially suited to web development.

Discover more

Rust (CLI)

A dynamic, systems programming language with a focus on memory safety and speed.

Discover more

Was this page helpful?