Commit graph

2 commits

Author SHA1 Message Date
walerikus
e7f867f263 refactor: retire legacy OP_RETURN-era swap files
Remove the pre-CashTokens swap stack superseded by the native-CashTokens
path (ADR-0006/0007): src/swapMath.ts, src/swapBuilder.ts,
contracts/OpenMintToken.cash, and their tests. De-reference the remaining
consumers (src/index.ts re-exports, src/oracleUsdm.ts, scripts/chipnet-swap.mjs
+ classify-tests.mjs comments) and update the "known divergence" note in
wiki/index.md (this was its last outstanding item). Snapshot 0154.

Build clean; full suite 489 pass / 0 fail.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 21:20:40 +02:00
walerikus
518a3ce174 chore: initial project baseline — full Deviant codebase under version control
Brings the whole project into git (previously only the on-ramp feature and
a few parallel files were tracked). Includes: wallet core (src/), CashScript
contracts/, the Capacitor shell (shells/), scripts/, tests, and the docs
corpus (wiki/, snapshots/, Parameters/, Archive/, KnowledgeBase text).

Excluded via .gitignore: node_modules/, dist/, .env (secrets), testnet WIF
key files (.chipnet-*.json, devWallets.ts), KnowledgeBase/RAW media (~9.6 GB),
transcripts/ (session logs), and machine-local config (.claude/*.local,
*.lock). Secret-scanned before commit — no credentials in the tree.

Note: src/swapMath.ts, src/swapBuilder.ts, contracts/OpenMintToken.cash are
legacy (OP_RETURN era) but still imported; committed as-is, flagged for a
separate removal once de-referenced.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-13 20:38:07 +02:00