[WIKI] nexus market online Technical
Nexus Market Technical Documentation
Complete nexus market online technical specifications, API endpoints, escrow protocol details, PGP 2FA implementation, XMR wallet integration, vendor dashboard features. January 2026 architecture.
/technical index
nexus-api:~$
curl -X POST /api/v2/escrow/init
pgp-auth:~$
gpg --clearsign /tmp/2fa-challenge
xmr-wallet:~$
multisig 2-of-3 escrow.init
[01] System Architecture
nexus market online Infrastructure
Tech Stack
- Node.js v20 + Express
- PostgreSQL 16 (encrypted)
- Redis 7 (session cache)
- Tor hidden service v3
- Rate limiting: 10req/min
Load Balancing
- 4 onion endpoints
- Geo-distributed relays
- CDN-free static assets
- Connection pooling
- 99.9% uptime SLA
Security Layers
- PGP 2FA mandatory
- XMR multisig escrow
- Tor-only access
- LUKS disk encryption
- Fail2ban + iptables
[02] API Documentation
nexus market online REST API v2
Authentication
POST /api/v2/auth/login
Content-Type: application/json
{
"username": "user",
"pgp_signature": "-----BEGIN PGP..."
}
Content-Type: application/json
{
"username": "user",
"pgp_signature": "-----BEGIN PGP..."
}
Headers: X-PGP-Fingerprint: B59D3C5F...
Listings API
GET /api/v2/listings?category=drugs&min_rating=4.5&limit=50
Response: {
"listings": [15,247],
"pagination": {...}
}
Response: {
"listings": [15,247],
"pagination": {...}
}
| Endpoint | Method | Rate Limit | Auth |
|---|---|---|---|
| /api/v2/auth/login | POST | 5/min | PGP 2FA |
| /api/v2/listings | GET | 30/min | Optional |
| /api/v2/escrow/init | POST | 10/hour | Required |
[03] XMR Escrow Protocol
Multisig 2-of-3 Escrow System
Escrow Flow
- Buyer → POST /api/v2/escrow/init
- Generate 2-of-3 multisig
- Buyer deposit → 6 confirms
- Vendor ships → FE window
- 2-of-3 signatures → release
Wallet Addresses
- Deposit: Fresh subaddress
- Escrow: Multisig 2-of-3
- Minimum: 0.001 XMR
- Confirmations: 6 blocks
- Fee: 0.0001 XMR
Dispute Resolution
- 7-day FE window
- PGP-signed evidence
- Market 2-of-3 arbiter
- 50% dispute fee
- Appeal: PGP moderator
[04] PGP 2FA Implementation
4096-bit RSA Clearsign Protocol
Challenge Format
2FA Challenge v2
Timestamp: 2026-01-13T12:00:00Z
UserID: abc123xyz
Nonce: 7f8e9d4c2b1a
----- END CHALLENGE -----
Timestamp: 2026-01-13T12:00:00Z
UserID: abc123xyz
Nonce: 7f8e9d4c2b1a
----- END CHALLENGE -----
gpg --clearsign challenge.txt → paste signature
Key Requirements
- Primary: RSA 4096-bit
- Subkey: 4096-bit signing
- Expiration: ≤ 1 year
- Verification: GPG fingerprint
- Timeout: 30 seconds
[05] Vendor Dashboard
Advanced Vendor Features
Analytics
- Real-time sales dashboard
- Order completion rate
- Dispute statistics
- Buyer PGP contacts
- Escrow balance tracker
Bulk Tools
- Bulk listing import (CSV)
- Auto PGP encryption
- Shipment tracking
- Message templates
- Price auto-adjust
Automation
- Auto FE (configurable)
- Low-stock alerts
- Dispute templates
- PGP key rotation
- API webhook support
[SPECS] Feature Matrix
Nexus Market vs Competitors
| Feature | Nexus | Other Markets |
|---|---|---|
| PGP 2FA | 4096-bit | ❌ None / Weak |
| XMR Escrow | 2-of-3 | ⚠️ Centralized |
| Vendor Analytics | Real-time | ❌ Basic |
| API Access | v2 Full | ❌ Limited |