Customizing Echo AI
Adding Custom SPL Tokens
Add the token in
config/tokens.js:Copy
module.exports = { tokens: [ { name: 'SOL', address: 'solana-token-address' }, { name: 'My SPL Token', address: 'spl-token-address' }, ], };Update API logic to include the token in
routes/tokens.js.
Creating Custom Alerts
Use the /api/alerts endpoint to create alerts:
Copy
POST /api/alerts
{
"token": "SOL",
"condition": "price > 100"
}Last updated
