08 — Cryptocurrency
CEO Summary
Cryptocurrency is a key differentiator. Non-custodial DOGE, LTC, BTC — businesses retain full control of keys. Business value: Competitive edge; attracts crypto-native merchants. Key metrics: Crypto transaction volume, wallet health. If this breaks: Crypto tender fails; existing crypto balances unaffected (keys held by merchant).
Overview
Non-custodial: Dogecoin (DOGE), Litecoin (LTC), Bitcoin (BTC). Businesses retain full control of keys.
Architecture
- Wallet services — dogeWallet.service.js, ltcClient.js
- Price feeds — dogePrice.js, ltcPrice.js, btcPrice.js
- Webhooks — Wallet notify when payment received
Routes
doge.routes, ltc.routes, crypto-config, crypto-wallet, crypto-prices, rates, webhooks.doge, webhooks.ltc
POS Crypto Tender
POST /api/pos/carts/:id/tender/crypto — Creates crypto invoice; webhook confirms payment → cart finalizes.
Models
cryptoConfig, cryptoInvoice, wallet, walletAccount, walletAddress