
Sol Onchain Analyst
https://github.com/affaan-m/Sol-Onchain-Analyst- Category
- AI Agents
- Rank
- No. 2102Tools index
- Pricing
- Open Source
- Type
- AGENT
- Builder
- affaan-m
- GitHub
- 20 stars
- Date
About
CLI agent that aggregates Solana on-chain data and runs analyst-style queries from the terminal.
What it does
It gathers Solana token market data, stores analytics, asks language models for interpretation, and presents trends, token overviews, signals, and recurring monitoring. A separate interactive agent can analyze markets and submit trades.
Why it's ranked here
The scope is useful and unusually broad, but the repository does not present a clean, dependable package. Concrete command definitions, typed models, and error handling inspire confidence. Conflicting setup guidance, duplicated module declarations, and placeholder trade inputs weaken it substantially.
What's good
The command surface covers discovery, focused token research, signal generation, and repeated monitoring. Token output includes prices, market capitalization, volume, holders, active wallets, confidence, and risk. Async processing, typed errors, and explicit timeout and network classifications provide sensible engineering foundations.
Tradeoffs
Running it requires several external services and credentials, including BirdEye, OpenAI, and MongoDB. Other documentation also names PostgreSQL, TimescaleDB, Qdrant, Helius, Solana tools, Discord, and Twitter, leaving the actual deployment boundary unclear. The interactive trade path constructs fixed confidence, risk, sentiment, volume, and price values before execution. The source also contains a duplicate services module declaration that appears likely to prevent compilation.
How to use it well
It best suits Rust developers prototyping Solana token screening, market summaries, or periodic signal checks with their own service accounts and careful validation. Start with read-only token analysis and inspect stored results. Do not treat it as a finished dashboard, visualization product, or trustworthy unattended trading system.
Technical notes+
Cargo.toml defines the Rust 2021 package cainam-core, two primary binaries, three utility binaries, and two examples. src/bin/cainam.rs implements Clap subcommands for trending tokens, token analytics, signals, and monitoring, backed by MongoDB, BirdEye, and an OpenAI-powered analytics layer. src/main.rs runs an autonomous trader beside an interactive input loop; its manual trade branch creates a MarketSignal from fixed values before calling execute_trade. src/error.rs distinguishes configuration, authentication, rate-limit, network, timeout, transaction, and database failures, with unit tests for conversions and display text. src/utils/mod.rs also contains conversion tests. src/lib.rs first declares pub mod services; and later defines another pub mod services { ... }, which is a duplicate module declaration in one namespace. README.md mixes MongoDB-focused token-filter instructions with broader Cainam Core requirements involving TimescaleDB and Qdrant.
Observed
- License
- MIT
- Primary language
- Rust, 2021 edition
- Packaging
- Cargo package named cainam-core
- Interfaces
- CLI binaries, interactive terminal agent, Rust library, and runnable Cargo examples
- Blockchain platform
- Solana
- Required analysis services
- BirdEye API, OpenAI, and MongoDB
- Command surface
- Trending tokens, token overview, market signals, and continuous monitoring
Read from README.md, Cargo.toml, src/lib.rs, src/main.rs, src/error.rs, src/memory.rs, src/cli/mod.rs, src/core/mod.rs, src/agent/mod.rs, src/utils/mod.rs, src/config/mod.rs, src/models/mod.rs, src/bin/cainam.rs, src/core/agent.rs, src/birdeye/mod.rs.
What it can do
Query Solana blockchain transaction data
Transaction hash or address → Transaction details and metadata
Analyze wallet activity patterns
Solana wallet address → Activity summary and transaction history
Track token holdings and balances
Wallet address or token mint → Current token balances and portfolio breakdown
Monitor DeFi protocol interactions
Protocol name or smart contract address → Protocol usage statistics and user interactions
Generate on-chain analytics reports
Query parameters and time range → Formatted analytical report with metrics
Search and filter blockchain events
Event type and filter criteria → Matching blockchain events and logs
Tags
Tech Stack
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.