
Jupiter Lend
This wraps Jupiter's lending protocol on Solana, giving you read and write access to their liquidity pools, jlTokens (yield-bearing lending positions), and leveraged vaults. The SDK split is clean: use @jup-ag/lend-read for querying rates, positions, and vault configurations, then @jup-ag/lend for actual transactions like deposits, borrows, and repays. The vault system uses a tick-based architecture for risk management, and all operations funnel through a single getOperateIx function where you control direction with signed amounts. Useful if you're building Solana DeFi tooling and need programmatic access to lending markets without manual UI clicks. The sentinel values for max withdraw and repay are a nice touch for handling edge cases cleanly.
- skills.sh installs
- 329
- GitHub stars
- 85
- last updated
- Aug 21, 2026
Install
$ npx -y skills add jup-ag/agent-skills --skill jupiter-lend --agent claude-codeInstalls into .claude/skills of the current project.
Files
Jupiter Lend Protocol
Jupiter Lend (powered by Fluid Protocol) is a lending and borrowing protocol on Solana. It offers Liquidity Pools, Lending Markets (jlTokens), and Vaults for leveraged positions.
The protocol uses two main SDKs:
@jup-ag/lend-read: Read-only queries for all programs (Liquidity, Lending, Vaults)@jup-ag/lend: Write operations (deposit, withdraw, borrow, repay)
Agent usage
Example prompts you can use to demo Jupiter Lend integrations:
- Discover all available vaults and list them
- Fetch all vault positions for a user
- Deposit collateral and borrow in a single transaction
- Repay max debt and withdraw max collateral for a position
- Get user Earn (jlToken) positions and underlying balances
- Build a flashloan for arbitrage or liquidation
- Get liquidity rates and APY for a token
- Create a new vault position (positionId 0), deposit collateral, and borrow
SDK Installation
# For read operations (queries, prices, positions)
npm install @jup-ag/lend-read
# For write operations (transactions)
npm install @jup-ag/lend
1. Key Concepts & Protocol Jargon
Sponsors
Details
- Repository
- github.com/jup-ag/agent-skills
- Categories
- AI & Agent Building, Rust
- First seen
- Jun 3, 2026