SDK
Build AI-powered applications with our comprehensive SDK, featuring intuitive APIs and powerful tools.
Type-Safe APIs
Full TypeScript support with auto-completion and type checking for a better development experience.
Modular Design
Pick and choose the components you need, from AI models to trading strategies.
Real-time Updates
Subscribe to on-chain events and AI model outputs with WebSocket support.
Developer Tools
Comprehensive toolkit including testing utilities, debugging tools, and monitoring.
import { DashSDK, AIModel } from "@dash/sdk";
// Initialize the SDK with your configuration
const dash = new DashSDK({
network: "mainnet",
apiKey: process.env.DASH_API_KEY
});
// Create an AI-powered trading strategy
const strategy = await dash.createStrategy({
model: AIModel.YOLO,
market: "SOL/USDC",
params: {
riskLevel: "aggressive",
timeframe: "5m"
}
});
// Subscribe to real-time updates
strategy.onTrade((trade) => {
console.log("New trade executed:", trade);
});
// Start the strategy
await strategy.start();