Snapshot commit rolling up ~255 files of coherent-but-multi-domain in-flight
work that had accumulated on this branch. Split by area:
Contracts + covenants
- New: AsmFxSwap, DeviantOpenMintNBA, DeviantTieredMintOracleFT,
TermCouponVault, UniformReserve, UniformReserveAggregate.
- Verify-artifact refresh (src/verify/artifacts/*.json + canonical.ts).
Wallet + shell (shells/app + src/wallet)
- App.tsx, MainScreen, ArtemisionScreen, AssetDetail, AgoraScreen,
SettingsScreen, Unlock, TokenImportModal, UniformFiat/DepositPanel,
KatalogosPanel (renamed from PinaxPanel), shell.css.
- src/wallet: wallet.ts, runtime.ts, index.ts. Core registry/chipnetFile.
- Deleted stale hook: useAllDevBalances.ts.
Cross-chain + correspondent (services/correspondent + scripts)
- Correspondent server/bch/config updates for PYUSD Solana, EURC Sepolia,
aggregate reserve flows.
- New scripts: PYUSD roundtrip, EURC onboarding, GMX game loop /
genesis / mint sanity, tiered mint fee, aggregate reserve, product2
shares dividends, product3 t-bond, uniform fiat cell tests.
Telegram order-book (P2PExchange bot)
- db.ts, index.ts, en/ru locales — updates upstream from the extracted
standalone repo at D:/Dev/P2PExchange.
Docs — Parameters (specs), wiki, snapshots, design mockups
- Parameters: FIATm/MBA_Shares/Potidaea/Anthemus refinements +
ASM_CrossChain/DebitCredit + UniformFiat + Anthemus DEX MVP prompt +
Artemision + Athenae Politeia + Philosophy + SSHkeyServer runbook +
new dApp/{Artemision,Katalogos,Pinax,Pari_escrow,SURFACES}.
- wiki: cross-chain, games-tote, glossary, governance/voting-systems,
infra, wallet, wallet-ui-design, decisions (ADR log).
- snapshots: catch-up entries and INDEX regeneration.
- design: mockups refreshed (agora, asset-detail, assets-tab, potidaea)
+ Potidaea assets + tote deploy notes.
Housekeeping
- .gitignore: exclude the new root test/session state files
(.sol-vault-keys.json, .football-tote-state.json,
.tote-platform-state.json, .redeem-roundtrip-state.json,
.eurc-onboard-state.json — some contain oracle privkeys / vault
secretKeyBase58; NEVER commit) + the .usdm-historical-chart.html
chart output + MS Office `~$*` lock files + scripts/bundle-surfaces
`build/` output. Also add scripts/bundle-surfaces.mjs.
- CLAUDE.md, WALLET-COORDINATION.md, snapshots/INDEX.md, design/README.md
refreshed.
- package.json / package-lock.json bumps.
Verified: sensitive files at repo root confirmed ignored (git check-ignore
each). No `.env`, no raw WIF/xprv/mnemonic/secretKey/oraclePriv strings in
the staged diff. MS Word autosave file (`Parameters/Philosophy/~$*.docx`)
excluded and gitignored.
The WizardConnect responder work landed separately in the previous commit
(6987591); this is everything else that had accumulated alongside it.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
130 lines
7.2 KiB
JSON
130 lines
7.2 KiB
JSON
{
|
|
"name": "deviant",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"description": "BCH two-tier token economy platform — protocol swap, CashScript enforcement, hybrid A/B architecture. Pre-implementation per concept paper v0.1.",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"test": "node --test --import tsx test/**/*.test.ts",
|
|
"test:regtest": "REGTEST=1 node --test --import tsx test/regtest/**/*.test.ts",
|
|
"regtest:dsweep": "node scripts/regtest-doublespend-sweep.mjs",
|
|
"scan": "node scripts/scan-code.mjs",
|
|
"snapshot": "node scripts/snapshot.mjs",
|
|
"compile:contracts": "node scripts/compile-contracts.mjs",
|
|
"chipnet:setup": "node scripts/chipnet-setup.mjs",
|
|
"chipnet:genesis": "node scripts/chipnet-genesis.mjs",
|
|
"chipnet:mint-a": "node scripts/chipnet-mint-A.mjs",
|
|
"chipnet:swap": "node scripts/chipnet-swap.mjs",
|
|
"chipnet:setup-b": "node scripts/chipnet-setup-b.mjs",
|
|
"chipnet:fund-b": "node scripts/chipnet-fund-b.mjs",
|
|
"chipnet:mint-by-b": "node scripts/chipnet-mint-by-b.mjs",
|
|
"chipnet:setup-c": "node scripts/chipnet-setup-c.mjs",
|
|
"chipnet:setup-d": "node scripts/chipnet-setup-d.mjs",
|
|
"chipnet:genesis-v": "node scripts/chipnet-genesis-vulnerable.mjs",
|
|
"chipnet:attack-drain": "node scripts/chipnet-attack-drain.mjs",
|
|
"chipnet:attack-rogue-nft": "node scripts/chipnet-attack-rogue-nft.mjs",
|
|
"chipnet:attack-negatives": "node scripts/chipnet-attack-negatives.mjs",
|
|
"chipnet:asm-genesis": "node scripts/chipnet-asm-genesis.mjs",
|
|
"chipnet:asm-claim": "node scripts/chipnet-asm-claim.mjs",
|
|
"chipnet:asm-send": "node scripts/chipnet-asm-send.mjs",
|
|
"chipnet:asm-batch": "node scripts/chipnet-asm-batch.mjs",
|
|
"chipnet:asm2-genesis": "node scripts/chipnet-asm2-genesis.mjs",
|
|
"chipnet:asm-swap": "node scripts/chipnet-asm-swap.mjs",
|
|
"chipnet:asm-bulk-swap": "node scripts/chipnet-asm-bulk-swap.mjs",
|
|
"chipnet:cap-genesis": "node scripts/chipnet-cap-genesis.mjs",
|
|
"chipnet:rogue-donate": "node scripts/chipnet-rogue-donate.mjs",
|
|
"chipnet:t001-genesis": "node scripts/chipnet-t001-genesis.mjs",
|
|
"chipnet:t001-attack": "node scripts/chipnet-t001-attack.mjs",
|
|
"chipnet:t001-verify": "node scripts/chipnet-t001-verify.mjs",
|
|
"chipnet:balances": "node scripts/chipnet-balances.mjs",
|
|
"chipnet:dashboard": "node scripts/dashboard-serve.mjs --port=5182",
|
|
"chipnet:mut-deploy": "node scripts/chipnet-mut-deploy.mjs",
|
|
"chipnet:mut-claim": "node scripts/chipnet-mut-claim.mjs",
|
|
"chipnet:mut-redeem": "node scripts/chipnet-mut-redeem.mjs",
|
|
"chipnet:mut-analyze": "node --import tsx scripts/chipnet-mut-analyze.mjs",
|
|
"chipnet:mut-run": "node scripts/chipnet-mut-run.mjs",
|
|
"chipnet:protocol-bounds": "node scripts/chipnet-protocol-bounds.mjs",
|
|
"chipnet:whitelist-test": "node --import tsx scripts/chipnet-whitelist-test.mjs",
|
|
"chipnet:fee-mutability-test": "node scripts/chipnet-fee-mutability-test.mjs",
|
|
"chipnet:escalating-test": "node --import tsx scripts/chipnet-escalating-test.mjs",
|
|
"chipnet:escalating-50pc": "node scripts/chipnet-escalating-50pc-test.mjs",
|
|
"chipnet:bonding-swap": "node scripts/chipnet-bonding-swap-test.mjs",
|
|
"chipnet:unbacked-swap": "node scripts/chipnet-unbacked-swap-test.mjs",
|
|
"chipnet:zero-zero-swap": "node scripts/chipnet-zero-zero-swap-test.mjs",
|
|
"chipnet:esc-source-swap": "node scripts/chipnet-escalating-source-swap-test.mjs",
|
|
"chipnet:swap-remainder": "node scripts/chipnet-swap-remainder-test.mjs",
|
|
"chipnet:denom-fee": "node scripts/chipnet-denomination-fee-test.mjs",
|
|
"chipnet:redeem-safety": "node scripts/chipnet-redeem-safety-test.mjs",
|
|
"registry:serve": "node --import tsx scripts/registry-serve.mjs",
|
|
"chipnet:anthemus-orderbook": "node scripts/chipnet-anthemus-orderbook.mjs",
|
|
"chipnet:anthemus-amm-v2": "node scripts/chipnet-anthemus-amm-v2.mjs",
|
|
"anthemus:relay": "node services/anthemus-relay/server.mjs",
|
|
"chipnet:lib-balances": "node --import tsx scripts/chipnet-lib-balances.mjs",
|
|
"chipnet:lib-send": "node --import tsx scripts/chipnet-lib-send.mjs",
|
|
"chipnet:lib-swap": "node --import tsx scripts/chipnet-lib-swap.mjs",
|
|
"chipnet:lib-claim": "node --import tsx scripts/chipnet-lib-claim.mjs",
|
|
"deviant": "node --import tsx scripts/deviant.mjs",
|
|
"deviant:web": "node --import tsx scripts/deviant-web.mjs",
|
|
"chipnet:escrow": "node scripts/chipnet-escrow-test.mjs",
|
|
"chipnet:escrow-fee": "node scripts/chipnet-escrow-fee-test.mjs",
|
|
"chipnet:escrow-fee-irregular": "node scripts/chipnet-escrow-fee-irregular-test.mjs",
|
|
"chipnet:escrow-flat": "node scripts/chipnet-escrow-flat-test.mjs",
|
|
"chipnet:che-escrow": "node scripts/chipnet-che-escrow-test.mjs",
|
|
"chipnet:che-escrow-perside": "node scripts/chipnet-che-escrow-perside-test.mjs",
|
|
"chipnet:oracle-markets": "node scripts/chipnet-oracle-markets-test.mjs",
|
|
"chipnet:tote4": "node scripts/chipnet-tote4-test.mjs",
|
|
"chipnet:pari-p2p": "node scripts/chipnet-pari-p2p-test.mjs",
|
|
"chipnet:opentote": "node scripts/chipnet-opentote-test.mjs",
|
|
"chipnet:tote2": "node scripts/chipnet-tote2-test.mjs",
|
|
"chipnet:tote2-mba": "node scripts/chipnet-tote2-mba-test.mjs",
|
|
"chipnet:tote2-rs": "node scripts/chipnet-tote2-rs-test.mjs",
|
|
"chipnet:tote2-rake": "node scripts/chipnet-tote2-rake-test.mjs",
|
|
"chipnet:tote2-mba-rake": "node scripts/chipnet-tote2-mba-rake-test.mjs",
|
|
"chipnet:tote2-k4": "node scripts/chipnet-tote2-k4-test.mjs",
|
|
"chipnet:clob-bch": "node scripts/chipnet-clob-bch-test.mjs",
|
|
"chipnet:clob-mba": "node scripts/chipnet-clob-mba-test.mjs",
|
|
"chipnet:clob-fungible": "node scripts/chipnet-clob-fungible-test.mjs",
|
|
"chipnet:clob-orders": "node scripts/chipnet-clob-orders-test.mjs",
|
|
"chipnet:clob-amm": "node scripts/chipnet-clob-amm-test.mjs",
|
|
"chipnet:oracle-vault": "node scripts/chipnet-oracle-vault-test.mjs",
|
|
"chipnet:expiring-mba": "node scripts/chipnet-expiring-mba-test.mjs",
|
|
"chipnet:poll": "node scripts/chipnet-poll-test.mjs",
|
|
"chipnet:poll-as-oracle": "node scripts/chipnet-poll-as-oracle-test.mjs",
|
|
"chipnet:tally-as-oracle": "node scripts/chipnet-tally-as-oracle-test.mjs",
|
|
"chipnet:stake-vote": "node scripts/chipnet-stake-vote-test.mjs",
|
|
"chipnet:phase-a": "node scripts/chipnet-phase-a-test.mjs",
|
|
"chipnet:phase-b": "node scripts/chipnet-phase-b-test.mjs",
|
|
"chipnet:phase-c": "node scripts/chipnet-phase-c-test.mjs",
|
|
"chipnet:phase-d": "node scripts/chipnet-phase-d-test.mjs",
|
|
"chipnet:phase-e": "node scripts/chipnet-phase-e-test.mjs",
|
|
"chipnet:endorsement": "node scripts/chipnet-endorsement-test.mjs",
|
|
"chipnet:phase-f": "node scripts/chipnet-phase-f-test.mjs"
|
|
},
|
|
"dependencies": {
|
|
"@bitauth/libauth": "3.1.0-next.8",
|
|
"@noble/curves": "^1.6.0",
|
|
"@noble/hashes": "^1.5.0",
|
|
"@psf/bch-js": "^7.1.14",
|
|
"@solana/spl-token": "^0.4.15",
|
|
"@solana/web3.js": "^1.98.4",
|
|
"bip39": "^3.1.0",
|
|
"bitcoinjs-lib": "^7.0.1",
|
|
"bs58": "^6.0.0",
|
|
"cashscript": "0.12.1",
|
|
"ecpair": "^3.0.1",
|
|
"mainnet-js": "3.1.7",
|
|
"solc": "^0.8.35",
|
|
"tiny-secp256k1": "^2.2.4",
|
|
"tronweb": "^6.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.11.0",
|
|
"cashc": "0.12.1",
|
|
"tsx": "^4.7.0",
|
|
"typescript": "^5.4.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
}
|
|
}
|