home / skills / openclaw / skills / prism-alerts

This skill provides real-time Pump.fun token alerts from Prism API for Solana, helping you spot launches, graduations, and volume spikes.

npx playbooks add skill openclaw/skills --skill prism-alerts

Review the files below or copy the command above to add this skill to your agents.

Files (4)
SKILL.md
3.3 KB
---
name: prism-alerts
description: Pump.fun token alerts using Strykr PRISM API. Get real-time notifications for new token launches, graduations, and volume spikes on Solana.
version: 1.0.0
---

# PRISM Pump.fun Alerts

Real-time alerts for Pump.fun token launches and graduations using Strykr PRISM's unique bonding curve data.

## Quick Usage

```bash
# Get current bonding tokens
./alerts.sh bonding

# Get recently graduated tokens
./alerts.sh graduated

# Watch for new tokens (poll every 30s)
./alerts.sh watch
```

## Unique Data Source

PRISM is one of the **only APIs** with real-time Pump.fun bonding curve data:

| Endpoint | Description | Speed |
|----------|-------------|-------|
| `/crypto/trending/solana/bonding` | Tokens on bonding curve | 648ms |
| `/crypto/trending/solana/graduated` | Graduated to DEX | 307ms |

## Alert Types

### 1. New Launch Alert
```
🚀 NEW PUMP.FUN TOKEN

$DOGWIFCAT
CA: 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU

📊 Stats:
• Bonding Progress: 12%
• Market Cap: $8,450
• Holders: 23
• Created: 2 min ago

[🔍 Scan] [📈 Chart] [💰 Buy]
```

### 2. Graduation Alert
```
🎓 TOKEN GRADUATED!

$MEMECOIN just graduated to Raydium!

📊 Final Stats:
• Market Cap: $69,000
• Total Holders: 1,247
• Bonding Time: 4h 23m

Trading now live on Raydium DEX
[📈 Trade on Raydium]
```

### 3. Volume Spike Alert
```
📈 VOLUME SPIKE DETECTED

$CATDOG seeing unusual activity

• Volume (5m): $45,230 (+340%)
• Price: +28% in 10 minutes
• New holders: +89

⚠️ Could be coordinated buy - DYOR
[🔍 Scan] [📈 Chart]
```

## Bot Commands

```
/start           - Subscribe to alerts
/stop            - Unsubscribe
/bonding         - Current bonding tokens
/graduated       - Recent graduations
/scan <token>    - Scan specific token
/settings        - Configure alert filters
```

## Alert Filters

Configure which alerts you receive:

```javascript
{
  "minMarketCap": 5000,      // Minimum MC to alert
  "maxMarketCap": 100000,    // Maximum MC to alert
  "minHolders": 10,          // Minimum holder count
  "bondingProgress": 20,     // Alert when > 20% bonded
  "volumeSpike": 200,        // Alert on 200%+ volume increase
  "enableGraduations": true, // Alert on graduations
  "enableNewLaunches": true  // Alert on new tokens
}
```

## Integration

### Telegram Bot
```javascript
import { Telegraf } from 'telegraf';
import { PrismClient } from './prism';

const bot = new Telegraf(process.env.BOT_TOKEN);
const prism = new PrismClient();

// Poll every 30 seconds
setInterval(async () => {
  const bonding = await prism.pumpfunBonding();
  const newTokens = filterNewTokens(bonding);
  
  for (const token of newTokens) {
    await bot.telegram.sendMessage(CHANNEL_ID, formatAlert(token));
  }
}, 30000);
```

### Discord Bot
```javascript
import { Client } from 'discord.js';

client.on('ready', () => {
  pollPumpfun(client);
});
```

## Environment Variables

```bash
PRISM_URL=https://strykr-prism.up.railway.app
TELEGRAM_BOT_TOKEN=xxx
TELEGRAM_CHANNEL_ID=xxx
DISCORD_BOT_TOKEN=xxx
DISCORD_CHANNEL_ID=xxx
```

## Polling Best Practices

1. **Rate Limiting**: Poll max once per 30 seconds
2. **Deduplication**: Track sent alerts in SQLite/Redis
3. **Batching**: Group multiple alerts into one message
4. **Cooldowns**: Don't spam same token within 5 minutes

---

Built by [@NextXFrontier](https://x.com/NextXFrontier)

Overview

This skill delivers real-time Pump.fun token alerts on Solana using the Strykr PRISM API. It notifies you of new bonding-curve launches, graduations to DEXs, and sudden volume spikes so you can monitor token lifecycle events as they happen. Designed for Telegram and Discord integrations, it focuses on fast, actionable notifications with configurable filters.

How this skill works

The skill polls PRISM endpoints for bonding curve tokens and recent graduations (recommended interval: 30 seconds). It filters and formats events—new launches, graduations, and volume spikes—then sends concise alerts to subscribed channels via Telegram or Discord. Deduplication and cooldown logic prevents duplicate or spammy messages.

When to use it

  • Monitor new Pump.fun token launches in real time
  • Get notified when a token graduates to a DEX like Raydium
  • Detect rapid volume spikes that may require immediate attention
  • Power a Telegram or Discord alert channel for trader communities
  • Archive alerts and metrics for post-event analysis

Best practices

  • Poll PRISM at most once every 30 seconds to respect rate limits
  • Use deduplication (SQLite/Redis) to avoid repeated alerts for same token
  • Batch multiple alerts into a single message for high-traffic periods
  • Set sensible filters: min/max market cap and min holders to reduce noise
  • Apply cooldowns (e.g., 5 minutes per token) to prevent spamming channels

Example use cases

  • Telegram bot sends NEW LAUNCH alerts to a trading channel the moment a token appears on bonding curve
  • Discord server announces graduations with final stats and DEX trade links
  • Risk-monitoring channel alerts on sudden 5–10 minute volume spikes for trader review
  • Portfolio manager filters alerts by market cap and holders to focus on relevant launches
  • Researcher archives bonding and graduation events for later analysis

FAQ

What endpoints does this use?

It uses PRISM bonding and graduated endpoints for Solana: bonding tokens and recent graduations.

How often should I poll PRISM?

Polling every 30 seconds is recommended to balance timeliness and rate limits.

How do I avoid duplicate alerts?

Store sent alert IDs in a small datastore (SQLite or Redis) and enforce a per-token cooldown (suggested 5 minutes).