Test Client
Overview
┌─────────────────────────────────────────────────────────────────────────────┐
│ Test Client │
│ │
│ ┌───────────────────────────────────────────────────────────────────┐ │
│ │ Command Line Interface │ │
│ │ --gateway-addr, --wallet-key, --model-path, --text, etc. │ │
│ └───────────────────────────────────────────────────────────────────┘ │
│ │
│ ┌───────────────────────────────────────────────────────────────────┐ │
│ │ Inference Pipeline │ │
│ │ 1. Submit request │ │
│ │ 2. Handle payment │ │
│ │ 3. Wait for result │ │
│ │ 4. Verify and display │ │
│ └───────────────────────────────────────────────────────────────────┘ │
│ │
│ ┌───────────────────────────────────────────────────────────────────┐ │
│ │ Payment Manager │ │
│ │ • Wallet management │ │
│ │ • Balance checking │ │
│ │ • Transaction submission │ │
│ │ • Confirmation waiting │ │
│ └───────────────────────────────────────────────────────────────────┘ │
│ │
│ Connections: │
│ ├── Gateway (gRPC) ────────────────────▶ :50051 │
│ └── Blockchain (JSON-RPC) ─────────────▶ RPC_URL │
│ │
└─────────────────────────────────────────────────────────────────────────────┘Features
Quick Start
Build
Basic Usage
Full Options
Command Line Options
Option
Required
Default
Description
Output Examples
Successful Run
Dry Run Mode
Configuration
Environment Variables
Network Configurations
Network
RPC URL
Notes
Payment Flow
Without Payment (Development)
With Payment
Bark Pipeline
Pipeline Stages
Usage
Troubleshooting
Common Issues
Related Documentation
Last updated