animation-reverse-engi…
Reverse-engineer any motion reference (a video from X/Twitter, Dribbble, a screen recording, a GIF) into production animation code through frame-level…
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.
$ npx -y skills add sendaifun/skills --skill lulo --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/luloContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: lulo description: 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.
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.
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.
| 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 |
Lulo provides three deposit types:
| Protocol | Description | |----------|-------------| | Kamino Finance | Lending and liquidity vaults | | Drift Protocol | Perpetuals and lending | | MarginFi | Lending and borrowing | | Jupiter | Lending/earn features |
**Minimum Deposits**: $100 for stablecoins, 1 SOL for native token
---
All API requests require a valid API key. Get your key from the [Lulo Developer Dashboard](https://dev.lulo.fi).
const headers = {
'Content-Type': 'application/json',
'x-api-key': process.env.LULO_API_KEY,
};| Environment | URL | |-------------|-----| | Production | `https://api.lulo.fi` | | Blinks | `https://blink.lulo.fi` | | Developer Portal | `https://dev.lulo.fi` |
---
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
}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
}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
}
]
}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
}
]
}Lists active withdrawal requests with cooldown periods.
**Endpoint**: `GET /v1/account/{walletAddress}/pending-withdrawals`
Sets up a referrer account for earning referral fees.
**Endpoint**: `POST /v1/referrer/initialize`
Processes referral fee claims.
**Endpoint**: `POST /v1/referrer/claim`
---
Designed for risk-averse users seeking stable yields with automatic coverage.
**How it works**: 1. Deposits earn interest from lending across integrated protocols 2. A portion of interest is shared with Boosted depositors (protection fee) 3. If a protocol fails, Boosted deposits cover Protected losses automatically
**Benefits**:
**Coverage includes**: Smart contract exploits, oracle failures, bad debt even
AI agent skills for Solana development — DeFi protocols, infrastructure, security, and more.
Repo: sendaifun/skills
Reverse-engineer any motion reference (a video from X/Twitter, Dribbble, a screen recording, a GIF) into production animation code through frame-level…
Build and debug encrypted Solana applications with Arcium — data stays private during computation, no single party sees it. Use when writing Arcis circuits…
Complete Birdeye API integration for real-time DeFi data across Solana and 15 other chains. Use for token prices, OHLCV charts, market discovery, on-chain…
Build on Solana with Carbium infrastructure — bare-metal RPC, Standard WebSocket pubsub, gRPC Full Block streaming (~22ms), DEX aggregation via CQ1 engine…
Complete CoinGecko Solana API integration for token prices, DEX pool data, OHLCV charts, trades, and market analytics. Use for building trading bots, portfolio…
Crypto Twitter intelligence and alpha research. Search X/Twitter for real-time crypto narratives, trending tokens, yield strategies, smart money signals, and…