
TypeScript SDK for AI-powered security infrastructure protecting Solana token launches from market manipulation and threats
+12.4% this week
+8.2% this week
+24.1% this week
+2.3% this week
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}%`);
});