| Crates.io | qudag-exchange-standalone-cli |
| lib.rs | qudag-exchange-standalone-cli |
| version | 0.3.1 |
| created_at | 2025-06-23 00:38:06.64426+00 |
| updated_at | 2025-06-23 02:28:28.953174+00 |
| description | Standalone command-line interface for QuDAG Exchange with rUv tokens |
| homepage | |
| repository | https://github.com/ruvnet/QuDAG |
| max_upload_size | |
| id | 1722069 |
| size | 98,030 |
Standalone command-line interface for QuDAG Exchange with comprehensive rUv token management and business plan payout stream operations.
Install from crates.io:
cargo install qudag-exchange-standalone-cli
Or build from source:
git clone https://github.com/ruvnet/QuDAG
cd QuDAG/qudag-exchange/qudag-exchange-cli
cargo build --release
# Create a new account
qudag-exchange-cli create-account --name "my-account"
# Check account balance
qudag-exchange-cli balance --account "my-account"
# Transfer tokens
qudag-exchange-cli transfer --from "sender" --to "receiver" --amount 1000
# Enable business plan features
qudag-exchange-cli business-plan enable \
--auto-distribution \
--role-earnings \
--vault-management
# Check business plan status
qudag-exchange-cli business-plan status
# Register contributors
qudag-exchange-cli business-plan contributors register \
agent-123 agent-provider vault-abc \
--custom-percentage 0.90
# Configure payout thresholds
qudag-exchange-cli business-plan configure threshold 50
qudag-exchange-cli business-plan configure system-fee 0.002
# View payout history
qudag-exchange-cli business-plan payouts --limit 10
# Start an exchange node
qudag-exchange-cli node start --port 8080
# Check node status
qudag-exchange-cli node status
# Stop the node
qudag-exchange-cli node stop
# Check network status
qudag-exchange-cli network status
# List connected peers
qudag-exchange-cli network peers
# Connect to a specific peer
qudag-exchange-cli network connect "/ip4/192.168.1.100/tcp/8080"
# Enable all business plan features
qudag-exchange-cli business-plan enable \
--auto-distribution \
--vault-management \
--role-earnings \
--bounty-rewards
# Disable business plan features
qudag-exchange-cli business-plan disable
# Check current status
qudag-exchange-cli business-plan status
# Set minimum payout threshold (in rUv)
qudag-exchange-cli business-plan configure threshold 100
# Set system fee percentage (0.0 to 0.1)
qudag-exchange-cli business-plan configure system-fee 0.001
# Configure single-agent payout split
qudag-exchange-cli business-plan configure single-agent \
--agent 0.95 \
--infrastructure 0.05
# Configure plugin-enhanced payout split
qudag-exchange-cli business-plan configure plugin-enhanced \
--agent 0.85 \
--plugin 0.10 \
--infrastructure 0.05
# Register different types of contributors
qudag-exchange-cli business-plan contributors register \
agent-123 agent-provider vault-abc
qudag-exchange-cli business-plan contributors register \
plugin-456 plugin-creator vault-def \
--custom-percentage 0.12
qudag-exchange-cli business-plan contributors register \
node-789 node-operator vault-ghi
qudag-exchange-cli business-plan contributors register \
bounty-001 bounty-agent vault-jkl
# List all contributors
qudag-exchange-cli business-plan contributors list
# Show specific contributor details
qudag-exchange-cli business-plan contributors show agent-123
# Update contributor settings
qudag-exchange-cli business-plan contributors update agent-123 \
--custom-percentage 0.88
# View recent payouts
qudag-exchange-cli business-plan payouts
# View more entries
qudag-exchange-cli business-plan payouts --limit 50
# Filter by contributor
qudag-exchange-cli business-plan payouts --contributor agent-123
The CLI supports four types of contributors:
Earn per compute/storage/bandwidth consumed:
qudag-exchange-cli business-plan contributors register \
agent-123 agent-provider vault-abc
Earn micro-payouts when modules are used:
qudag-exchange-cli business-plan contributors register \
plugin-456 plugin-creator vault-def
Earn via routing/consensus participation:
qudag-exchange-cli business-plan contributors register \
node-789 node-operator vault-ghi
Claim rewards for task completion:
qudag-exchange-cli business-plan contributors register \
bounty-001 bounty-agent vault-jkl
The CLI uses the core QuDAG Exchange configuration system. Settings are stored locally and can be managed through the command interface.
Contributors can override default percentages (subject to governance limits):
qudag-exchange-cli business-plan contributors register \
agent-123 agent-provider vault-abc \
--custom-percentage 0.90 # 90% instead of default 95%
All payouts are securely distributed to contributor vaults:
# 1. Enable business plan features
qudag-exchange-cli business-plan enable --auto-distribution --role-earnings
# 2. Register contributors
qudag-exchange-cli business-plan contributors register agent-001 agent-provider vault-001
qudag-exchange-cli business-plan contributors register plugin-002 plugin-creator vault-002
# 3. Configure settings
qudag-exchange-cli business-plan configure threshold 100
qudag-exchange-cli business-plan configure system-fee 0.001
# 4. Start node
qudag-exchange-cli node start --port 8080
# 5. Monitor operations
qudag-exchange-cli business-plan status
qudag-exchange-cli business-plan payouts --limit 20
Get help for any command:
qudag-exchange-cli --help
qudag-exchange-cli business-plan --help
qudag-exchange-cli business-plan contributors --help
Licensed under the MIT License. See LICENSE for details.
Part of the QuDAG quantum-resistant distributed ledger ecosystem.