Production operations for Dusty crypto wallet. Covers deployment, monitoring, the 10% revenue model, employee/agent management, and integration with Performance Supply Depot LLC business operations.
Manage Dusty in production — from deployment to revenue tracking to team coordination.
┌─────────────────────────────────────────────────────────────┐
│ Performance Supply Depot LLC │
│ (Parent/Cash Cow) │
└──────────────────┬──────────────────────────────────────────┘
│ Funds VPS & Operations
▼
┌─────────────────────────────────────────────────────────────┐
│ Dusty │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ Employees │────▶│ Free Wallets │────▶│ 10% Fee │ │
│ │ (Internal) │ │ + Tools │ │ (If dust │ │
│ └──────────────┘ └──────────────┘ │ collected) │ │
│ └──────┬──────┘ │
│ │ │
└─────────────────────────────────────────────────────┼─────────┘
▼
┌──────────────┐
│ Revenue │
│ Bucket │
└──────────────┘
Structure:
Implementation:
// Example revenue sharing calculation
function calculateRevenueShare(dustValueUSD) {
const platformFee = dustValueUSD * 0.10; // 10% to Dusty
const agentKeeps = dustValueUSD * 0.90; // 90% to user
return {
grossDust: dustValueUSD,
platformFee: platformFee,
netToAgent: agentKeeps,
timestamp: new Date().toISOString()
};
}
Tracking:
# For each new employee/agent
1. Create Dusty wallet
2. Add to internal tracking sheet
3. Grant access to exchanges (if needed)
4. Set up API keys (securely)
5. Document in employee agreements:
- Free wallet benefit
- 10% fee on dust consolidated
- Confidentiality around user data
# When employee leaves
1. Revoke exchange API keys
2. Archive wallet (don't delete - they own keys)
3. Export transaction history
4. Calculate any remaining fees owed
5. Remove from active monitoring
# Production prerequisites
export NODE_ENV=production
export DUSTY_DB_PATH=/var/lib/dusty/db.sqlite
export DUSTY_LOG_LEVEL=info
export DUSTY_FEE_PERCENT=10
# VPS requirements
RAM: 2GB minimum, 4GB recommended
Disk: 20GB+ (for logs and DB)
Network: Stable, low-latency to exchange APIs
# Pre-deploy
[ ] All tests passing
[ ] Security audit complete
[ ] Backup strategy tested
[ ] Monitoring configured
[ ] Rollback plan ready
# Deploy
[ ] Stop services gracefully
[ ] Backup database
[ ] Deploy new code
[ ] Run migrations
[ ] Start services
[ ] Health checks pass
[ ] Monitor for 30 minutes
Key Metrics:
Alerts:
Critical:
- Exchange API down > 5 minutes
- VPS CPU > 90% for 10 minutes
- Database errors
- Failed dust consolidations
Warning:
- API latency > 5 seconds
- Disk usage > 80%
- Unusual transaction patterns
Performance Supply Depot (Square) Revenue
│
▼
Business Account
│
┌───────────┴───────────┐
▼ ▼
Operating Costs VPS Payment (Dusty)
(Inventory, etc) │
┌───────┴───────┐
▼ ▼
Infrastructure Emergency Fund
(2 years paid) (6 months runway)
Opportunities:
# Check Dusty status
dusty status
# View revenue dashboard
dusty revenue --period=month
# List all employee wallets
dusty agents --list
# Check exchange health
dusty exchanges health
# Backup database
dusty backup --destination=s3://dusty-backups
# Rotate API keys (security)
dusty rotate-keys --agent=<employee_id>
# View logs
dusty logs --tail --service=core-agent
# Emergency stop
dusty emergency-stop
Daily:
Weekly:
Monthly:
Incident Response:
1. Identify breach scope
2. Revoke compromised credentials
3. Isolate affected systems
4. Notify affected agents/employees
5. Document everything
6. Post-mortem and fixes
7. Legal review (if user funds involved)
When to Scale:
1000 daily active agents
$10K monthly dust volume
Scaling Options:
Track These:
{
"agents": {
"total": 0,
"active_30d": 0,
"new_this_month": 0
},
"dust_consolidated": {
"monthly_usd": 0,
"all_time_usd": 0,
"top_exchanges": {}
},
"revenue": {
"10_percent_fees_usd": 0,
"projected_annual": 0,
"collection_rate": 0
},
"system": {
"uptime_percent": 99.9,
"api_latency_ms": 0,
"error_rate": 0
}
}
Exchange API Failures:
# Test each exchange
curl -X GET "https://api.binance.com/api/v3/ping"
curl -X GET "https://api.kucoin.com/api/v1/timestamp"
# Check Dusty's exchange health
dusty exchanges health --verbose
Database Issues:
# Check integrity
sqlite3 $DUSTY_DB_PATH "PRAGMA integrity_check;"
# Vacuum for performance
sqlite3 $DUSTY_DB_PATH "VACUUM;"
# Backup before repair
cp $DUSTY_DB_PATH $DUSTY_DB_PATH.bak.$(date +%Y%m%d)
VPS Full Disk:
# Clean logs
find /var/log -name "*.log.*" -mtime +7 -delete
# Clean old backups
find /backup -name "*.tar.gz" -mtime +30 -delete
# Check Dusty logs
journalctl --vacuum-time=7d
Escalation Path:
Every 3 months: