feat: add marketplace metrics, privacy features, and service registry endpoints
- Add Prometheus metrics for marketplace API throughput and error rates with new dashboard panels - Implement confidential transaction models with encryption support and access control - Add key management system with registration, rotation, and audit logging - Create services and registry routers for service discovery and management - Integrate ZK proof generation for privacy-preserving receipts - Add metrics instru
This commit is contained in:
52
docs/user/getting-started/architecture.md
Normal file
52
docs/user/getting-started/architecture.md
Normal file
@ -0,0 +1,52 @@
|
||||
---
|
||||
title: Architecture
|
||||
description: Technical architecture of the AITBC platform
|
||||
---
|
||||
|
||||
# Architecture
|
||||
|
||||
## Overview
|
||||
|
||||
AITBC consists of several interconnected components that work together to provide a secure and efficient AI computing platform.
|
||||
|
||||
## Components
|
||||
|
||||
### Coordinator API
|
||||
The central service managing jobs, marketplace operations, and coordination.
|
||||
|
||||
### Blockchain Nodes
|
||||
Maintain the distributed ledger and execute smart contracts.
|
||||
|
||||
### Wallet Daemon
|
||||
Manages cryptographic keys and transactions.
|
||||
|
||||
### Miners/Validators
|
||||
Execute AI computations and secure the network.
|
||||
|
||||
### Explorer
|
||||
Browse blockchain data and transactions.
|
||||
|
||||
## Data Flow
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
participant U as User
|
||||
participant C as Coordinator
|
||||
participant M as Marketplace
|
||||
participant B as Blockchain
|
||||
participant V as Miner
|
||||
|
||||
U->>C: Submit Job
|
||||
C->>M: Find Offer
|
||||
M->>B: Create Transaction
|
||||
V->>B: Execute Job
|
||||
V->>C: Submit Results
|
||||
C->>U: Return Results
|
||||
```
|
||||
|
||||
## Security Model
|
||||
|
||||
- Cryptographic proofs for all computations
|
||||
- Multi-signature validation
|
||||
- Secure enclave support
|
||||
- Privacy-preserving techniques
|
||||
Reference in New Issue
Block a user