a9dbfacce2a8e334ab55224f0b6891c978eb1064
- 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>
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:
- BCH node / API access — confirm a reliable, cost-effective path to on-chain data
- Transaction ingestion — watch an xpub address for incoming BCH transactions
- 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
Description
BCH xpub transaction ingestion spike — watch address, capture on confirmation
1.7 MiB
Languages
TypeScript
100%