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

using-cash-spike

Engineering spike for using.cash — a Bitcoin Cash (BCH) payment platform.

Spike Goals

Prove the following within a 2-week time-box:

  1. BCH node / API access — confirm a reliable, cost-effective path to on-chain data
  2. Transaction ingestion — watch an xpub address for incoming BCH transactions
  3. Historical price oracle — query BCH/USD spot price at historical block timestamps

Repository Structure

using-cash-spike/
├── README.md              # this file
├── docs/
│   ├── node-vs-api.md     # BCH node vs hosted API evaluation + recommendation
│   └── infra-cost.md      # Monthly infrastructure cost estimate
└── src/
    ├── price-oracle.ts    # Price oracle prototype (CoinGecko / Messari / CryptoCompare)
    └── demo.ts            # Integration demo

Quick Start

node --version  # requires Node >=22
npm install
npm run price-oracle

Findings

See docs/node-vs-api.md for the node vs API evaluation. See docs/infra-cost.md for the monthly cost estimate.

Parent Issues

  • Spike task: PRO-60 (Execute BCH engineering spike)
  • Board approval: PRO-19
S
Description
BCH xpub transaction ingestion spike — watch address, capture on confirmation
Readme
1.7 MiB
Languages
TypeScript 100%