chore: normalize file permissions across repository
- Remove executable permissions from configuration files (.editorconfig, .env.example, .gitignore) - Remove executable permissions from documentation files (README.md, LICENSE, SECURITY.md) - Remove executable permissions from web assets (HTML, CSS, JS files) - Remove executable permissions from data files (JSON, SQL, YAML, requirements.txt) - Remove executable permissions from source code files across all apps - Add executable permissions to Python
This commit is contained in:
0
docs/0_getting_started/1_intro.md
Executable file → Normal file
0
docs/0_getting_started/1_intro.md
Executable file → Normal file
0
docs/0_getting_started/2_installation.md
Executable file → Normal file
0
docs/0_getting_started/2_installation.md
Executable file → Normal file
432
docs/0_getting_started/3_cli.md
Executable file → Normal file
432
docs/0_getting_started/3_cli.md
Executable file → Normal file
@@ -1,318 +1,250 @@
|
||||
# CLI Usage
|
||||
# AITBC CLI Getting Started Guide
|
||||
|
||||
## Setup
|
||||
**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
|
||||
pip install -e . # from monorepo root
|
||||
aitbc config set coordinator_url http://localhost:8000
|
||||
export AITBC_API_KEY=your-key # or use --api-key
|
||||
# 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
|
||||
```
|
||||
|
||||
## Verify Installation
|
||||
## 🔧 **Development Environment Setup**
|
||||
|
||||
### Permission Configuration
|
||||
```bash
|
||||
# Check CLI version and platform
|
||||
aitbc --version
|
||||
aitbc --debug
|
||||
# Fix permissions (one-time setup)
|
||||
sudo /opt/aitbc/scripts/clean-sudoers-fix.sh
|
||||
|
||||
# Test connectivity
|
||||
aitbc blockchain status
|
||||
aitbc --config
|
||||
# Test permissions
|
||||
/opt/aitbc/scripts/test-permissions.sh
|
||||
```
|
||||
|
||||
## Global Options
|
||||
|
||||
| Option | Description |
|
||||
|--------|-------------|
|
||||
| `--url URL` | Coordinator API URL |
|
||||
| `--api-key KEY` | API key for authentication |
|
||||
| `--output table\|json\|yaml` | Output format |
|
||||
| `-v / -vv / -vvv` | Verbosity level |
|
||||
| `--debug` | Debug mode with system information |
|
||||
| `--config` | Show current configuration |
|
||||
|
||||
## Enhanced Command Groups
|
||||
|
||||
| Group | Key commands |
|
||||
|-------|-------------|
|
||||
| `agent` | `workflow create`, `execute`, `network`, `learning enable` |
|
||||
| `multimodal` | `agent`, `process`, `convert`, `search` |
|
||||
| `optimize` | `enable`, `status`, `recommendations`, `apply`, `predict`, `tune` |
|
||||
| `openclaw` | `deploy`, `status`, `optimize`, `edge`, `routing`, `ecosystem` |
|
||||
| `marketplace` | `list`, `gpu list`, `offer create`, `gpu rent`, `orders`, `reviews` |
|
||||
| `swarm` | `join`, `coordinate`, `consensus` |
|
||||
| `client` | `submit`, `status`, `list`, `cancel`, `download`, `batch-submit` |
|
||||
| `miner` | `register`, `poll`, `mine`, `earnings`, `deregister` |
|
||||
| `wallet` | `create`, `balance`, `send`, `stake`, `backup`, `multisig-create` |
|
||||
| `auth` | `login`, `logout`, `token`, `keys` |
|
||||
| `blockchain` | `status`, `sync`, `info`, `peers`, `blocks`, `transaction`, `validators` |
|
||||
| `admin` | `status`, `jobs`, `miners`, `audit-log` |
|
||||
| `config` | `set`, `show`, `profiles`, `secrets`, `get` |
|
||||
| `monitor` | `dashboard`, `metrics`, `alerts`, `webhooks` |
|
||||
| `simulate` | `workflow`, `load-test`, `scenario` |
|
||||
|
||||
## Enhanced Client Workflow
|
||||
|
||||
### Environment Variables
|
||||
```bash
|
||||
# Setup and configuration
|
||||
aitbc wallet create --name my-wallet # create wallet
|
||||
aitbc wallet balance # check funds
|
||||
aitbc config show # verify configuration
|
||||
# Load development environment
|
||||
source /opt/aitbc/.env.dev
|
||||
|
||||
# Job submission with enhanced options
|
||||
aitbc client submit --prompt "What is AI?" \
|
||||
--model gpt2 \
|
||||
--priority normal \
|
||||
--timeout 3600
|
||||
|
||||
# Job tracking and management
|
||||
aitbc client status --job-id <JOB_ID> # check progress
|
||||
aitbc client download --job-id <JOB_ID> --output ./ # get results
|
||||
aitbc client list --status completed # list completed jobs
|
||||
# Available aliases
|
||||
aitbc-services # Service management
|
||||
aitbc-fix # Quick permission fix
|
||||
aitbc-logs # View logs
|
||||
```
|
||||
|
||||
## Agent Workflow (New)
|
||||
## 📋 **Basic Operations**
|
||||
|
||||
### Wallet Management
|
||||
```bash
|
||||
# Agent workflow management
|
||||
aitbc agent workflow create \
|
||||
--name "ai_inference" \
|
||||
--description "AI inference workflow" \
|
||||
--config '{"model": "gpt2", "type": "inference"}'
|
||||
# Create new wallet
|
||||
aitbc wallet create --name "my-wallet"
|
||||
|
||||
# Execute agent workflow
|
||||
aitbc agent execute ai_inference \
|
||||
--input '{"prompt": "Hello world"}' \
|
||||
--priority normal
|
||||
# List wallets
|
||||
aitbc wallet list
|
||||
|
||||
# Agent learning and optimization
|
||||
aitbc agent learning enable --agent-id agent_123 \
|
||||
--mode performance \
|
||||
--auto-tune
|
||||
# Check balance
|
||||
aitbc wallet balance --wallet "my-wallet"
|
||||
|
||||
# Agent networks
|
||||
aitbc agent network create \
|
||||
--name "compute_network" \
|
||||
--type "resource_sharing"
|
||||
# Get address
|
||||
aitbc wallet address --wallet "my-wallet"
|
||||
```
|
||||
|
||||
## OpenClaw Deployment (New)
|
||||
|
||||
### Exchange Operations
|
||||
```bash
|
||||
# Deploy applications
|
||||
aitbc openclaw deploy \
|
||||
--name "web_app" \
|
||||
--image "nginx:latest" \
|
||||
--replicas 3 \
|
||||
--region "us-west"
|
||||
# Register with exchange
|
||||
aitbc exchange register --name "Binance" --api-key <your-api-key>
|
||||
|
||||
# Monitor and optimize deployments
|
||||
aitbc openclaw status web_app
|
||||
aitbc openclaw optimize web_app \
|
||||
--target performance \
|
||||
--auto-tune
|
||||
# Create trading pair
|
||||
aitbc exchange create-pair AITBC/BTC
|
||||
|
||||
# Edge deployments
|
||||
aitbc openclaw edge deploy \
|
||||
--name "edge_service" \
|
||||
--compute "gpu" \
|
||||
--region "edge_location"
|
||||
# Start trading
|
||||
aitbc exchange start-trading --pair AITBC/BTC
|
||||
|
||||
# Check exchange status
|
||||
aitbc exchange status
|
||||
```
|
||||
|
||||
## Optimization Features (New)
|
||||
|
||||
### Blockchain Operations
|
||||
```bash
|
||||
# Enable agent optimization
|
||||
aitbc optimize enable --agent-id agent_123 \
|
||||
--mode performance \
|
||||
--auto-tune
|
||||
|
||||
# Get optimization recommendations
|
||||
aitbc optimize recommendations --agent-id agent_123
|
||||
|
||||
# Apply optimizations
|
||||
aitbc optimize apply --agent-id agent_123 \
|
||||
--recommendation-id rec_456
|
||||
|
||||
# Predictive scaling
|
||||
aitbc optimize predict --agent-id agent_123 \
|
||||
--metric cpu_usage \
|
||||
--horizon 1h
|
||||
|
||||
# Auto-tuning
|
||||
aitbc optimize tune --agent-id agent_123 \
|
||||
--objective performance \
|
||||
--constraints '{"cost": "<100"}'
|
||||
```
|
||||
|
||||
## Enhanced Marketplace Operations
|
||||
|
||||
```bash
|
||||
# List available GPUs
|
||||
aitbc marketplace gpu list
|
||||
|
||||
# Register GPU offer
|
||||
aitbc marketplace offer create \
|
||||
--miner-id gpu_miner_123 \
|
||||
--gpu-model "RTX-4090" \
|
||||
--gpu-memory "24GB" \
|
||||
--price-per-hour "0.05" \
|
||||
--models "gpt2,llama" \
|
||||
--endpoint "http://localhost:11434"
|
||||
|
||||
# Rent GPU
|
||||
aitbc marketplace gpu rent --gpu-id gpu_789 --duration 2h
|
||||
|
||||
# Track orders and reviews
|
||||
aitbc marketplace orders --status active
|
||||
aitbc marketplace reviews --miner-id gpu_miner_123
|
||||
```
|
||||
|
||||
## Enhanced Blockchain Operations
|
||||
|
||||
```bash
|
||||
# Blockchain status and synchronization
|
||||
aitbc blockchain status
|
||||
aitbc blockchain sync
|
||||
# Get blockchain info
|
||||
aitbc blockchain info
|
||||
|
||||
# Network and peers
|
||||
aitbc blockchain peers
|
||||
# Check node status
|
||||
aitbc blockchain status
|
||||
|
||||
# List recent blocks
|
||||
aitbc blockchain blocks --limit 10
|
||||
|
||||
# Transactions and validators
|
||||
aitbc blockchain transaction <TX_ID>
|
||||
aitbc blockchain validators
|
||||
# Check balance
|
||||
aitbc blockchain balance --address <address>
|
||||
```
|
||||
|
||||
## Enhanced Configuration Management
|
||||
## 🛠️ **Advanced Usage**
|
||||
|
||||
### Output Formats
|
||||
```bash
|
||||
# Configuration management
|
||||
# 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
|
||||
aitbc config set coordinator_url http://localhost:8000
|
||||
aitbc config get api_key
|
||||
aitbc config profiles list
|
||||
aitbc config profiles create development
|
||||
|
||||
# Secrets management
|
||||
aitbc config secrets set api_key your_secret_key
|
||||
aitbc config secrets get api_key
|
||||
# Get specific config value
|
||||
aitbc config get coordinator_url
|
||||
|
||||
# Set config value
|
||||
aitbc config set timeout 30
|
||||
|
||||
# Edit configuration
|
||||
aitbc config edit
|
||||
```
|
||||
|
||||
## Debug and Troubleshooting
|
||||
## 🔍 **Troubleshooting**
|
||||
|
||||
### Common Issues
|
||||
|
||||
#### Permission Denied
|
||||
```bash
|
||||
# Debug mode with system information
|
||||
aitbc --debug
|
||||
# Fix permissions
|
||||
/opt/aitbc/scripts/fix-permissions.sh
|
||||
|
||||
# Monitor CLI performance
|
||||
aitbc monitor dashboard
|
||||
aitbc monitor metrics --component cli
|
||||
|
||||
# Simulation and testing
|
||||
aitbc simulate workflow --test-scenario basic
|
||||
aitbc simulate load-test --concurrent-users 10
|
||||
# Test permissions
|
||||
/opt/aitbc/scripts/test-permissions.sh
|
||||
```
|
||||
|
||||
## Miner Workflow
|
||||
|
||||
#### Service Not Running
|
||||
```bash
|
||||
aitbc miner register --name gpu-1 --gpu a100 --count 4
|
||||
aitbc miner poll # start accepting jobs
|
||||
aitbc wallet balance # check earnings
|
||||
# Check service status
|
||||
aitbc-services status
|
||||
|
||||
# Restart services
|
||||
aitbc-services restart
|
||||
|
||||
# View logs
|
||||
aitbc-logs
|
||||
```
|
||||
|
||||
## Advanced AI Agent Workflows
|
||||
|
||||
#### Command Not Found
|
||||
```bash
|
||||
# Create and execute advanced AI agents
|
||||
aitbc agent create --name "MultiModal Agent" --workflow-file workflow.json --verification full
|
||||
aitbc agent execute agent_123 --inputs inputs.json --verification zero-knowledge
|
||||
# Check CLI installation
|
||||
which aitbc
|
||||
|
||||
# Multi-modal processing
|
||||
aitbc multimodal agent create --name "Vision-Language Agent" --modalities text,image --gpu-acceleration
|
||||
aitbc multimodal process agent_123 --text "Describe this image" --image photo.jpg
|
||||
# Load environment
|
||||
source /opt/aitbc/.env.dev
|
||||
|
||||
# Autonomous optimization
|
||||
aitbc optimize self-opt enable agent_123 --mode auto-tune --scope full
|
||||
aitbc optimize predict agent_123 --horizon 24h --resources gpu,memory
|
||||
# Check PATH
|
||||
echo $PATH | grep aitbc
|
||||
```
|
||||
|
||||
## Agent Collaboration & Learning
|
||||
|
||||
#### API Connection Issues
|
||||
```bash
|
||||
# Create collaborative agent networks
|
||||
aitbc agent network create --name "Research Team" --agents agent1,agent2,agent3
|
||||
aitbc agent network execute network_123 --task research_task.json
|
||||
# Test with debug mode
|
||||
aitbc --debug blockchain status
|
||||
|
||||
# Adaptive learning
|
||||
aitbc agent learning enable agent_123 --mode reinforcement --learning-rate 0.001
|
||||
aitbc agent learning train agent_123 --feedback feedback.json --epochs 50
|
||||
# Test with custom URL
|
||||
aitbc --url http://localhost:8000 blockchain info
|
||||
|
||||
# Check service endpoints
|
||||
curl http://localhost:8000/health
|
||||
```
|
||||
|
||||
## OpenClaw Edge Deployment
|
||||
|
||||
### Debug Mode
|
||||
```bash
|
||||
# Deploy to OpenClaw network
|
||||
aitbc openclaw deploy agent_123 --region us-west --instances 3 --auto-scale
|
||||
aitbc openclaw edge deploy agent_123 --locations "us-west,eu-central" --strategy latency
|
||||
# Enable debug for any command
|
||||
aitbc --debug <command>
|
||||
|
||||
# Monitor and optimize
|
||||
aitbc openclaw monitor deployment_123 --metrics latency,cost --real-time
|
||||
aitbc openclaw optimize deployment_123 --objective cost
|
||||
# Check configuration
|
||||
aitbc config show
|
||||
|
||||
# Test service connectivity
|
||||
aitbc --test-mode blockchain status
|
||||
```
|
||||
|
||||
## Advanced Marketplace Operations
|
||||
## 📚 **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
|
||||
# Advanced NFT model operations
|
||||
aitbc marketplace advanced models list --nft-version 2.0 --category multimodal
|
||||
aitbc marketplace advanced mint --model-file model.pkl --metadata metadata.json --royalty 5.0
|
||||
# 1. Load environment
|
||||
source /opt/aitbc/.env.dev
|
||||
|
||||
# Analytics and trading
|
||||
aitbc marketplace advanced analytics --period 30d --metrics volume,trends
|
||||
aitbc marketplace advanced trading execute --strategy arbitrage --budget 5000
|
||||
# 2. Check services
|
||||
aitbc-services status
|
||||
|
||||
# 3. Test CLI
|
||||
aitbc version
|
||||
|
||||
# 4. Start development
|
||||
aitbc wallet create
|
||||
```
|
||||
|
||||
## Swarm Intelligence
|
||||
### 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
|
||||
|
||||
```bash
|
||||
# Join swarm for collective optimization
|
||||
aitbc swarm join --role load-balancer --capability resource-optimization
|
||||
aitbc swarm coordinate --task network-optimization --collaborators 10
|
||||
```
|
||||
### Performance Tips
|
||||
- Use appropriate output formats for automation
|
||||
- Leverage test mode for development
|
||||
- Cache frequently used data
|
||||
- Monitor service health
|
||||
|
||||
## Configuration
|
||||
---
|
||||
|
||||
Config file: `~/.aitbc/config.yaml`
|
||||
```yaml
|
||||
coordinator_url: http://localhost:8000
|
||||
api_key: your-api-key
|
||||
output_format: table
|
||||
log_level: INFO
|
||||
```
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
| Problem | Fix |
|
||||
|---------|-----|
|
||||
| Auth error | `export AITBC_API_KEY=your-key` or `aitbc auth login` |
|
||||
| Connection refused | Check coordinator: `curl http://localhost:8000/v1/health` |
|
||||
| Unknown command | Update CLI: `pip install -e .` from monorepo root |
|
||||
| Agent command not found | Ensure advanced agent commands are installed: `pip install -e .` |
|
||||
| Multi-modal processing error | Check GPU availability: `nvidia-smi` |
|
||||
| OpenClaw deployment failed | Verify OpenClaw credentials and region access |
|
||||
| Marketplace NFT error | Check model file format and metadata structure |
|
||||
|
||||
## Advanced Agent Documentation
|
||||
|
||||
See [docs/11_agents/](../11_agents/) for detailed guides:
|
||||
- [Advanced AI Agents](../11_agents/advanced-ai-agents.md) - Multi-modal and adaptive agents
|
||||
- [Agent Collaboration](../11_agents/collaborative-agents.md) - Networks and learning
|
||||
- [OpenClaw Integration](../11_agents/openclaw-integration.md) - Edge deployment
|
||||
- [Swarm Intelligence](../11_agents/swarm.md) - Collective optimization
|
||||
|
||||
## Full Reference
|
||||
|
||||
See [5_reference/1_cli-reference.md](../5_reference/1_cli-reference.md) for all 90+ commands with detailed options.
|
||||
**Last Updated**: March 8, 2026
|
||||
**CLI Version**: 0.1.0
|
||||
**Test Coverage**: 67/67 tests passing (100%)
|
||||
|
||||
250
docs/0_getting_started/3_cli_OLD.md
Normal file
250
docs/0_getting_started/3_cli_OLD.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%)
|
||||
0
docs/0_getting_started/ENHANCED_SERVICES_IMPLEMENTATION_GUIDE.md
Executable file → Normal file
0
docs/0_getting_started/ENHANCED_SERVICES_IMPLEMENTATION_GUIDE.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/00_nextMileston.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/00_nextMileston.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/README.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/README.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/exchange_implementation_strategy.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/exchange_implementation_strategy.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/genesis_protection_analysis.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/genesis_protection_analysis.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/market_making_infrastructure_analysis.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/market_making_infrastructure_analysis.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/multisig_wallet_analysis.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/multisig_wallet_analysis.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/next-steps-plan.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/next-steps-plan.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/oracle_price_discovery_analysis.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/oracle_price_discovery_analysis.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/real_exchange_integration_analysis.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/real_exchange_integration_analysis.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/transfer_controls_analysis.md
Executable file → Normal file
0
docs/10_plan/01_core_planning/transfer_controls_analysis.md
Executable file → Normal file
0
docs/10_plan/02_implementation/backend-implementation-roadmap.md
Executable file → Normal file
0
docs/10_plan/02_implementation/backend-implementation-roadmap.md
Executable file → Normal file
0
docs/10_plan/02_implementation/backend-implementation-status.md
Executable file → Normal file
0
docs/10_plan/02_implementation/backend-implementation-status.md
Executable file → Normal file
0
docs/10_plan/02_implementation/enhanced-services-implementation-complete.md
Executable file → Normal file
0
docs/10_plan/02_implementation/enhanced-services-implementation-complete.md
Executable file → Normal file
0
docs/10_plan/02_implementation/exchange-infrastructure-implementation.md
Executable file → Normal file
0
docs/10_plan/02_implementation/exchange-infrastructure-implementation.md
Executable file → Normal file
0
docs/10_plan/03_testing/admin-test-scenarios.md
Executable file → Normal file
0
docs/10_plan/03_testing/admin-test-scenarios.md
Executable file → Normal file
0
docs/10_plan/04_infrastructure/geographic-load-balancer-0.0.0.0-binding.md
Executable file → Normal file
0
docs/10_plan/04_infrastructure/geographic-load-balancer-0.0.0.0-binding.md
Executable file → Normal file
0
docs/10_plan/04_infrastructure/geographic-load-balancer-migration.md
Executable file → Normal file
0
docs/10_plan/04_infrastructure/geographic-load-balancer-migration.md
Executable file → Normal file
0
docs/10_plan/04_infrastructure/infrastructure-documentation-update-summary.md
Executable file → Normal file
0
docs/10_plan/04_infrastructure/infrastructure-documentation-update-summary.md
Executable file → Normal file
0
docs/10_plan/04_infrastructure/localhost-port-logic-implementation-summary.md
Executable file → Normal file
0
docs/10_plan/04_infrastructure/localhost-port-logic-implementation-summary.md
Executable file → Normal file
0
docs/10_plan/04_infrastructure/new-port-logic-implementation-summary.md
Executable file → Normal file
0
docs/10_plan/04_infrastructure/new-port-logic-implementation-summary.md
Executable file → Normal file
0
docs/10_plan/04_infrastructure/nginx-configuration-update-summary.md
Executable file → Normal file
0
docs/10_plan/04_infrastructure/nginx-configuration-update-summary.md
Executable file → Normal file
0
docs/10_plan/04_infrastructure/port-chain-optimization-summary.md
Executable file → Normal file
0
docs/10_plan/04_infrastructure/port-chain-optimization-summary.md
Executable file → Normal file
0
docs/10_plan/04_infrastructure/web-ui-port-8010-change-summary.md
Executable file → Normal file
0
docs/10_plan/04_infrastructure/web-ui-port-8010-change-summary.md
Executable file → Normal file
0
docs/10_plan/05_security/architecture-reorganization-summary.md
Executable file → Normal file
0
docs/10_plan/05_security/architecture-reorganization-summary.md
Executable file → Normal file
0
docs/10_plan/05_security/firewall-clarification-summary.md
Executable file → Normal file
0
docs/10_plan/05_security/firewall-clarification-summary.md
Executable file → Normal file
0
docs/10_plan/06_cli/BLOCKCHAIN_BALANCE_MULTICHAIN_ENHANCEMENT.md
Executable file → Normal file
0
docs/10_plan/06_cli/BLOCKCHAIN_BALANCE_MULTICHAIN_ENHANCEMENT.md
Executable file → Normal file
0
docs/10_plan/06_cli/CLI_HELP_AVAILABILITY_UPDATE_SUMMARY.md
Executable file → Normal file
0
docs/10_plan/06_cli/CLI_HELP_AVAILABILITY_UPDATE_SUMMARY.md
Executable file → Normal file
0
docs/10_plan/06_cli/CLI_MULTICHAIN_ANALYSIS.md
Executable file → Normal file
0
docs/10_plan/06_cli/CLI_MULTICHAIN_ANALYSIS.md
Executable file → Normal file
0
docs/10_plan/06_cli/COMPLETE_MULTICHAIN_FIXES_NEEDED.md
Executable file → Normal file
0
docs/10_plan/06_cli/COMPLETE_MULTICHAIN_FIXES_NEEDED.md
Executable file → Normal file
0
docs/10_plan/06_cli/PHASE1_MULTICHAIN_COMPLETION.md
Executable file → Normal file
0
docs/10_plan/06_cli/PHASE1_MULTICHAIN_COMPLETION.md
Executable file → Normal file
0
docs/10_plan/06_cli/PHASE2_MULTICHAIN_COMPLETION.md
Executable file → Normal file
0
docs/10_plan/06_cli/PHASE2_MULTICHAIN_COMPLETION.md
Executable file → Normal file
0
docs/10_plan/06_cli/PHASE3_MULTICHAIN_COMPLETION.md
Executable file → Normal file
0
docs/10_plan/06_cli/PHASE3_MULTICHAIN_COMPLETION.md
Executable file → Normal file
0
docs/10_plan/06_cli/cli-analytics-test-scenarios.md
Executable file → Normal file
0
docs/10_plan/06_cli/cli-analytics-test-scenarios.md
Executable file → Normal file
0
docs/10_plan/06_cli/cli-blockchain-test-scenarios.md
Executable file → Normal file
0
docs/10_plan/06_cli/cli-blockchain-test-scenarios.md
Executable file → Normal file
0
docs/10_plan/06_cli/cli-checklist.md
Executable file → Normal file
0
docs/10_plan/06_cli/cli-checklist.md
Executable file → Normal file
0
docs/10_plan/06_cli/cli-config-test-scenarios.md
Executable file → Normal file
0
docs/10_plan/06_cli/cli-config-test-scenarios.md
Executable file → Normal file
0
docs/10_plan/06_cli/cli-core-workflows-test-scenarios.md
Executable file → Normal file
0
docs/10_plan/06_cli/cli-core-workflows-test-scenarios.md
Executable file → Normal file
0
docs/10_plan/06_cli/cli-fixes-summary.md
Executable file → Normal file
0
docs/10_plan/06_cli/cli-fixes-summary.md
Executable file → Normal file
0
docs/10_plan/06_cli/cli-test-execution-results.md
Executable file → Normal file
0
docs/10_plan/06_cli/cli-test-execution-results.md
Executable file → Normal file
0
docs/10_plan/06_cli/cli-test-results.md
Executable file → Normal file
0
docs/10_plan/06_cli/cli-test-results.md
Executable file → Normal file
0
docs/10_plan/07_backend/api-endpoint-fixes-summary.md
Executable file → Normal file
0
docs/10_plan/07_backend/api-endpoint-fixes-summary.md
Executable file → Normal file
0
docs/10_plan/07_backend/api-key-setup-summary.md
Executable file → Normal file
0
docs/10_plan/07_backend/api-key-setup-summary.md
Executable file → Normal file
0
docs/10_plan/07_backend/coordinator-api-warnings-fix.md
Executable file → Normal file
0
docs/10_plan/07_backend/coordinator-api-warnings-fix.md
Executable file → Normal file
0
docs/10_plan/07_backend/swarm-network-endpoints-specification.md
Executable file → Normal file
0
docs/10_plan/07_backend/swarm-network-endpoints-specification.md
Executable file → Normal file
0
docs/10_plan/08_marketplace/06_global_marketplace_launch.md
Executable file → Normal file
0
docs/10_plan/08_marketplace/06_global_marketplace_launch.md
Executable file → Normal file
0
docs/10_plan/08_marketplace/07_cross_chain_integration.md
Executable file → Normal file
0
docs/10_plan/08_marketplace/07_cross_chain_integration.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/debian11-removal-summary.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/debian11-removal-summary.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/debian13-trixie-prioritization-summary.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/debian13-trixie-prioritization-summary.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/debian13-trixie-support-update.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/debian13-trixie-support-update.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/nodejs-22-requirement-update-summary.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/nodejs-22-requirement-update-summary.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/nodejs-requirements-update-summary.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/nodejs-requirements-update-summary.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/requirements-updates-comprehensive-summary.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/requirements-updates-comprehensive-summary.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/requirements-validation-implementation-summary.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/requirements-validation-implementation-summary.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/requirements-validation-system.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/requirements-validation-system.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/ubuntu-removal-summary.md
Executable file → Normal file
0
docs/10_plan/09_maintenance/ubuntu-removal-summary.md
Executable file → Normal file
0
docs/10_plan/10_summaries/99_currentissue.md
Executable file → Normal file
0
docs/10_plan/10_summaries/99_currentissue.md
Executable file → Normal file
0
docs/10_plan/10_summaries/99_currentissue_exchange-gap.md
Executable file → Normal file
0
docs/10_plan/10_summaries/99_currentissue_exchange-gap.md
Executable file → Normal file
0
docs/10_plan/10_summaries/priority-3-complete.md
Executable file → Normal file
0
docs/10_plan/10_summaries/priority-3-complete.md
Executable file → Normal file
0
docs/10_plan/ORGANIZATION_SUMMARY.md
Executable file → Normal file
0
docs/10_plan/ORGANIZATION_SUMMARY.md
Executable file → Normal file
0
docs/10_plan/README.md
Executable file → Normal file
0
docs/10_plan/README.md
Executable file → Normal file
0
docs/11_agents/AGENT_INDEX.md
Executable file → Normal file
0
docs/11_agents/AGENT_INDEX.md
Executable file → Normal file
0
docs/11_agents/MERGE_SUMMARY.md
Executable file → Normal file
0
docs/11_agents/MERGE_SUMMARY.md
Executable file → Normal file
0
docs/11_agents/README.md
Executable file → Normal file
0
docs/11_agents/README.md
Executable file → Normal file
0
docs/11_agents/advanced-ai-agents.md
Executable file → Normal file
0
docs/11_agents/advanced-ai-agents.md
Executable file → Normal file
0
docs/11_agents/agent-quickstart.yaml
Executable file → Normal file
0
docs/11_agents/agent-quickstart.yaml
Executable file → Normal file
0
docs/11_agents/collaborative-agents.md
Executable file → Normal file
0
docs/11_agents/collaborative-agents.md
Executable file → Normal file
0
docs/11_agents/compute-provider.md
Executable file → Normal file
0
docs/11_agents/compute-provider.md
Executable file → Normal file
0
docs/11_agents/deployment-test.md
Executable file → Normal file
0
docs/11_agents/deployment-test.md
Executable file → Normal file
0
docs/11_agents/getting-started.md
Executable file → Normal file
0
docs/11_agents/getting-started.md
Executable file → Normal file
0
docs/11_agents/index.yaml
Executable file → Normal file
0
docs/11_agents/index.yaml
Executable file → Normal file
0
docs/11_agents/onboarding-workflows.md
Executable file → Normal file
0
docs/11_agents/onboarding-workflows.md
Executable file → Normal file
0
docs/11_agents/openclaw-integration.md
Executable file → Normal file
0
docs/11_agents/openclaw-integration.md
Executable file → Normal file
0
docs/11_agents/project-structure.md
Executable file → Normal file
0
docs/11_agents/project-structure.md
Executable file → Normal file
0
docs/11_agents/swarm.md
Executable file → Normal file
0
docs/11_agents/swarm.md
Executable file → Normal file
0
docs/12_issues/01_openclaw_economics.md
Executable file → Normal file
0
docs/12_issues/01_openclaw_economics.md
Executable file → Normal file
0
docs/12_issues/01_preflight_checklist.md
Executable file → Normal file
0
docs/12_issues/01_preflight_checklist.md
Executable file → Normal file
0
docs/12_issues/02_decentralized_memory.md
Executable file → Normal file
0
docs/12_issues/02_decentralized_memory.md
Executable file → Normal file
0
docs/12_issues/03_developer_ecosystem.md
Executable file → Normal file
0
docs/12_issues/03_developer_ecosystem.md
Executable file → Normal file
0
docs/12_issues/04_global_marketplace_launch.md
Executable file → Normal file
0
docs/12_issues/04_global_marketplace_launch.md
Executable file → Normal file
0
docs/12_issues/05_cross_chain_integration.md
Executable file → Normal file
0
docs/12_issues/05_cross_chain_integration.md
Executable file → Normal file
0
docs/12_issues/05_integration_deployment_plan.md
Executable file → Normal file
0
docs/12_issues/05_integration_deployment_plan.md
Executable file → Normal file
0
docs/12_issues/06_trading_protocols.md
Executable file → Normal file
0
docs/12_issues/06_trading_protocols.md
Executable file → Normal file
0
docs/12_issues/06_trading_protocols_README.md
Executable file → Normal file
0
docs/12_issues/06_trading_protocols_README.md
Executable file → Normal file
0
docs/12_issues/07_global_marketplace_leadership.md
Executable file → Normal file
0
docs/12_issues/07_global_marketplace_leadership.md
Executable file → Normal file
0
docs/12_issues/07_smart_contract_development.md
Executable file → Normal file
0
docs/12_issues/07_smart_contract_development.md
Executable file → Normal file
0
docs/12_issues/09_multichain_cli_tool_implementation.md
Executable file → Normal file
0
docs/12_issues/09_multichain_cli_tool_implementation.md
Executable file → Normal file
0
docs/12_issues/2026-02-17-codebase-task-vorschlaege.md
Executable file → Normal file
0
docs/12_issues/2026-02-17-codebase-task-vorschlaege.md
Executable file → Normal file
0
docs/12_issues/26_production_deployment_infrastructure.md
Executable file → Normal file
0
docs/12_issues/26_production_deployment_infrastructure.md
Executable file → Normal file
0
docs/12_issues/89_test.md
Executable file → Normal file
0
docs/12_issues/89_test.md
Executable file → Normal file
0
docs/12_issues/On-Chain_Model_Marketplace.md
Executable file → Normal file
0
docs/12_issues/On-Chain_Model_Marketplace.md
Executable file → Normal file
0
docs/12_issues/Verifiable_AI_Agent_Orchestration.md
Executable file → Normal file
0
docs/12_issues/Verifiable_AI_Agent_Orchestration.md
Executable file → Normal file
0
docs/12_issues/advanced-ai-agents-completed-2026-02-24.md
Executable file → Normal file
0
docs/12_issues/advanced-ai-agents-completed-2026-02-24.md
Executable file → Normal file
0
docs/12_issues/all-major-phases-completed-2026-02-24.md
Executable file → Normal file
0
docs/12_issues/all-major-phases-completed-2026-02-24.md
Executable file → Normal file
0
docs/12_issues/audit-gap-checklist.md
Executable file → Normal file
0
docs/12_issues/audit-gap-checklist.md
Executable file → Normal file
0
docs/12_issues/cli-tools-milestone-completed-2026-02-24.md
Executable file → Normal file
0
docs/12_issues/cli-tools-milestone-completed-2026-02-24.md
Executable file → Normal file
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user