lulo
БесплатноЗапускает вложенные скриптыНе проверенComplete guide for Lulo - Solana's premier lending aggregator. Covers API integration for deposits, withdrawals, balance queries, Protected/Boosted deposits…
от sendaifun★ 129 звёзд на GitHubОб этом скилле
Lulo Development Guide
A comprehensive guide for integrating Lulo, Solana's only lending aggregator, into your applications. Lulo automatically routes deposits to the highest-yielding DeFi protocols while providing optional smart contract protection.
What is Lulo?
Lulo (formerly FlexLend) is a DeFi savings platform for stablecoins on Solana. It automatically allocates deposits across integrated protocols to maximize yields while maintaining desired risk exposure.
Key Features
| Feature | Description |
|---|---|
| Yield Aggregation | Automatically routes deposits to highest-yielding protocols |
| Lulo Protect | Built-in smart contract risk protection (Protected/Boosted deposits) |
| Custom Deposits | Full control over protocol allocation and risk parameters |
| Instant Withdrawals | No lock-up periods (except 48h cooldown for Boosted) |
| Multi-Protocol | Integrates Kamino, Drift, MarginFi, Jupiter |
| No Custody | Funds flow directly to integrated protocols, not held by Lulo |
Why Use Lulo?
- Automated Rebalancing: Checks rates hourly, automatically moves funds to better yields
- Risk Management: Choose between Protected (insured), Boosted (higher yield), or Custom deposits
- Zero Management Fees: Only 0.005 SOL one-time initialization fee
- Multi-Reward Accrual: Earn rewards from multiple protocols from a single deposit
- 9,400+ Lifetime Depositors with $34M+ in directed liquidity
Overview
Lulo provides three deposit types:
- Protected Deposits: Stable yields with automatic coverage against protocol failures
- Boosted Deposits: Higher yields by providing insurance for Protected deposits
- Custom Deposits: Direct control over which protocols receive your funds
Integrated Protocols
| Protocol | Description |
|---|---|
| Kamino Finance | Lending and liquidity vaults |
| Drift Protocol | Perpetuals and lending |
| MarginFi | Lending and borrowing |
| Jupiter | Lending/earn features |
Supported Tokens
- Stablecoins: USDC, USDT, USDS, PYUSD
- Native: SOL
- LSTs: bSOL, JitoSOL, mSOL
- Other: BONK, JUP, ORCA, COPE, CASH
Minimum Deposits: $100 for stablecoins, 1 SOL for native token
Quick Start
API Authentication
All API requests require a valid API key. Get your key from the Lulo Developer Dashboard.
const headers = {
'Content-Type': 'application/json',
'x-api-key': process.env.LULO_API_KEY,
};
Base URLs
| Environment | URL |
|---|---|
| Production | https://api.lulo.fi |
| Blinks | https://blink.lulo.fi |
| Developer Portal | https://dev.lulo.fi |
API Reference
Generate Deposit Transaction
Creates a serialized transaction for depositing tokens into Lulo.
Endpoint: POST /v1/generate.transactions.deposit
Query Parameters:
| Parameter | Type | Description |
|---|---|---|
priorityFee |
number | Priority fee in microlamports (e.g., 500000) |
Request Body:
{
"owner": "YourWalletPublicKey",
"mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"depositType": "protected",
"amount": 100000000
}
Response:
{
"transaction": "base64EncodedSerializedTransaction",
"lastValidBlockHeight": 123456789
}
Generate Withdrawal Transaction
Creates a serialized transaction for withdrawing tokens from Lulo.
Endpoint: POST /v1/generate.transactions.withdraw
Query Parameters:
| Parameter | Type | Description |
|---|---|---|
priorityFee |
number | Priority fee in microlamports |
Request Body:
{
"owner": "YourWalletPublicKey",
"mintAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"withdrawType": "protected",
"amount": 50000000
}
Get Account Data
Retrieves user balances, interest earned, and APY metrics.
Endpoint: GET /v1/account/{walletAddress}
Response:
{
"totalDeposited": 1000000000,
"totalInterestEarned": 5000000,
"currentApy": 8.5,
"positions": [
{
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"depositType": "protected",
"balance": 500000000,
"interestEarned": 2500000,
"apy": 7.2
}
]
}
Get Pool Data
Returns current APY rates, liquidity amounts, and capacity metrics.
Endpoint: GET /v1/pools
Response:
{
"pools": [
{
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"symbol": "USDC",
"protectedApy": 6.5,
"boostedApy": 9.2,
"totalDeposited": 34000000000000,
"availableCapacity": 10000000000000
}
]
}
Get Pending Withdrawals
Lists active withdrawal requests with cooldown periods.
Endpoint: GET /v1/account/{walletAddress}/pending-withdrawals
Initialize Referrer
Sets up a referrer account for earning referral fees.
Endpoint: `POST /v1/referrer/in
Установить lulo в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл lulo?
Complete guide for Lulo - Solana's premier lending aggregator. Covers API integration for deposits, withdrawals, balance queries, Protected/Boosted deposits, Custom deposits, and automated yield optimization across Kamino, Drift, MarginFi, and Jupiter.
Как установить скилл lulo?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл lulo запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic