marginfi
CommunityBuild on Solana's premier lending protocol.
Author0xinit
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides a comprehensive guide and SDK for interacting with Marginfi, a decentralized lending protocol on Solana, enabling developers to build sophisticated DeFi applications.
Core Features & Use Cases
- Lending & Borrowing: Integrate core deposit, borrow, and repayment functionalities.
- Leveraged Positions: Implement advanced strategies like looping and leveraged trading.
- Flash Loans: Utilize uncollateralized loans for arbitrage, liquidations, and other strategies.
- Use Case: A decentralized exchange could integrate Marginfi to offer leveraged trading by allowing users to borrow assets against their collateral directly within the DEX interface.
Quick Start
Use the marginfi skill to initialize the client and create a new Marginfi account.
Dependency Matrix
Required Modules
@mrgnlabs/marginfi-client-v2@mrgnlabs/mrgn-common@solana/web3.js@coral-xyz/anchordecimal.jsbn.js
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: marginfi Download link: https://github.com/0xinit/cryptoskills/archive/main.zip#marginfi Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.