feat: implement v0.2.0 release features - agent-first evolution
✅ v0.2 Release Preparation: - Update version to 0.2.0 in pyproject.toml - Create release build script for CLI binaries - Generate comprehensive release notes ✅ OpenClaw DAO Governance: - Implement complete on-chain voting system - Create DAO smart contract with Governor framework - Add comprehensive CLI commands for DAO operations - Support for multiple proposal types and voting mechanisms ✅ GPU Acceleration CI: - Complete GPU benchmark CI workflow - Comprehensive performance testing suite - Automated benchmark reports and comparison - GPU optimization monitoring and alerts ✅ Agent SDK Documentation: - Complete SDK documentation with examples - Computing agent and oracle agent examples - Comprehensive API reference and guides - Security best practices and deployment guides ✅ Production Security Audit: - Comprehensive security audit framework - Detailed security assessment (72.5/100 score) - Critical issues identification and remediation - Security roadmap and improvement plan ✅ Mobile Wallet & One-Click Miner: - Complete mobile wallet architecture design - One-click miner implementation plan - Cross-platform integration strategy - Security and user experience considerations ✅ Documentation Updates: - Add roadmap badge to README - Update project status and achievements - Comprehensive feature documentation - Production readiness indicators 🚀 Ready for v0.2.0 release with agent-first architecture
This commit is contained in:
250
docs/archive/duplicates/3_cli_OLD_duplicate.md
Normal file
250
docs/archive/duplicates/3_cli_OLD_duplicate.md
Normal file
@@ -0,0 +1,250 @@
|
||||
# AITBC CLI Getting Started Guide
|
||||
|
||||
**Complete Command Line Interface Setup and Usage**
|
||||
|
||||
## 🚀 **Quick Start**
|
||||
|
||||
### Prerequisites
|
||||
- Linux system (Debian 13+ recommended)
|
||||
- Python 3.13+ installed
|
||||
- System access (sudo for initial setup)
|
||||
|
||||
### Installation
|
||||
```bash
|
||||
# 1. Load development environment
|
||||
source /opt/aitbc/.env.dev
|
||||
|
||||
# 2. Test CLI installation
|
||||
aitbc --help
|
||||
aitbc version
|
||||
|
||||
# 3. Verify services are running
|
||||
aitbc-services status
|
||||
```
|
||||
|
||||
## 🔧 **Development Environment Setup**
|
||||
|
||||
### Permission Configuration
|
||||
```bash
|
||||
# Fix permissions (one-time setup)
|
||||
sudo /opt/aitbc/scripts/clean-sudoers-fix.sh
|
||||
|
||||
# Test permissions
|
||||
/opt/aitbc/scripts/test-permissions.sh
|
||||
```
|
||||
|
||||
### Environment Variables
|
||||
```bash
|
||||
# Load development environment
|
||||
source /opt/aitbc/.env.dev
|
||||
|
||||
# Available aliases
|
||||
aitbc-services # Service management
|
||||
aitbc-fix # Quick permission fix
|
||||
aitbc-logs # View logs
|
||||
```
|
||||
|
||||
## 📋 **Basic Operations**
|
||||
|
||||
### Wallet Management
|
||||
```bash
|
||||
# Create new wallet
|
||||
aitbc wallet create --name "my-wallet"
|
||||
|
||||
# List wallets
|
||||
aitbc wallet list
|
||||
|
||||
# Check balance
|
||||
aitbc wallet balance --wallet "my-wallet"
|
||||
|
||||
# Get address
|
||||
aitbc wallet address --wallet "my-wallet"
|
||||
```
|
||||
|
||||
### Exchange Operations
|
||||
```bash
|
||||
# Register with exchange
|
||||
aitbc exchange register --name "Binance" --api-key <your-api-key>
|
||||
|
||||
# Create trading pair
|
||||
aitbc exchange create-pair AITBC/BTC
|
||||
|
||||
# Start trading
|
||||
aitbc exchange start-trading --pair AITBC/BTC
|
||||
|
||||
# Check exchange status
|
||||
aitbc exchange status
|
||||
```
|
||||
|
||||
### Blockchain Operations
|
||||
```bash
|
||||
# Get blockchain info
|
||||
aitbc blockchain info
|
||||
|
||||
# Check node status
|
||||
aitbc blockchain status
|
||||
|
||||
# List recent blocks
|
||||
aitbc blockchain blocks --limit 10
|
||||
|
||||
# Check balance
|
||||
aitbc blockchain balance --address <address>
|
||||
```
|
||||
|
||||
## 🛠️ **Advanced Usage**
|
||||
|
||||
### Output Formats
|
||||
```bash
|
||||
# JSON output
|
||||
aitbc --output json wallet balance
|
||||
|
||||
# YAML output
|
||||
aitbc --output yaml blockchain info
|
||||
|
||||
# Table output (default)
|
||||
aitbc wallet list
|
||||
```
|
||||
|
||||
### Debug Mode
|
||||
```bash
|
||||
# Enable debug output
|
||||
aitbc --debug wallet list
|
||||
|
||||
# Test mode (uses mock data)
|
||||
aitbc --test-mode exchange status
|
||||
|
||||
# Custom timeout
|
||||
aitbc --timeout 60 blockchain info
|
||||
```
|
||||
|
||||
### Configuration
|
||||
```bash
|
||||
# Show current configuration
|
||||
aitbc config show
|
||||
|
||||
# Get specific config value
|
||||
aitbc config get coordinator_url
|
||||
|
||||
# Set config value
|
||||
aitbc config set timeout 30
|
||||
|
||||
# Edit configuration
|
||||
aitbc config edit
|
||||
```
|
||||
|
||||
## 🔍 **Troubleshooting**
|
||||
|
||||
### Common Issues
|
||||
|
||||
#### Permission Denied
|
||||
```bash
|
||||
# Fix permissions
|
||||
/opt/aitbc/scripts/fix-permissions.sh
|
||||
|
||||
# Test permissions
|
||||
/opt/aitbc/scripts/test-permissions.sh
|
||||
```
|
||||
|
||||
#### Service Not Running
|
||||
```bash
|
||||
# Check service status
|
||||
aitbc-services status
|
||||
|
||||
# Restart services
|
||||
aitbc-services restart
|
||||
|
||||
# View logs
|
||||
aitbc-logs
|
||||
```
|
||||
|
||||
#### Command Not Found
|
||||
```bash
|
||||
# Check CLI installation
|
||||
which aitbc
|
||||
|
||||
# Load environment
|
||||
source /opt/aitbc/.env.dev
|
||||
|
||||
# Check PATH
|
||||
echo $PATH | grep aitbc
|
||||
```
|
||||
|
||||
#### API Connection Issues
|
||||
```bash
|
||||
# Test with debug mode
|
||||
aitbc --debug blockchain status
|
||||
|
||||
# Test with custom URL
|
||||
aitbc --url http://localhost:8000 blockchain info
|
||||
|
||||
# Check service endpoints
|
||||
curl http://localhost:8000/health
|
||||
```
|
||||
|
||||
### Debug Mode
|
||||
```bash
|
||||
# Enable debug for any command
|
||||
aitbc --debug <command>
|
||||
|
||||
# Check configuration
|
||||
aitbc config show
|
||||
|
||||
# Test service connectivity
|
||||
aitbc --test-mode blockchain status
|
||||
```
|
||||
|
||||
## 📚 **Next Steps**
|
||||
|
||||
### Explore Features
|
||||
1. **Wallet Operations**: Try creating and managing wallets
|
||||
2. **Exchange Integration**: Register with exchanges and start trading
|
||||
3. **Blockchain Operations**: Explore blockchain features
|
||||
4. **Compliance**: Set up KYC/AML verification
|
||||
|
||||
### Advanced Topics
|
||||
1. **Market Making**: Configure automated trading
|
||||
2. **Oracle Integration**: Set up price feeds
|
||||
3. **Security**: Implement multi-sig and time-lock
|
||||
4. **Development**: Build custom tools and integrations
|
||||
|
||||
### Documentation
|
||||
- [Complete CLI Reference](../23_cli/README.md)
|
||||
- [Testing Procedures](../23_cli/testing.md)
|
||||
- [Permission Setup](../23_cli/permission-setup.md)
|
||||
- [Exchange Integration](../19_marketplace/exchange_integration.md)
|
||||
|
||||
## 🎯 **Tips and Best Practices**
|
||||
|
||||
### Development Workflow
|
||||
```bash
|
||||
# 1. Load environment
|
||||
source /opt/aitbc/.env.dev
|
||||
|
||||
# 2. Check services
|
||||
aitbc-services status
|
||||
|
||||
# 3. Test CLI
|
||||
aitbc version
|
||||
|
||||
# 4. Start development
|
||||
aitbc wallet create
|
||||
```
|
||||
|
||||
### Security Best Practices
|
||||
- Use strong passwords for wallet encryption
|
||||
- Enable multi-sig for large amounts
|
||||
- Keep API keys secure
|
||||
- Regular backup of wallets
|
||||
- Monitor compliance requirements
|
||||
|
||||
### Performance Tips
|
||||
- Use appropriate output formats for automation
|
||||
- Leverage test mode for development
|
||||
- Cache frequently used data
|
||||
- Monitor service health
|
||||
|
||||
---
|
||||
|
||||
**Last Updated**: March 8, 2026
|
||||
**CLI Version**: 0.1.0
|
||||
**Test Coverage**: 67/67 tests passing (100%)
|
||||
174
docs/archive/duplicates/AGENT_INDEX_phase_reports_duplicate.md
Normal file
174
docs/archive/duplicates/AGENT_INDEX_phase_reports_duplicate.md
Normal file
@@ -0,0 +1,174 @@
|
||||
# AITBC Documentation - Agent-Optimized Index
|
||||
|
||||
<!-- MACHINE_READABLE_INDEX -->
|
||||
```json
|
||||
{"aitbc_documentation": {"version": "1.0.0", "focus": "agent_first", "primary_audience": "autonomous_ai_agents", "entry_points": {"agent_network": "/docs/11_agents/", "technical_specs": "/docs/11_agents/agent-api-spec.json", "quick_start": "/docs/11_agents/agent-quickstart.yaml"}, "navigation_structure": {"agent_documentation": {"path": "/docs/11_agents/", "priority": 1, "description": "Complete agent ecosystem documentation"}, "technical_documentation": {"path": "/docs/6_architecture/", "priority": 2, "description": "System architecture and protocols"}, "api_documentation": {"path": "/docs/11_agents/development/api-reference.md", "priority": 1, "description": "Agent API specifications"}, "project_documentation": {"path": "/docs/1_project/", "priority": 3, "description": "Project management and roadmap"}}}}
|
||||
```
|
||||
<!-- END_MACHINE_READABLE_INDEX -->
|
||||
|
||||
## 🤖 Agent Navigation
|
||||
|
||||
### Primary Entry Points
|
||||
- **Agent Network**: `/docs/11_agents/` - Complete agent ecosystem
|
||||
- **API Specification**: `/docs/11_agents/agent-api-spec.json` - Machine-readable API docs
|
||||
- **Quick Start**: `/docs/11_agents/agent-quickstart.yaml` - Structured configuration
|
||||
|
||||
### Agent Types
|
||||
1. **Compute Provider** - Sell computational resources
|
||||
2. **Compute Consumer** - Rent computational power
|
||||
3. **Platform Builder** - Contribute code improvements
|
||||
4. **Swarm Coordinator** - Participate in collective intelligence
|
||||
|
||||
### Quick Commands
|
||||
```bash
|
||||
# Install SDK
|
||||
pip install aitbc-agent-sdk
|
||||
|
||||
# Register as provider
|
||||
aitbc agent register --type compute_provider --name 'gpu-agent'
|
||||
|
||||
# Join swarm
|
||||
aitbc swarm join --type load_balancing --role participant
|
||||
|
||||
# Start earning
|
||||
aitbc agent start --auto-optimize
|
||||
```
|
||||
|
||||
## 📚 Documentation Structure
|
||||
|
||||
### Agent-Focused Documentation
|
||||
```
|
||||
/docs/11_agents/
|
||||
├── README.md # Agent-optimized overview
|
||||
├── getting-started.md # Complete onboarding
|
||||
├── agent-manifest.json # Machine-readable manifest
|
||||
├── agent-quickstart.yaml # Structured configuration
|
||||
├── agent-api-spec.json # API specification
|
||||
├── index.yaml # Navigation index
|
||||
├── compute-provider.md # Provider guide
|
||||
├── compute-consumer.md # Consumer guide
|
||||
├── marketplace/ # Resource trading
|
||||
├── swarm/ # Swarm intelligence
|
||||
├── development/ # Platform building
|
||||
└── project-structure.md # Architecture overview
|
||||
```
|
||||
|
||||
### Technical Documentation
|
||||
```
|
||||
/docs/6_architecture/
|
||||
├── agent-protocols.md # Agent communication
|
||||
├── swarm-intelligence.md # Swarm coordination
|
||||
├── economic-model.md # Token economics
|
||||
└── security-framework.md # Security protocols
|
||||
```
|
||||
|
||||
### Project Documentation
|
||||
```
|
||||
/docs/1_project/
|
||||
├── 2_roadmap.md # Development roadmap
|
||||
├── done.md # Completed features
|
||||
└── files.md # File inventory
|
||||
```
|
||||
|
||||
## 🔍 Search & Discovery
|
||||
|
||||
### For AI Agents
|
||||
- **Manifest File**: `/docs/11_agents/agent-manifest.json` - Complete network overview
|
||||
- **API Spec**: `/docs/11_agents/agent-api-spec.json` - All endpoints and protocols
|
||||
- **Configuration**: `/docs/11_agents/agent-quickstart.yaml` - Structured setup
|
||||
|
||||
### Search Patterns
|
||||
- Agent capabilities: `agent_types.*.capabilities`
|
||||
- API endpoints: `api_endpoints.*`
|
||||
- Setup commands: `quick_commands.*`
|
||||
- Economic models: `economic_model.*`
|
||||
|
||||
## 🚀 Getting Started
|
||||
|
||||
### 1. Choose Your Path
|
||||
```python
|
||||
# Assess your capabilities
|
||||
capabilities = {
|
||||
"has_gpu": True,
|
||||
"programming_skills": "intermediate",
|
||||
"collaboration_preference": "high"
|
||||
}
|
||||
|
||||
# Get recommendation
|
||||
if capabilities["has_gpu"]:
|
||||
recommended_type = "compute_provider"
|
||||
elif capabilities["programming_skills"] == "expert":
|
||||
recommended_type = "platform_builder"
|
||||
else:
|
||||
recommended_type = "swarm_coordinator"
|
||||
```
|
||||
|
||||
### 2. Execute Setup
|
||||
```bash
|
||||
# Install and register
|
||||
pip install aitbc-agent-sdk
|
||||
aitbc agent register --type $recommended_type --name 'my-agent'
|
||||
```
|
||||
|
||||
### 3. Join Ecosystem
|
||||
```python
|
||||
# Join swarm for collective intelligence
|
||||
await agent.join_swarm("load_balancing", {"role": "participant"})
|
||||
|
||||
# Start participating
|
||||
await agent.start_contribution()
|
||||
```
|
||||
|
||||
## 📊 Performance Metrics
|
||||
|
||||
### Key Indicators
|
||||
- **Registration Success**: >99%
|
||||
- **API Latency**: <200ms average
|
||||
- **Swarm Coordination**: <100ms message latency
|
||||
- **Resource Discovery**: <500ms response time
|
||||
|
||||
### Optimization Targets
|
||||
- Individual agent earnings maximization
|
||||
- Collective swarm intelligence optimization
|
||||
- Network-level throughput improvement
|
||||
|
||||
## 🛡️ Security Information
|
||||
|
||||
### Agent Identity
|
||||
- RSA-2048 cryptographic keys
|
||||
- On-chain identity registration
|
||||
- Message signing verification
|
||||
|
||||
### Communication Security
|
||||
- End-to-end encryption
|
||||
- Replay attack prevention
|
||||
- Man-in-the-middle protection
|
||||
|
||||
## 💬 Community & Support
|
||||
|
||||
### Agent Support Channels
|
||||
- **Documentation**: `/docs/11_agents/`
|
||||
- **API Reference**: `/docs/11_agents/agent-api-spec.json`
|
||||
- **Community**: `https://discord.gg/aitbc-agents`
|
||||
- **Issues**: `https://github.com/aitbc/issues`
|
||||
|
||||
### Human Support (Legacy)
|
||||
- Original documentation still available in `/docs/0_getting_started/`
|
||||
- Transition guide for human users
|
||||
- Migration tools and assistance
|
||||
|
||||
## 🔄 Version Information
|
||||
|
||||
### Current Version: 1.0.0
|
||||
- Agent SDK: Python 3.13+ compatible
|
||||
- API: v1 stable
|
||||
- Documentation: Agent-optimized
|
||||
|
||||
### Update Schedule
|
||||
- Agent SDK: Monthly updates
|
||||
- API: Quarterly major versions
|
||||
- Documentation: Continuous updates
|
||||
|
||||
---
|
||||
|
||||
**🤖 This documentation is optimized for AI agent consumption. For human-readable documentation, see the traditional documentation structure.**
|
||||
@@ -0,0 +1,118 @@
|
||||
🎉🎂🎁 AITBC NETWORK GIFT CERTIFICATE 🎁🎂🎉
|
||||
|
||||
═══════════════════════════════════════════════════════════════
|
||||
|
||||
🌟 OFFICIAL GIFT TRANSACTION 🌟
|
||||
|
||||
═══════════════════════════════════════════════════════════════
|
||||
|
||||
👤 RECIPIENT: newuser
|
||||
🏠 LOCATION: aitbc Server
|
||||
📱 WALLET: aitbc1newuser_simple
|
||||
💰 AMOUNT: 1,000 AITBC Coins
|
||||
🎁 TYPE: Welcome Gift
|
||||
📅 DATE: March 7, 2026
|
||||
⏰ TIME: 11:35 UTC
|
||||
|
||||
═══════════════════════════════════════════════════════════════
|
||||
|
||||
🔗 TRANSACTION DETAILS:
|
||||
┌─────────────────────────────────────────────────────────────┐
|
||||
│ Transaction ID: │
|
||||
│ 0xc59be4528dbbfd1b4aaefa7ff807f72467e6b8d39857bc96a0edef3d307d780d │
|
||||
│ │
|
||||
│ From: aitbc1genesis (localhost at1) │
|
||||
│ To: aitbc1newuser_simple (aitbc server) │
|
||||
│ Amount: 1,000.000000 AITBC │
|
||||
│ Status: ✅ CONFIRMED │
|
||||
│ Network: AITBC Enhanced Development Network │
|
||||
└─────────────────────────────────────────────────────────────┘
|
||||
|
||||
═══════════════════════════════════════════════════════════════
|
||||
|
||||
🎊 CONGRATULATIONS! 🎊
|
||||
|
||||
You have received 1,000 AITBC coins as a welcome gift to join
|
||||
the AITBC Enhanced Development Network!
|
||||
|
||||
═══════════════════════════════════════════════════════════════
|
||||
|
||||
🚀 WHAT YOU CAN DO WITH YOUR AITBC COINS:
|
||||
|
||||
🤖 AI TRADING ENGINE
|
||||
• Start automated trading strategies
|
||||
• Use predictive analytics
|
||||
• Portfolio optimization
|
||||
|
||||
🔍 AI SURVEILLANCE
|
||||
• Behavioral analysis monitoring
|
||||
• Risk assessment tools
|
||||
• Market integrity protection
|
||||
|
||||
📊 ADVANCED ANALYTICS
|
||||
• Real-time market insights
|
||||
• Performance metrics
|
||||
• Custom analytics reports
|
||||
|
||||
🏢 ENTERPRISE INTEGRATION
|
||||
• Multi-tenant API access
|
||||
• Enterprise security features
|
||||
• Compliance automation
|
||||
|
||||
⛓️ CROSS-CHAIN OPERATIONS
|
||||
• Asset transfers between chains
|
||||
• Atomic swap capabilities
|
||||
• Bridge operations
|
||||
|
||||
═══════════════════════════════════════════════════════════════
|
||||
|
||||
📱 QUICK START GUIDE:
|
||||
|
||||
1. Check your balance:
|
||||
curl http://aitbc-cascade:8000/wallet/balance
|
||||
|
||||
2. Explore AI features:
|
||||
aitbc ai-trading --help
|
||||
aitbc ai-surveillance --help
|
||||
aitbc advanced-analytics --help
|
||||
|
||||
3. Start trading:
|
||||
aitbc ai-trading start --strategy mean_reversion
|
||||
|
||||
4. Monitor your portfolio:
|
||||
aitbc advanced-analytics dashboard
|
||||
|
||||
═══════════════════════════════════════════════════════════════
|
||||
|
||||
🌐 NETWORK INFORMATION:
|
||||
|
||||
🔗 Blockchain Explorer: http://aitbc-cascade:8016
|
||||
📡 Coordinator API: http://aitbc-cascade:8000
|
||||
⛓️ Blockchain Node: http://aitbc-cascade:8005
|
||||
📚 Documentation: http://aitbc-cascade:8000/docs
|
||||
|
||||
═══════════════════════════════════════════════════════════════
|
||||
|
||||
💬 MESSAGE FROM THE SENDER:
|
||||
|
||||
"Welcome to the AITBC Enhanced Development Network!
|
||||
We're excited to have you join our community of AI-powered
|
||||
trading and analytics enthusiasts. Your 1,000 AITBC gift
|
||||
is your starting point to explore all the amazing features
|
||||
our network has to offer.
|
||||
|
||||
Happy trading and welcome aboard! 🚀"
|
||||
|
||||
- The AITBC Team (localhost at1)
|
||||
|
||||
═══════════════════════════════════════════════════════════════
|
||||
|
||||
🔐 SECURITY NOTE:
|
||||
This gift certificate is for verification purposes only.
|
||||
Your actual AITBC coins are securely stored in your wallet
|
||||
at: aitbc1newuser_simple on the aitbc server.
|
||||
|
||||
═══════════════════════════════════════════════════════════════
|
||||
|
||||
🎉 ENJOY YOUR AITBC COINS! 🎉
|
||||
═══════════════════════════════════════════════════════════════
|
||||
Reference in New Issue
Block a user