CryptoScore integration plugin for ElizaOS that provides cryptocurrency token analysis with comprehensive gauge metrics and fundamental scoring.
- Token Analysis: Get detailed CryptoScore gauges for specific cryptocurrency tokens
- Wallet Analysis: Analyze all tokens in a Solana wallet with aggregated CryptoScore metrics
- Comprehensive Metrics: Global gauge, community, liquidity, momentum, security, technology, tokenomics
- LLM-powered: Natural language extraction and response formatting
- Multi-token Support: Analyze single or multiple tokens in one request
bun install @standujar/plugin-cryptoscoreAdd the following environment variables to your .env file:
CRYPTOSCORE_API_KEY=your_api_key_here
CRYPTOSCORE_API_URL=https://api.xxxxxxxxx.comimport { cryptoScorePlugin } from '@standujar/plugin-cryptoscore';
// Add to your agent configuration
const agent = {
plugins: [
cryptoScorePlugin,
// ... other plugins
]
};Analyzes all tokens in the user's Solana wallet with CryptoScore metrics.
Example queries:
- "Analyze my wallet"
- "Show me the CryptoScore for my portfolio"
- "What are the scores of my tokens?"
Response includes:
- Average Global Gauge and Fundamental Score
- Tokens categorized by score quality (excellent, good, average, poor)
- Insights and recommendations
Gets CryptoScore analysis for one or more specific cryptocurrency tokens.
Example queries:
- "What's the CryptoScore of SOL?"
- "Analyze ETH and BTC"
- "Compare USDC, SOL and BONK"
Response includes:
- Fundamental Score (0-100)
- Global Gauge (0-100)
- Detailed gauges: Community, Liquidity, Momentum, Security, Technology, Tokenomics
- Natural language analysis
Both actions are automatically registered when the plugin is loaded. They integrate with ElizaOS's natural language processing to trigger on relevant queries.
The CryptoScoreService handles API communication:
import { CryptoScoreService } from '@elizaos/plugin-cryptoscore';
// Service is automatically initialized by the plugin
// Access via runtime when needed# Install dependencies
bun install
# Build
bun run build
# The plugin uses TypeScript and compiles to ESM formatplugin-cryptoscore/
├── src/
│ ├── actions/ # Action handlers
│ │ ├── getTokenScore.ts
│ │ └── getWalletScores.ts
│ ├── config/ # Configuration defaults
│ ├── services/ # CryptoScore API service
│ ├── templates/ # LLM prompt templates
│ ├── types/ # TypeScript type definitions
│ ├── utils/ # Utility functions
│ └── index.ts # Plugin entry point
├── dist/ # Compiled output
└── package.json
Contributions are welcome! Please follow the ElizaOS plugin development guidelines.
MIT