lulo

Integrate Lulo's Solana lending aggregator API for deposits, withdrawals, and yield queries.

6|20|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/andresdefi/cryptoskills --skill lulo-andresdefi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lulo
Source: https://github.com/andresdefi/cryptoskills/tree/main/skills/lulo
Command: npx skills add https://github.com/andresdefi/cryptoskills --skill lulo-andresdefi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually routing stablecoin and SOL deposits across Solana lending protocols to chase the best yield is time-consuming and error-prone. This Skill provides the API endpoints, transaction patterns, and code examples needed to integrate Lulo, which automatically allocates deposits across Kamino, Drift, MarginFi, and Jupiter. ## Core Features & Use Cases - Deposit & Withdrawal Transactions: Generate serialized Solana transactions for Protected, Boosted, and Custom deposits via the Lulo API, then sign and submit them. - Account & Pool Queries: Retrieve balances, interest earned, APY rates, pending withdrawals, and protocol allocation data. - Risk-Tiered Yield Strategies: Choose between Protected deposits with automatic coverage, Boosted deposits earning higher APY as a first-loss layer, or Custom deposits with direct protocol control. - Use Case: Build a treasury management bot that deposits idle USDC into Lulo's Protected pool, monitors hourly APY changes, and withdraws when rates drop below a threshold. ## Quick Start Ask the agent to deposit 100 USDC into a Lulo protected deposit using the Lulo API and your Solana wallet.

Frequently Asked Questions about lulo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deposit USDC into Lulo on Solana?

Call POST /v1/generate.transactions.deposit with your wallet public key, the USDC mint address, deposit type, and amount in smallest units. The API returns a base64-serialized transaction that you deserialize, sign with your keypair, and send via a Solana connection.

What is the difference between Lulo Protected and Boosted deposits?

Protected deposits earn stable yields with automatic coverage against protocol failures, paid for by sharing interest with Boosted depositors. Boosted deposits earn roughly 1-2% higher APY but act as the first-loss layer and have a 48-hour withdrawal cooldown.

Which tokens does Lulo support for deposits?

Lulo supports stablecoins USDC, USDT, USDS, and PYUSD, native SOL, liquid staking tokens mSOL, JitoSOL, and bSOL, plus tokens like JUP, BONK, and ORCA. Minimum deposits are $100 for stablecoins and 1 SOL for native SOL.

Why does my Lulo API request return a 401 UNAUTHORIZED error?

A 401 error means the API key is missing or invalid. Confirm the key is sent in the lowercase x-api-key header and that the environment variable is set. You can generate a new key from the developer portal at dev.lulo.fi.

Why can't I withdraw my Lulo Boosted deposit immediately?

Boosted deposits have a mandatory 48-hour cooldown period because they serve as the insurance layer for Protected deposits. Check GET /v1/account/{wallet}/pending-withdrawals to see the remaining cooldown time before completing the withdrawal.

How do I handle expired blockhash errors with Lulo transactions?

Regenerate a fresh transaction from the Lulo API on each retry rather than reusing the old serialized transaction. Implement a retry loop with backoff, and consider raising the priorityFee parameter above 500000 microlamports during network congestion.