← ClaudeAtlas

scallop-lend-integrationlisted

Integrate Scallop lending into applications. Use when user says "Scallop SDK", "Sui lending", "deposit SUI", "withdraw USDC", "borrow on Scallop", "repay loan", "add collateral", "create obligation", or mentions lending operations on Scallop.
scallop-io/scallop-skills · ★ 1 · AI & Automation · score 68
Install: claude install-skill scallop-io/scallop-skills
# Scallop Lend Integration Comprehensive guide for integrating Scallop lending protocol into your applications using TypeScript or Python SDKs. ## Overview Scallop is the leading lending protocol on Sui blockchain. This skill covers: - **Deposits**: Supply assets to earn interest - **Withdrawals**: Redeem market coins for underlying assets - **Borrowing**: Borrow against collateral - **Repayment**: Repay borrowed amounts - **Collateral Management**: Add/remove collateral ## Terminology Note > **Important**: The SDK distinguishes between lending pool operations and collateral operations: > > | Operation | Method | Purpose | > |-----------|--------|---------| > | **Supply to Lending Pool** | `supply()` / `supplyQuick()` | Earn interest, receive market coins | > | **Deposit Collateral** | `depositCollateral()` / `depositCollateralQuick()` | Enable borrowing, no direct yield | ## Quick Start ### Installation ```bash # Python (0.3.0a1 is an alpha pre-release, so --pre is required) pip install --pre sui-scallop-sdk # TypeScript npm install @scallop-io/sui-scallop-sdk ``` ### Initialize Client ```python # Python from sui_scallop_sdk import ScallopClient client = ScallopClient( secret_key="your_private_key", network="mainnet" # or "testnet" ) ``` ```typescript // TypeScript import { Scallop } from '@scallop-io/sui-scallop-sdk'; const scallop = new Scallop({ secretKey: 'your_private_key', networkType: 'mainnet' }); await scallop.init(); ``` ## Core Operati