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>
11 lines
612 B
JavaScript
11 lines
612 B
JavaScript
/**
|
|
* Redirect target for the live crypto-shim loader (scripts/crypto-shim-hook.mjs).
|
|
* Re-exports the noble-backed shim under libauth's crypto-instances export
|
|
* shape, and trips a global marker so the live proof can assert at runtime that
|
|
* the WASM module really was bypassed (not merely that signing happened to
|
|
* work). Kept out of the production shim (src/crypto/*) so the marker never
|
|
* ships in a shell bundle.
|
|
*/
|
|
globalThis.__DEVIANT_NOBLE_SHIM_ACTIVE__ = (globalThis.__DEVIANT_NOBLE_SHIM_ACTIVE__ ?? 0) + 1;
|
|
|
|
export { sha1, sha256, sha512, ripemd160, secp256k1 } from '../dist/crypto/index.js';
|