Getting Started with AICCY
Learn how to integrate AICCYOS market analysis into your projects in just a few minutes.
Quick Start
1. Installation
Install the AICCY SDK via npm or yarn:
terminal
# Using npm
npm install @AICCY/sdk
# Using yarn
yarn add @AICCY/sdk
2. Initialize AICCY
Import and initialize AICCY in your project:
JavaScript
import { AICCY } from '@AICCY/sdk'
// Initialize AICCY
const AICCY = new AICCY({
apiKey: process.env.AICCY_API_KEY,
network: 'mainnet-beta', // Solana network
})
// Start analysis
const response = await AICCY.chat('Analyze SOL market structure')
console.log(response) 3. Ask Questions
Query AICCY's knowledge base:
JavaScript
// Ask about Solana
const solanaInfo = await AICCY.chat('Tell me about Solana')
// Security question
const securityTips = await AICCY.chat('How to avoid phishing?')
// Dev humor
const coffeeWisdom = await AICCY.chat('Tell me about coffee') Configuration
Customize AICCY's behavior with configuration options:
const AICCY = new AICCY({
// Required
apiKey: 'your-api-key',
// Optional
network: 'mainnet-beta', // 'mainnet-beta' | 'devnet' | 'testnet'
temperature: 0.7, // Response creativity (0-1)
maxTokens: 500, // Max response length
knowledge: ['solana', 'web3'], // Knowledge domains
personality: 'divine', // 'divine' | 'casual' | 'technical'
}) API Key
Get your API key from the AICCY dashboard. Keep it secure and never expose it in client-side code.
Network
Choose the Solana network. Mainnet for production, devnet for testing.