chore: remove configuration files and enhance blockchain explorer with advanced search, analytics, and export features
- Delete .aitbc.yaml.example CLI configuration template - Delete .lycheeignore link checker exclusion rules - Delete .nvmrc Node.js version specification - Add advanced search panel with filters for address, amount range, transaction type, time range, and validator - Add analytics dashboard with transaction volume, active addresses, and block time metrics - Add Chart.js integration
This commit is contained in:
2
cli/debian/DEBIAN/conffiles
Normal file
2
cli/debian/DEBIAN/conffiles
Normal file
@@ -0,0 +1,2 @@
|
||||
/etc/aitbc/config.yaml
|
||||
/etc/bash_completion.d/aitbc
|
||||
15
cli/debian/DEBIAN/control
Normal file
15
cli/debian/DEBIAN/control
Normal file
@@ -0,0 +1,15 @@
|
||||
Package: aitbc-cli
|
||||
Version: 0.1.0
|
||||
Section: utils
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Installed-Size: 1
|
||||
Depends: python3 (>= 3.13), python3-pip, python3-venv
|
||||
Maintainer: AITBC Team <team@aitbc.net>
|
||||
Description: AITBC Command Line Interface
|
||||
A comprehensive CLI for interacting with the AITBC network,
|
||||
supporting job submission, mining operations, wallet management,
|
||||
blockchain queries, marketplace operations, and more.
|
||||
.
|
||||
This package includes the AITBC CLI with all dependencies
|
||||
and virtual environment setup for easy deployment on Debian systems.
|
||||
12
cli/debian/DEBIAN/control_dev
Normal file
12
cli/debian/DEBIAN/control_dev
Normal file
@@ -0,0 +1,12 @@
|
||||
Package: aitbc-cli-dev
|
||||
Version: 0.1.0
|
||||
Section: devel
|
||||
Priority: optional
|
||||
Architecture: all
|
||||
Installed-Size: 50
|
||||
Depends: aitbc-cli, python3-dev, build-essential, python3-build
|
||||
Maintainer: AITBC Team <team@aitbc.net>
|
||||
Description: AITBC CLI Development Tools
|
||||
Development tools and headers for the AITBC CLI.
|
||||
Includes build tools, testing frameworks, and development
|
||||
dependencies for extending or modifying the AITBC CLI.
|
||||
6
cli/debian/DEBIAN/md5sums
Normal file
6
cli/debian/DEBIAN/md5sums
Normal file
@@ -0,0 +1,6 @@
|
||||
b10f843a0cddbf9207a6358b8ab64527 usr/share/aitbc/dist/aitbc_cli-0.1.0-py3-none-any.whl
|
||||
01d0497370c8d0cb45244cd30f41f01f usr/share/aitbc/man/aitbc.1
|
||||
005144c9f237dd641663663d1330b1c2 usr/share/aitbc/completion/aitbc_completion.sh
|
||||
01d0497370c8d0cb45244cd30f41f01f usr/share/man/man1/aitbc.1
|
||||
6b880571794eca4896f66a56751460ac etc/bash_completion.d/aitbc
|
||||
5d9930e8cf02efd5e312987c4d7d6a5d etc/aitbc/config.yaml
|
||||
37
cli/debian/DEBIAN/postinst
Executable file
37
cli/debian/DEBIAN/postinst
Executable file
@@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Post-installation script for aitbc-cli
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
# Create virtual environment after installation
|
||||
VENV_PATH="/opt/aitbc/venv"
|
||||
|
||||
if [ ! -d "$VENV_PATH" ]; then
|
||||
echo "Creating AITBC CLI virtual environment..."
|
||||
python3 -m venv "$VENV_PATH"
|
||||
|
||||
# Install the CLI in the virtual environment
|
||||
"$VENV_PATH/bin/pip" install --upgrade pip
|
||||
"$VENV_PATH/bin/pip" install /usr/share/aitbc/dist/aitbc_cli-0.1.0-py3-none-any.whl
|
||||
|
||||
# Create symlink for system-wide access
|
||||
ln -sf "$VENV_PATH/bin/aitbc" /usr/local/bin/aitbc
|
||||
|
||||
echo "AITBC CLI installed successfully!"
|
||||
fi
|
||||
|
||||
# Set up completion
|
||||
if [ -f "/etc/bash_completion.d/aitbc" ]; then
|
||||
. /etc/bash_completion.d/aitbc
|
||||
fi
|
||||
;;
|
||||
|
||||
abort-upgrade|failed-upgrade)
|
||||
echo "Post-installation script failed"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
26
cli/debian/DEBIAN/prerm
Executable file
26
cli/debian/DEBIAN/prerm
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Pre-removal script for aitbc-cli
|
||||
|
||||
case "$1" in
|
||||
remove|upgrade|failed-upgrade)
|
||||
# Remove symlink
|
||||
if [ -L "/usr/local/bin/aitbc" ]; then
|
||||
rm -f /usr/local/bin/aitbc
|
||||
fi
|
||||
|
||||
# Remove virtual environment (optional, keep data)
|
||||
# VENV_PATH="/opt/aitbc/venv"
|
||||
# if [ -d "$VENV_PATH" ]; then
|
||||
# rm -rf "$VENV_PATH"
|
||||
# fi
|
||||
;;
|
||||
|
||||
disappear)
|
||||
# Package is being removed
|
||||
rm -f /usr/local/bin/aitbc
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
29
cli/debian/etc/aitbc/config.yaml
Normal file
29
cli/debian/etc/aitbc/config.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
# AITBC CLI Configuration File
|
||||
# Default configuration for AITBC CLI
|
||||
|
||||
# Coordinator API settings
|
||||
coordinator_url: http://localhost:8000
|
||||
api_key: null
|
||||
|
||||
# Output settings
|
||||
output_format: table
|
||||
timeout: 30
|
||||
|
||||
# Logging
|
||||
log_level: INFO
|
||||
|
||||
# Wallet settings
|
||||
default_wallet: default
|
||||
wallet_dir: ~/.aitbc/wallets
|
||||
|
||||
# Blockchain settings
|
||||
chain_id: mainnet
|
||||
|
||||
# Marketplace settings
|
||||
default_region: localhost
|
||||
|
||||
# Analytics settings
|
||||
analytics_enabled: true
|
||||
|
||||
# Security settings
|
||||
verify_ssl: true
|
||||
2
cli/debian/etc/bash_completion.d/aitbc
Normal file
2
cli/debian/etc/bash_completion.d/aitbc
Normal file
@@ -0,0 +1,2 @@
|
||||
# AITBC CLI bash completion
|
||||
source /usr/share/aitbc/completion/aitbc_completion.sh
|
||||
116
cli/debian/usr/share/aitbc/completion/aitbc_completion.sh
Executable file
116
cli/debian/usr/share/aitbc/completion/aitbc_completion.sh
Executable file
@@ -0,0 +1,116 @@
|
||||
#!/bin/bash
|
||||
# AITBC CLI completion script for bash/zsh
|
||||
|
||||
_aitbc_completion() {
|
||||
local cur prev words
|
||||
COMPREPLY=()
|
||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
prev="${COMP_WORDS[COMP_CWORD-1]}"
|
||||
words=("${COMP_WORDS[@]}")
|
||||
|
||||
# Main commands
|
||||
if [[ ${COMP_CWORD} -eq 1 ]]; then
|
||||
local commands="admin agent agent-comm analytics auth blockchain chain client config config-show deploy exchange genesis governance marketplace miner monitor multimodal node optimize plugin simulate swarm version wallet"
|
||||
COMPREPLY=($(compgen -W "${commands}" -- "${cur}"))
|
||||
return 0
|
||||
fi
|
||||
|
||||
# Subcommand completions
|
||||
case "${words[1]}" in
|
||||
wallet)
|
||||
local wallet_commands="address backup balance create delete earn history info liquidity-stake liquidity-unstake list multisig-create multisig-propose multisig-sign request-payment restore rewards send spend stake staking-info stats switch unstake"
|
||||
if [[ ${COMP_CWORD} -eq 2 ]]; then
|
||||
COMPREPLY=($(compgen -W "${wallet_commands}" -- "${cur}"))
|
||||
fi
|
||||
;;
|
||||
blockchain)
|
||||
local blockchain_commands="block blocks info peers status supply sync-status transaction validators"
|
||||
if [[ ${COMP_CWORD} -eq 2 ]]; then
|
||||
COMPREPLY=($(compgen -W "${blockchain_commands}" -- "${cur}"))
|
||||
fi
|
||||
;;
|
||||
marketplace)
|
||||
local marketplace_commands="agents bid gpu governance offers orders pricing review reviews test"
|
||||
if [[ ${COMP_CWORD} -eq 2 ]]; then
|
||||
COMPREPLY=($(compgen -W "${marketplace_commands}" -- "${cur}"))
|
||||
fi
|
||||
;;
|
||||
config)
|
||||
local config_commands="edit environments export get-secret import-config path profiles reset set set-secret show validate"
|
||||
if [[ ${COMP_CWORD} -eq 2 ]]; then
|
||||
COMPREPLY=($(compgen -W "${config_commands}" -- "${cur}"))
|
||||
fi
|
||||
;;
|
||||
analytics)
|
||||
local analytics_commands="alerts dashboard monitor optimize predict summary"
|
||||
if [[ ${COMP_CWORD} -eq 2 ]]; then
|
||||
COMPREPLY=($(compgen -W "${analytics_commands}" -- "${cur}"))
|
||||
fi
|
||||
;;
|
||||
agent-comm)
|
||||
local agent_comm_commands="collaborate discover list monitor network register reputation send status"
|
||||
if [[ ${COMP_CWORD} -eq 2 ]]; then
|
||||
COMPREPLY=($(compgen -W "${agent_comm_commands}" -- "${cur}"))
|
||||
fi
|
||||
;;
|
||||
chain)
|
||||
local chain_commands="create delete info list status switch validate"
|
||||
if [[ ${COMP_CWORD} -eq 2 ]]; then
|
||||
COMPREPLY=($(compgen -W "${chain_commands}" -- "${cur}"))
|
||||
fi
|
||||
;;
|
||||
client)
|
||||
local client_commands="batch-submit blocks cancel history receipt status submit template"
|
||||
if [[ ${COMP_CWORD} -eq 2 ]]; then
|
||||
COMPREPLY=($(compgen -W "${client_commands}" -- "${cur}"))
|
||||
fi
|
||||
;;
|
||||
miner)
|
||||
local miner_commands="concurrent-mine deregister earnings heartbeat jobs mine poll register status update-capabilities"
|
||||
if [[ ${COMP_CWORD} -eq 2 ]]; then
|
||||
COMPREPLY=($(compgen -W "${miner_commands}" -- "${cur}"))
|
||||
fi
|
||||
;;
|
||||
auth)
|
||||
local auth_commands="import-env keys login logout refresh status token"
|
||||
if [[ ${COMP_CWORD} -eq 2 ]]; then
|
||||
COMPREPLY=($(compgen -W "${auth_commands}" -- "${cur}"))
|
||||
fi
|
||||
;;
|
||||
monitor)
|
||||
local monitor_commands="alerts dashboard history metrics webhooks"
|
||||
if [[ ${COMP_CWORD} -eq 2 ]]; then
|
||||
COMPREPLY=($(compgen -W "${monitor_commands}" -- "${cur}"))
|
||||
fi
|
||||
;;
|
||||
simulate)
|
||||
local simulate_commands="init load-test reset results scenario user workflow"
|
||||
if [[ ${COMP_CWORD} -eq 2 ]]; then
|
||||
COMPREPLY=($(compgen -W "${simulate_commands}" -- "${cur}"))
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
# Option completions
|
||||
case "${prev}" in
|
||||
--output)
|
||||
COMPREPLY=($(compgen -W "table json yaml" -- "${cur}"))
|
||||
;;
|
||||
--config-file)
|
||||
COMPREPLY=($(compgen -f -- "${cur}"))
|
||||
;;
|
||||
--wallet-name)
|
||||
COMPREPLY=($(compgen -W "$(aitbc wallet list 2>/dev/null | awk 'NR>2 {print $1}')" -- "${cur}"))
|
||||
;;
|
||||
--api-key)
|
||||
COMPREPLY=($(compgen -W "your_api_key_here" -- "${cur}"))
|
||||
;;
|
||||
--url)
|
||||
COMPREPLY=($(compgen -W "http://localhost:8000 http://127.0.0.1:18000" -- "${cur}"))
|
||||
;;
|
||||
esac
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
complete -F _aitbc_completion aitbc
|
||||
224
cli/debian/usr/share/aitbc/man/aitbc.1
Normal file
224
cli/debian/usr/share/aitbc/man/aitbc.1
Normal file
@@ -0,0 +1,224 @@
|
||||
.TH AITBC 1 "February 2026" "AITBC CLI" "User Commands"
|
||||
.SH NAME
|
||||
aitbc \- command-line interface for the AITBC network
|
||||
.SH SYNOPSIS
|
||||
.B aitbc
|
||||
[\fIOPTIONS\fR] \fICOMMAND\fR [\fIARGS\fR]...
|
||||
.SH DESCRIPTION
|
||||
The AITBC CLI provides a comprehensive command-line interface for interacting
|
||||
with the AITBC network. It supports job submission, mining operations, wallet
|
||||
management, blockchain queries, marketplace operations, multi-chain management,
|
||||
agent communication, analytics, system administration, monitoring, and test
|
||||
simulations. The CLI provides 22 main command groups with over 100 subcommands
|
||||
for complete network interaction.
|
||||
.SH GLOBAL OPTIONS
|
||||
.TP
|
||||
\fB\-\-url\fR \fITEXT\fR
|
||||
Coordinator API URL (overrides config)
|
||||
.TP
|
||||
\fB\-\-api\-key\fR \fITEXT\fR
|
||||
API key (overrides config)
|
||||
.TP
|
||||
\fB\-\-output\fR [table|json|yaml]
|
||||
Output format (default: table)
|
||||
.TP
|
||||
\fB\-v\fR, \fB\-\-verbose\fR
|
||||
Increase verbosity (use -v, -vv, -vvv)
|
||||
.TP
|
||||
\fB\-\-debug\fR
|
||||
Enable debug mode
|
||||
.TP
|
||||
\fB\-\-config\-file\fR \fITEXT\fR
|
||||
Path to config file
|
||||
.TP
|
||||
\fB\-\-version\fR
|
||||
Show version and exit
|
||||
.TP
|
||||
\fB\-\-help\fR
|
||||
Show help message and exit
|
||||
.SH COMMANDS
|
||||
.TP
|
||||
\fBadmin\fR
|
||||
System administration commands (status, jobs, miners, analytics, logs, maintenance, audit-log)
|
||||
.TP
|
||||
\fBagent\fR
|
||||
Advanced AI agent workflow and execution management
|
||||
.TP
|
||||
\fBagent-comm\fR
|
||||
Cross-chain agent communication commands (register, list, discover, send, collaborate, reputation, status, network, monitor)
|
||||
.TP
|
||||
\fBanalytics\fR
|
||||
Chain analytics and monitoring commands (summary, monitor, predict, optimize, alerts, dashboard)
|
||||
.TP
|
||||
\fBauth\fR
|
||||
Manage API keys and authentication (login, logout, token, status, refresh, keys, import-env)
|
||||
.TP
|
||||
\fBblockchain\fR
|
||||
Query blockchain information (blocks, block, transaction, status, sync-status, peers, info, supply, validators)
|
||||
.TP
|
||||
\fBchain\fR
|
||||
Multi-chain management commands (list, create, delete, info, status, switch, validate)
|
||||
.TP
|
||||
\fBclient\fR
|
||||
Submit and manage inference jobs (submit, status, blocks, receipts, cancel, history, batch-submit, template)
|
||||
.TP
|
||||
\fBconfig\fR
|
||||
Manage CLI configuration (show, set, path, edit, reset, export, import, validate, environments, profiles, set-secret, get-secret)
|
||||
.TP
|
||||
\fBconfig-show\fR
|
||||
Show current configuration
|
||||
.TP
|
||||
\fBdeploy\fR
|
||||
Production deployment and scaling commands
|
||||
.TP
|
||||
\fBexchange\fR
|
||||
Bitcoin exchange operations
|
||||
.TP
|
||||
\fBgenesis\fR
|
||||
Genesis block generation and management commands
|
||||
.TP
|
||||
\fBgovernance\fR
|
||||
Governance proposals and voting
|
||||
.TP
|
||||
\fBmarketplace\fR
|
||||
GPU marketplace operations (gpu register/list/details/book/release, orders, pricing, reviews, agents, bid, offers, governance, test)
|
||||
.TP
|
||||
\fBminer\fR
|
||||
Register as a miner and process jobs (register, poll, mine, heartbeat, status, earnings, update-capabilities, deregister, jobs, concurrent-mine)
|
||||
.TP
|
||||
\fBmonitor\fR
|
||||
Monitoring, metrics, and alerting commands (dashboard, metrics, alerts, history, webhooks)
|
||||
.TP
|
||||
\fBmultimodal\fR
|
||||
Multi-modal agent processing and cross-modal operations
|
||||
.TP
|
||||
\fBnode\fR
|
||||
Node management commands
|
||||
.TP
|
||||
\fBoptimize\fR
|
||||
Autonomous optimization and predictive operations
|
||||
.TP
|
||||
\fBplugin\fR
|
||||
Manage CLI plugins
|
||||
.TP
|
||||
\fBsimulate\fR
|
||||
Run simulations (init, user, workflow, load-test, scenario, results, reset)
|
||||
.TP
|
||||
\fBswarm\fR
|
||||
Swarm intelligence and collective optimization
|
||||
.TP
|
||||
\fBversion\fR
|
||||
Show version information
|
||||
.TP
|
||||
\fBwallet\fR
|
||||
Manage wallets and transactions (balance, earn, spend, send, history, address, stats, stake, unstake, staking-info, liquidity-stake, liquidity-unstake, rewards, multisig-create, multisig-propose, multisig-sign, create, list, switch, delete, backup, restore, info, request-payment)
|
||||
.SH EXAMPLES
|
||||
.PP
|
||||
Submit a job:
|
||||
.RS
|
||||
aitbc client submit --prompt "What is AI?" --model gpt-4
|
||||
.RE
|
||||
.PP
|
||||
Check wallet balance:
|
||||
.RS
|
||||
aitbc wallet balance
|
||||
.RE
|
||||
.PP
|
||||
Start mining:
|
||||
.RS
|
||||
aitbc miner register --gpu-model RTX4090 --memory 24 --price 0.5
|
||||
.br
|
||||
aitbc miner poll --interval 5
|
||||
.RE
|
||||
.PP
|
||||
Monitor system:
|
||||
.RS
|
||||
aitbc monitor dashboard --refresh 5
|
||||
.RE
|
||||
.PP
|
||||
List available GPUs:
|
||||
.RS
|
||||
aitbc marketplace gpu list
|
||||
.RE
|
||||
.PP
|
||||
Query blockchain status:
|
||||
.RS
|
||||
aitbc blockchain sync-status
|
||||
.RE
|
||||
.PP
|
||||
Manage configuration:
|
||||
.RS
|
||||
aitbc config set api_key your_api_key_here
|
||||
.br
|
||||
aitbc config show
|
||||
.RE
|
||||
.PP
|
||||
Cross-chain agent communication:
|
||||
.RS
|
||||
aitbc agent-comm register --agent-id agent1 --chain-id ethereum
|
||||
.br
|
||||
aitbc agent-comm list --chain-id ethereum
|
||||
.RE
|
||||
.PP
|
||||
Analytics and monitoring:
|
||||
.RS
|
||||
aitbc analytics summary --chain-id ethereum --hours 24
|
||||
.br
|
||||
aitbc analytics monitor --realtime
|
||||
.RE
|
||||
.PP
|
||||
Multi-chain operations:
|
||||
.RS
|
||||
aitbc chain list
|
||||
.br
|
||||
aitbc chain create --name test-chain --type ethereum
|
||||
.RE
|
||||
.PP
|
||||
Output in different formats:
|
||||
.RS
|
||||
aitbc wallet balance --output json
|
||||
.br
|
||||
aitbc marketplace gpu list --output yaml
|
||||
.RE
|
||||
.PP
|
||||
Verbose output:
|
||||
.RS
|
||||
aitbc -vv blockchain blocks --limit 10
|
||||
.RE
|
||||
.PP
|
||||
Configuration management:
|
||||
.RS
|
||||
aitbc config profiles save production
|
||||
.br
|
||||
aitbc config profiles load production
|
||||
.RE
|
||||
.SH ENVIRONMENT
|
||||
.TP
|
||||
\fBCLIENT_API_KEY\fR
|
||||
API key for authentication
|
||||
.TP
|
||||
\fBAITBC_COORDINATOR_URL\fR
|
||||
Coordinator API URL
|
||||
.TP
|
||||
\fBAITBC_OUTPUT_FORMAT\fR
|
||||
Default output format
|
||||
.TP
|
||||
\fBAITBC_CONFIG_FILE\fR
|
||||
Path to configuration file
|
||||
.SH FILES
|
||||
.TP
|
||||
\fB~/.config/aitbc/config.yaml\fR
|
||||
Default configuration file
|
||||
.TP
|
||||
\fB~/.aitbc/wallets/\fR
|
||||
Wallet storage directory
|
||||
.TP
|
||||
\fB~/.aitbc/audit/audit.jsonl\fR
|
||||
Audit log file
|
||||
.TP
|
||||
\fB~/.aitbc/templates/\fR
|
||||
Job template storage
|
||||
.SH SEE ALSO
|
||||
Full documentation: https://docs.aitbc.net
|
||||
.SH AUTHORS
|
||||
AITBC Development Team
|
||||
224
cli/debian/usr/share/man/man1/aitbc.1
Normal file
224
cli/debian/usr/share/man/man1/aitbc.1
Normal file
@@ -0,0 +1,224 @@
|
||||
.TH AITBC 1 "February 2026" "AITBC CLI" "User Commands"
|
||||
.SH NAME
|
||||
aitbc \- command-line interface for the AITBC network
|
||||
.SH SYNOPSIS
|
||||
.B aitbc
|
||||
[\fIOPTIONS\fR] \fICOMMAND\fR [\fIARGS\fR]...
|
||||
.SH DESCRIPTION
|
||||
The AITBC CLI provides a comprehensive command-line interface for interacting
|
||||
with the AITBC network. It supports job submission, mining operations, wallet
|
||||
management, blockchain queries, marketplace operations, multi-chain management,
|
||||
agent communication, analytics, system administration, monitoring, and test
|
||||
simulations. The CLI provides 22 main command groups with over 100 subcommands
|
||||
for complete network interaction.
|
||||
.SH GLOBAL OPTIONS
|
||||
.TP
|
||||
\fB\-\-url\fR \fITEXT\fR
|
||||
Coordinator API URL (overrides config)
|
||||
.TP
|
||||
\fB\-\-api\-key\fR \fITEXT\fR
|
||||
API key (overrides config)
|
||||
.TP
|
||||
\fB\-\-output\fR [table|json|yaml]
|
||||
Output format (default: table)
|
||||
.TP
|
||||
\fB\-v\fR, \fB\-\-verbose\fR
|
||||
Increase verbosity (use -v, -vv, -vvv)
|
||||
.TP
|
||||
\fB\-\-debug\fR
|
||||
Enable debug mode
|
||||
.TP
|
||||
\fB\-\-config\-file\fR \fITEXT\fR
|
||||
Path to config file
|
||||
.TP
|
||||
\fB\-\-version\fR
|
||||
Show version and exit
|
||||
.TP
|
||||
\fB\-\-help\fR
|
||||
Show help message and exit
|
||||
.SH COMMANDS
|
||||
.TP
|
||||
\fBadmin\fR
|
||||
System administration commands (status, jobs, miners, analytics, logs, maintenance, audit-log)
|
||||
.TP
|
||||
\fBagent\fR
|
||||
Advanced AI agent workflow and execution management
|
||||
.TP
|
||||
\fBagent-comm\fR
|
||||
Cross-chain agent communication commands (register, list, discover, send, collaborate, reputation, status, network, monitor)
|
||||
.TP
|
||||
\fBanalytics\fR
|
||||
Chain analytics and monitoring commands (summary, monitor, predict, optimize, alerts, dashboard)
|
||||
.TP
|
||||
\fBauth\fR
|
||||
Manage API keys and authentication (login, logout, token, status, refresh, keys, import-env)
|
||||
.TP
|
||||
\fBblockchain\fR
|
||||
Query blockchain information (blocks, block, transaction, status, sync-status, peers, info, supply, validators)
|
||||
.TP
|
||||
\fBchain\fR
|
||||
Multi-chain management commands (list, create, delete, info, status, switch, validate)
|
||||
.TP
|
||||
\fBclient\fR
|
||||
Submit and manage inference jobs (submit, status, blocks, receipts, cancel, history, batch-submit, template)
|
||||
.TP
|
||||
\fBconfig\fR
|
||||
Manage CLI configuration (show, set, path, edit, reset, export, import, validate, environments, profiles, set-secret, get-secret)
|
||||
.TP
|
||||
\fBconfig-show\fR
|
||||
Show current configuration
|
||||
.TP
|
||||
\fBdeploy\fR
|
||||
Production deployment and scaling commands
|
||||
.TP
|
||||
\fBexchange\fR
|
||||
Bitcoin exchange operations
|
||||
.TP
|
||||
\fBgenesis\fR
|
||||
Genesis block generation and management commands
|
||||
.TP
|
||||
\fBgovernance\fR
|
||||
Governance proposals and voting
|
||||
.TP
|
||||
\fBmarketplace\fR
|
||||
GPU marketplace operations (gpu register/list/details/book/release, orders, pricing, reviews, agents, bid, offers, governance, test)
|
||||
.TP
|
||||
\fBminer\fR
|
||||
Register as a miner and process jobs (register, poll, mine, heartbeat, status, earnings, update-capabilities, deregister, jobs, concurrent-mine)
|
||||
.TP
|
||||
\fBmonitor\fR
|
||||
Monitoring, metrics, and alerting commands (dashboard, metrics, alerts, history, webhooks)
|
||||
.TP
|
||||
\fBmultimodal\fR
|
||||
Multi-modal agent processing and cross-modal operations
|
||||
.TP
|
||||
\fBnode\fR
|
||||
Node management commands
|
||||
.TP
|
||||
\fBoptimize\fR
|
||||
Autonomous optimization and predictive operations
|
||||
.TP
|
||||
\fBplugin\fR
|
||||
Manage CLI plugins
|
||||
.TP
|
||||
\fBsimulate\fR
|
||||
Run simulations (init, user, workflow, load-test, scenario, results, reset)
|
||||
.TP
|
||||
\fBswarm\fR
|
||||
Swarm intelligence and collective optimization
|
||||
.TP
|
||||
\fBversion\fR
|
||||
Show version information
|
||||
.TP
|
||||
\fBwallet\fR
|
||||
Manage wallets and transactions (balance, earn, spend, send, history, address, stats, stake, unstake, staking-info, liquidity-stake, liquidity-unstake, rewards, multisig-create, multisig-propose, multisig-sign, create, list, switch, delete, backup, restore, info, request-payment)
|
||||
.SH EXAMPLES
|
||||
.PP
|
||||
Submit a job:
|
||||
.RS
|
||||
aitbc client submit --prompt "What is AI?" --model gpt-4
|
||||
.RE
|
||||
.PP
|
||||
Check wallet balance:
|
||||
.RS
|
||||
aitbc wallet balance
|
||||
.RE
|
||||
.PP
|
||||
Start mining:
|
||||
.RS
|
||||
aitbc miner register --gpu-model RTX4090 --memory 24 --price 0.5
|
||||
.br
|
||||
aitbc miner poll --interval 5
|
||||
.RE
|
||||
.PP
|
||||
Monitor system:
|
||||
.RS
|
||||
aitbc monitor dashboard --refresh 5
|
||||
.RE
|
||||
.PP
|
||||
List available GPUs:
|
||||
.RS
|
||||
aitbc marketplace gpu list
|
||||
.RE
|
||||
.PP
|
||||
Query blockchain status:
|
||||
.RS
|
||||
aitbc blockchain sync-status
|
||||
.RE
|
||||
.PP
|
||||
Manage configuration:
|
||||
.RS
|
||||
aitbc config set api_key your_api_key_here
|
||||
.br
|
||||
aitbc config show
|
||||
.RE
|
||||
.PP
|
||||
Cross-chain agent communication:
|
||||
.RS
|
||||
aitbc agent-comm register --agent-id agent1 --chain-id ethereum
|
||||
.br
|
||||
aitbc agent-comm list --chain-id ethereum
|
||||
.RE
|
||||
.PP
|
||||
Analytics and monitoring:
|
||||
.RS
|
||||
aitbc analytics summary --chain-id ethereum --hours 24
|
||||
.br
|
||||
aitbc analytics monitor --realtime
|
||||
.RE
|
||||
.PP
|
||||
Multi-chain operations:
|
||||
.RS
|
||||
aitbc chain list
|
||||
.br
|
||||
aitbc chain create --name test-chain --type ethereum
|
||||
.RE
|
||||
.PP
|
||||
Output in different formats:
|
||||
.RS
|
||||
aitbc wallet balance --output json
|
||||
.br
|
||||
aitbc marketplace gpu list --output yaml
|
||||
.RE
|
||||
.PP
|
||||
Verbose output:
|
||||
.RS
|
||||
aitbc -vv blockchain blocks --limit 10
|
||||
.RE
|
||||
.PP
|
||||
Configuration management:
|
||||
.RS
|
||||
aitbc config profiles save production
|
||||
.br
|
||||
aitbc config profiles load production
|
||||
.RE
|
||||
.SH ENVIRONMENT
|
||||
.TP
|
||||
\fBCLIENT_API_KEY\fR
|
||||
API key for authentication
|
||||
.TP
|
||||
\fBAITBC_COORDINATOR_URL\fR
|
||||
Coordinator API URL
|
||||
.TP
|
||||
\fBAITBC_OUTPUT_FORMAT\fR
|
||||
Default output format
|
||||
.TP
|
||||
\fBAITBC_CONFIG_FILE\fR
|
||||
Path to configuration file
|
||||
.SH FILES
|
||||
.TP
|
||||
\fB~/.config/aitbc/config.yaml\fR
|
||||
Default configuration file
|
||||
.TP
|
||||
\fB~/.aitbc/wallets/\fR
|
||||
Wallet storage directory
|
||||
.TP
|
||||
\fB~/.aitbc/audit/audit.jsonl\fR
|
||||
Audit log file
|
||||
.TP
|
||||
\fB~/.aitbc/templates/\fR
|
||||
Job template storage
|
||||
.SH SEE ALSO
|
||||
Full documentation: https://docs.aitbc.net
|
||||
.SH AUTHORS
|
||||
AITBC Development Team
|
||||
Reference in New Issue
Block a user