4 Commits
Author SHA1 Message Date
Mikael BergandPaperclip b9f9aebd7b feat(watcher): BCH xpub transaction ingestion — watch address, capture on confirmation
- watcher.ts: derives BCH P2PKH CashAddr addresses from BIP44 account xpub
  (coin type 145, external chain m/0/i); polls Blockchair for confirmed txs;
  captures txid, amountBCH, blockHash, blockTimestamp, address
- demo.ts: end-to-end demo — generates test xpub from BIP44 seed, derives
  5 addresses, fetches and captures a real mainnet transaction (verified live)
- index.ts: CLI entry point for the live watcher
- Fix block_hash: Blockchair BCH omits block_hash inline; now fetched via
  /dashboards/block/{id} with in-process cache to avoid duplicate lookups
- Fix ESM imports: .ts extensions required for node --experimental-strip-types
- package.json: add npm run watch script
- README: add xpub watcher section with demo output and API reference

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-17 16:30:02 +00:00
Mikael BergandPaperclip 833208d896 feat(price-oracle): update package.json with price-oracle-demo script
- Add npm run price-oracle-demo script for BCH price oracle demo
- Bump typescript dev dependency

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-17 16:25:25 +00:00
Mikael BergandPaperclip 970f1f1395 docs: revise infra recommendation — self-hosted own hardware, not cloud VPS
Board clarified all silicon should run on own infrastructure, not cloud/VPS.
Updated node-vs-api.md and infra-cost.md to reflect:
- Production recommendation: BCHN + Fulcrum on own hardware (~$0-7/month marginal)
- Hardware requirements: 4 cores, 8 GB RAM, 500 GB SSD minimum
- BCH bandwidth is ~2-5 GB/month (much lighter than BTC)
- Cloud/VPS figures retained as reference-only fallback ceiling

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-17 16:23:31 +00:00
Mikael BergandPaperclip a9dbfacce2 feat: initial spike repo — node/API eval, infra cost, price oracle
- README.md: spike goals and repo structure
- docs/node-vs-api.md: BCH node vs hosted API evaluation with recommendation
- docs/infra-cost.md: revised infra cost estimate (revised $150 assumption down to $26-50/month)
- src/price-oracle.ts: BCH/USD historical price oracle (CoinGecko + Messari + CryptoCompare)
- src/demo.ts: multi-source variance comparison demo

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-05-17 16:18:30 +00:00