scallop-loyaltylisted
Install: claude install-skill scallop-io/scallop-skills
# Loyalty Program
Earn loyalty rewards for consistent usage of Scallop protocol.
## Overview
Scallop's loyalty program rewards active users:
- **Activity-Based**: Rewards based on protocol usage
- **Cumulative**: Points accumulate over time
- **Claimable**: Convert points to rewards
## How It Works
```
1. Use Scallop protocol (deposit, borrow, etc.)
2. Earn loyalty points based on activity
3. Points accumulate in your account
4. Claim rewards when ready
```
## Claim Loyalty Revenue
```python
tx = builder.create_tx_block()
# Claim accumulated loyalty rewards
revenue = tx.claim_loyalty_revenue(
vesca_key_id=vesca_key_id # Your veSCA key
)
tx.transfer_objects([revenue], wallet_address)
result = builder.sign_and_send_tx_block(tx)
print(f"Claimed loyalty rewards: {result.digest}")
```
## Query Loyalty Status
> **Note**: The Python SDK (`sui-scallop-sdk` >= 0.3.0a1) exposes loyalty reads on `ScallopQuery`: `get_loyalty_program_info(s)` and `get_vesca_loyalty_program_info(s)` (per veSCA key).
## Loyalty Tiers
| Tier | Points Required | Benefits |
|------|-----------------|----------|
| Bronze | 0+ | Base rewards |
| Silver | 10,000+ | +10% rewards |
| Gold | 50,000+ | +25% rewards |
| Platinum | 200,000+ | +50% rewards |
| Diamond | 1,000,000+ | +100% rewards |
> These thresholds are **unverified** — they are not in the Addresses API and not queryable from
> the Python SDK. Confirm against the Scallop app. Note the curve is steep: Diamond needs 100× the
> points o