Ward AI Logo

Ward AI SDK

TypeScript SDK for AI-powered security infrastructure protecting Solana token launches from market manipulation and threats

24,847
Tokens Monitored

+12.4% this week

1,293
Threats Detected

+8.2% this week

$428M
Protected Volume

+24.1% this week

94.7%
Success Rate

+2.3% this week

SDK Features

Phase 1: Core Monitoring
  • • Real-time token analysis
  • • Threat detection & alerts
  • • Monitoring statistics
  • • Token subscriptions
  • • Historical threat data
Phase 2: AI Analytics
  • • Advanced trading signals
  • • Market sentiment analysis
  • • Price predictions
  • • Batch token analysis
  • • Historical performance
Custom Guards
  • • Insider selling detection
  • • Liquidity drain prevention
  • • LP withdrawal guards
  • • Sniper volume detection
  • • Custom alert thresholds

Quick Start

import { WardAIClient } from '@/lib/ward-ai';

const ward = new WardAIClient({ 
  apiKey: process.env.WARD_AI_API_KEY 
});

// Phase 1: Analyze token security
const analysis = await ward.analyzeToken(
  'solana-contract-address'
);

console.log(`Risk Score: ${analysis.riskScore}`);
console.log(`Threats: ${analysis.threats.length}`);

// Phase 2: Get AI trading signals
const signals = await ward.getTradingSignals(
  'solana-contract-address'
);

signals.forEach(signal => {
  console.log(`${signal.signalType}: ${signal.confidence}%`);
});