Deviant BCH wallet — CashTokens + covenants (Katalogos v1 · chipnet)
Two mobile-layout issues surfaced on a 375-wide screen:
1. View title "Potidaea · Swap" wrapped to two lines inside its 98-px
topbar slot. The sidebar rail already highlights the active view,
so the topbar title is duplicated information — hidden on phones
via `.topbar .view-title { display: none }` inside the 560-px
media query, and the topbar's justify-content is set to flex-end
so the network badge + wallet chip cluster on the right.
2. Wallet chip content wrapped inside its 167-px width. The chip
tries to render dot + address + BCH amount + mode badge (LOCAL /
WC / DEV) + chevron — the address is already hidden on mobile,
but the "local" badge (43 px) plus the BCH amount plus punctuation
still overflowed and stacked vertically. Fix: hide
`.wc-mode-badge` on phones, add `white-space: nowrap` on the chip
and its inner <b>, and tighten padding to 6/9. The chip now reads
as a single-line "● 0.2899 BCH ▾" pill (134 × 28 px).
Verified live at 375×812:
topbar height → 49 px (was 81 px with wrapped title)
view-title display → none
mode-badge display → none
wallet chip → 134×28 px, BCH label single line (14 px tall)
horizontal overflow → none
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
||
|---|---|---|
| .claude | ||
| brand | ||
| contracts | ||
| design | ||
| docs | ||
| KnowledgeBase | ||
| Parameters | ||
| public | ||
| scripts | ||
| services | ||
| shells | ||
| site/deviant | ||
| snapshots | ||
| spike | ||
| src | ||
| telegram-orderbook | ||
| test | ||
| wiki | ||
| .calibration-sweep.json | ||
| .catalytic-sweep.json | ||
| .env.example | ||
| .gitignore | ||
| .kac-extract.txt | ||
| .sim-athenae.json | ||
| adaptive-data.json | ||
| bch-history.json | ||
| bch-market.json | ||
| BCH_Token_Economy_Concept_Paper.md | ||
| bch_wallet_architecture.svg | ||
| CLAUDE.md | ||
| deviant_technical_spec_v2.7.md | ||
| package-lock.json | ||
| package.json | ||
| project-context.md | ||
| README.md | ||
| tsconfig.json | ||
| usdm-historical.json | ||
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)
- Protocol swap mechanism — most novel claim, needs validation first.
- CashScript enforcement on mainnet — not just theoretical verification.
- tokenId correlation across A/B tiers — edge cases expected.
See wiki/testing-strategy.md for the staged regtest → chipnet → mainnet plan.