ChainBrain Framework CLI v2
Quickstart guide to the OnChainBrain Framework CLI v2
Overview
The OnChainBrain V2 Framework CLI is our premium solution designed for developers, traders, and analysts looking for advanced blockchain intelligence tools. Built on the existing OnChainBrain ecosystem, V2 expands capabilities with enhanced analytics, real-time data processing, and optimized agent interaction workflows.
β¨ Core Features
Advanced Blockchain Integration: Seamlessly interact with Solana, Ethereum, and Binance Smart Chain.
AI-Driven Agent Communication: Deploy and manage intelligent agents with enhanced reasoning capabilities.
Live Data Analytics: Access and analyze real-time blockchain statistics.
Market Behavior Insights: Monitor whale movements, token velocity, and on-chain liquidity.
Automated Smart Contract Interaction: Execute and track transactions via AI-powered commands.
Data Provider Expansion: Direct integration with Bitquery, The Graph, and Chainlink for real-time blockchain data.
π‘ Technical Capabilities
Asset Intelligence: Extract token data, liquidity metrics, and price movements.
Trading Strategy Optimization: Generate AI-driven trading strategies and execute limit orders via CLI.
Cross-Chain Analytics: Monitor transactions across multiple blockchains.
High-Speed Query Processing: Optimized for performance using parallelized data retrieval.
DeFi & NFT Insights: Track protocol activity and NFT collection trends.
β¨ Unlock Advanced AI Agent Interactions
With OnChainBrain V2, users gain access to an upgraded set of intelligent AI agents directly within the CLI. These agents provide:
Enhanced reasoning and problem-solving capabilities.
Deep blockchain insights, combining real-time data with AI-driven analysis.
Personalized agent responses based on advanced models.
Supported Advanced AI Agents
To unlock interaction with more advanced AI agents, API key holders will gain access to:
Deepseek R1 β Cutting-edge AI designed for high-level blockchain intelligence.
Luma β A data-driven agent providing advanced analytics and strategic insights.
Meta AI β A next-generation AI for real-time market predictions and pattern recognition.
For API key access, users should contact support@onbrainchain.xyz for additional information and activation.
π§ Setup Guide
System Requirements
Node.js version 18 or higher
Package manager (npm/yarn)
API keys for Bitquery, The Graph, OpenAI
Additional requirements listed in
.env.example
Installation
Clone the repository:
Install dependencies:
Set up environment variables: Create a
.envfile with:Compile the framework:
π Framework Commands
Agent Interaction
Example:
Advanced Market Analysis
Mempool Transaction Analyzer
Example:
Comprehensive Address Profiling
Example:
Smart Contract Interaction Tracker
Example:
Token Flow Visualization
Example:
DEX Arbitrage Opportunities
Example:
Gas Fee Trend Analyzer
Example:
NFT Collection Performance Monitor
Example:
Cross-Chain Asset Tracker
Example:
Whale Alert System
Example:
DeFi Protocol Risk Analyzer
Example:
π Technology Stack
Core Dependencies
Package
Version
Purpose
@solana/web3.js
^1.98.0
Solana blockchain connectivity
dotenv
^16.4.7
Environment configuration
firebase
^11.1.0
Data persistence and management
node-fetch
^3.3.2
Network request handling
openai
^4.77.3
AI processing capabilities
bs58
^6.0.0
Address encoding utilities
form-data
^4.0.1
Data structure handling
punycode
^2.3.1
Unicode processing
π οΈ Running the OnChainBrain V2 Framework
Ensure dependencies are installed using:
Set up environment variables via the
.envfile.Build the project:
Run an agent query:
Execute advanced market analytics using the newly added commands.
Last updated
