QuDAG Exchange CLI
Standalone command-line interface for QuDAG Exchange with comprehensive rUv token management and business plan payout stream operations.
Features
🏦 Exchange Operations
- Account Management: Create and manage rUv token accounts
- Token Transfers: Secure quantum-resistant token transfers
- Balance Checking: Real-time account balance queries
- Node Operations: Start, stop, and monitor exchange nodes
💰 Business Plan Management
- Payout Configuration: Enable/disable automatic fee distribution
- Contributor Management: Register and manage contributors across all roles
- Split Configuration: Customize payout percentages and thresholds
- History Tracking: View complete payout history and audit trails
🌐 Network Operations
- Peer Management: Connect to and manage network peers
- Network Status: Monitor network health and connectivity
- Dark Addressing: Support for .dark domain operations
Installation
Install from crates.io:
Or build from source:
Quick Start
Basic Exchange Operations
# Create a new account
# Check account balance
# Transfer tokens
Business Plan Operations
# Enable business plan features
# Check business plan status
# Register contributors
# Configure payout thresholds
# View payout history
Node Operations
# Start an exchange node
# Check node status
# Stop the node
Network Operations
# Check network status
# List connected peers
# Connect to a specific peer
Business Plan Commands
Enable/Disable Features
# Enable all business plan features
# Disable business plan features
# Check current status
Configure Payout Settings
# Set minimum payout threshold (in rUv)
# Set system fee percentage (0.0 to 0.1)
# Configure single-agent payout split
# Configure plugin-enhanced payout split
Contributor Management
# Register different types of contributors
# List all contributors
# Show specific contributor details
# Update contributor settings
Payout History
# View recent payouts
# View more entries
# Filter by contributor
Contributor Roles
The CLI supports four types of contributors:
Agent Providers
Earn per compute/storage/bandwidth consumed:
Plugin Creators
Earn micro-payouts when modules are used:
Node Operators
Earn via routing/consensus participation:
Bounty Agents
Claim rewards for task completion:
Configuration
The CLI uses the core QuDAG Exchange configuration system. Settings are stored locally and can be managed through the command interface.
Default Payout Splits
- Single-Agent Jobs: 95% agent, 5% infrastructure
- Plugin-Enhanced Jobs: 85% agent, 10% plugin, 5% infrastructure
- Node Operations: 80% node operator, 15% network, 5% system
- Bounty Completion: 90% agent, 5% bounty poster, 5% system
Custom Percentages
Contributors can override default percentages (subject to governance limits):
Vault Integration
All payouts are securely distributed to contributor vaults:
- Zero-Custody: Contributors control their own vault keys
- Quantum-Resistant: ML-DSA-87 signatures for vault access
- Rate Limiting: Configurable withdrawal limits and time-locks
- Audit Trails: Complete history of all vault operations
Security Features
- Quantum-Resistant Signatures: ML-DSA-87 for all operations
- Secure Key Storage: Integration with QuDAG Vault system
- Transaction Validation: Comprehensive input validation
- Replay Protection: Prevents transaction replay attacks
Examples
Complete Workflow
# 1. Enable business plan features
# 2. Register contributors
# 3. Configure settings
# 4. Start node
# 5. Monitor operations
Help
Get help for any command:
Documentation
License
Licensed under the MIT License. See LICENSE for details.
Part of the QuDAG quantum-resistant distributed ledger ecosystem.