Deviant BCH wallet — CashTokens + covenants (Katalogos v1 · chipnet)
Find a file
walerikus 995fc6c8a7 design: ASM/DEX swap taxonomy docs + interactive mockup
Add Parameters/ASM DEX/ — the 2×2 swap taxonomy (counterparty × chain):
- README: ASM (single-party, zero counterparty) vs DEX (P2P); automation
  ladder (CLOB/AMM same species, ASM off-ladder); exchange = function, not
  a P2P market.
- ASM-Orbital-Swap-native, ASM-Multichain, DEX-native-Order-book,
  DEX-Multichain-Atomic-Swaps — one doc per cell.
- ASM-Multichain: source-chain qualification (VM-script vs Monero fallback),
  wrapped-IOU source-chain prefix marker (εUSDT / τUSDT), reverse unwrap
  (burn→unlock), and three-tier trust model (custodial vs oracle vs trustless).

Add design/mockups/bch-dex.html — interactive, testable mockup of all four
cells: ASM Orbital Swap (FIATm/MBA types, size-independent rate), ASM
Multichain Swap (ETH/USDT/USDC, ε prefix badge, Wrap⇄Unwrap flip), DEX order
book (CLOB + two-sided AMM LP), DEX atomic swap (HTLC stepper).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 18:22:09 +02:00
contracts refactor: retire legacy OP_RETURN-era swap files 2026-06-13 21:20:40 +02:00
design design: ASM/DEX swap taxonomy docs + interactive mockup 2026-06-21 18:22:09 +02:00
KnowledgeBase chore: checkpoint working tree — shell Tier-B retirement + accumulated WIP 2026-06-17 01:01:37 +02:00
Parameters design: ASM/DEX swap taxonomy docs + interactive mockup 2026-06-21 18:22:09 +02:00
public feat(onramp): SideShift Tier-3 in-wallet shift (ADR-0036 amendment) 2026-06-09 20:57:31 +02:00
scripts chore: checkpoint working tree — shell Tier-B retirement + accumulated WIP 2026-06-17 01:01:37 +02:00
shells chore: checkpoint working tree — shell Tier-B retirement + accumulated WIP 2026-06-17 01:01:37 +02:00
snapshots chore: checkpoint working tree — shell Tier-B retirement + accumulated WIP 2026-06-17 01:01:37 +02:00
spike chore: checkpoint working tree — shell Tier-B retirement + accumulated WIP 2026-06-17 01:01:37 +02:00
src docs: repoint stale references to renamed FIATm design record 2026-06-17 02:10:36 +02:00
test refactor: retire legacy OP_RETURN-era swap files 2026-06-13 21:20:40 +02:00
wiki docs: repoint stale references to renamed FIATm design record 2026-06-17 02:10:36 +02:00
.calibration-sweep.json chore: checkpoint working tree — shell Tier-B retirement + accumulated WIP 2026-06-17 01:01:37 +02:00
.catalytic-sweep.json chore: checkpoint working tree — shell Tier-B retirement + accumulated WIP 2026-06-17 01:01:37 +02:00
.env.example feat(onramp): SideShift Tier-3 in-wallet shift (ADR-0036 amendment) 2026-06-09 20:57:31 +02:00
.gitignore chore: checkpoint working tree — shell Tier-B retirement + accumulated WIP 2026-06-17 01:01:37 +02:00
.kac-extract.txt chore: initial project baseline — full Deviant codebase under version control 2026-06-13 20:38:07 +02:00
.sim-athenae.json chore: initial project baseline — full Deviant codebase under version control 2026-06-13 20:38:07 +02:00
adaptive-data.json chore: checkpoint working tree — shell Tier-B retirement + accumulated WIP 2026-06-17 01:01:37 +02:00
bch-history.json chore: checkpoint working tree — shell Tier-B retirement + accumulated WIP 2026-06-17 01:01:37 +02:00
bch-market.json chore: checkpoint working tree — shell Tier-B retirement + accumulated WIP 2026-06-17 01:01:37 +02:00
BCH_Token_Economy_Concept_Paper.md chore: initial project baseline — full Deviant codebase under version control 2026-06-13 20:38:07 +02:00
bch_wallet_architecture.svg chore: initial project baseline — full Deviant codebase under version control 2026-06-13 20:38:07 +02:00
CLAUDE.md chore: initial project baseline — full Deviant codebase under version control 2026-06-13 20:38:07 +02:00
deviant_technical_spec_v2.7.md chore: initial project baseline — full Deviant codebase under version control 2026-06-13 20:38:07 +02:00
package-lock.json chore: initial project baseline — full Deviant codebase under version control 2026-06-13 20:38:07 +02:00
package.json chore: initial project baseline — full Deviant codebase under version control 2026-06-13 20:38:07 +02:00
project-context.md chore: initial project baseline — full Deviant codebase under version control 2026-06-13 20:38:07 +02:00
README.md chore: initial project baseline — full Deviant codebase under version control 2026-06-13 20:38:07 +02:00
tsconfig.json chore: initial project baseline — full Deviant codebase under version control 2026-06-13 20:38:07 +02:00
usdm-historical.json chore: checkpoint working tree — shell Tier-B retirement + accumulated WIP 2026-06-17 01:01:37 +02:00

Deviant

BCH two-tier token economy platform. Pre-implementation. See BCH_Token_Economy_Concept_Paper.md for the full design.

Status

Bootstrap snapshot — protocol swap mechanism is the validation target.

Project map

Path Purpose
BCH_Token_Economy_Concept_Paper.md Architecture spec, all [PROPOSED] claims
CLAUDE.md Working agreement for Claude sessions
src/ TypeScript wallet + token logic
contracts/ CashScript source for Architecture A contracts
test/ Unit tests (regtest) + integration plan (chipnet, mainnet)
scripts/ Code-scan, snapshot, compile helpers
wiki/ Living docs: architecture, decisions, testing strategy, code map
snapshots/ Numbered progress snapshots

Quickstart

npm install
npm run compile:contracts   # produces artifacts from contracts/*.cash
npm run test:regtest        # runs regtest suite
npm run scan                # regenerates wiki/code-map.md
npm run snapshot            # appends a new snapshot

Build priorities (active)

  1. Protocol swap mechanism — most novel claim, needs validation first.
  2. CashScript enforcement on mainnet — not just theoretical verification.
  3. tokenId correlation across A/B tiers — edge cases expected.

See wiki/testing-strategy.md for the staged regtest → chipnet → mainnet plan.