scallop-spool-stakinglisted
Install: claude install-skill scallop-io/scallop-skills
# Spool Staking
Stake market coins in Scallop spool to earn additional SCA rewards.
## Overview
Spool is Scallop's staking system where depositors can stake their market coins to earn:
- **Base Yield**: Interest from lending
- **SCA Rewards**: Additional SCA token rewards
> **Note**: This skill uses `supply()` to supply assets to the lending pool before staking.
## How Spool Works
```
1. Deposit assets → Receive market coins
2. Stake market coins in spool → Earn SCA rewards
3. Claim rewards anytime
4. Unstake when desired → Get market coins back
```
## Getting Started
### Create Stake Account
Each asset requires a separate stake account. You need the `stake_pool_id` for that asset (from protocol addresses):
```python
tx = builder.create_tx_block()
# Create stake account for SUI market coins
# stake_pool_id comes from protocol addresses config
stake_account_idx = tx.create_stake_account(
stake_pool_id=stake_pool_id, # Stake pool object ID
coin_name="sui",
)
# Transfer stake account to yourself
tx.transfer_objects([stake_account_idx], wallet_address)
result = builder.sign_and_send_tx_block(tx)
# Parse stake_account_id from result
```
```typescript
// TypeScript - Create stake account
const client = await scallop.createScallopClient();
const result = await client.createStakeAccount('sui');
// Parse stakeAccountId from result
```
### Stake Market Coins
```python
tx = builder.create_tx_block()
# Option 1: Deposit and stake in one transaction
market_coin =