chore: cleanup unused code, update docs for payment integration

This commit is contained in:
2026-02-06 16:23:23 +01:00
parent 52634f84bf
commit 3c7d475d36
7 changed files with 97 additions and 108 deletions

View File

@@ -67,7 +67,8 @@ dgray.io ermöglicht es Nutzern, Kleinanzeigen zu schalten und Waren/Dienstleist
### Services
- **Directus** Backend: `api.dgray.io` (Docker)
- **PoW Captcha**: `pow.dgray.io` (PHP, HMAC-signierte Challenges)
- **PoW Captcha + Payment Proxy**: `pow.dgray.io` (PHP, HMAC-signierte Challenges, BTCPay Proxy + Webhook)
- **BTCPay Server**: `pay.xmr.rocks` (Monero-Zahlungen, Trocador-Plugin)
- **TweetNaCl**: Self-hosted in `js/vendor/` (E2E-Verschlüsselung)
### Infrastruktur (geplant)
@@ -152,7 +153,8 @@ dgray/
│ │ ├── conversations.js# Zero-Knowledge Chat
│ │ ├── crypto.js # NaCl Encryption (box.before + secretbox)
│ │ ├── currency.js # XMR/Fiat Umrechnung
│ │ ── pow-captcha.js # PoW Captcha (Server-first, lokaler Fallback)
│ │ ── pow-captcha.js # PoW Captcha (Server-first, lokaler Fallback)
│ │ └── btcpay.js # BTCPay Server Integration (Invoice, Checkout)
│ ├── vendor/
│ │ ├── nacl-fast.min.js # TweetNaCl (self-hosted)
│ │ ├── nacl-util.min.js # TweetNaCl Utils
@@ -218,6 +220,9 @@ dgray/
### Phase 4: Payments
- [x] XMR-Kursabfrage API (CoinGecko)
- [x] Fiat ↔ XMR Umrechnung (Dual-Preis-Anzeige)
- [x] BTCPay Server Integration (`pay.xmr.rocks`, Proxy auf `pow.dgray.io`)
- [x] Listing-Gebühr: 1 EUR/USD/CHF/GBP (200 JPY) via Monero
- [x] Webhook für Auto-Publish nach Blockchain-Confirmation
- [ ] Wallet-Anbindung (monero-wallet-rpc)
- [ ] MultiSig Escrow