Files
extension/tsconfig.base.json
rob thijssen 29033e8bb8
Some checks failed
Lock Threads / lock (push) Has been cancelled
feat: post-quantum only; no derivation, no MetaMask shim, no Ethereum addresses
Moves to the quantus.3 forks of keyring, util-crypto, networks and ui-keyring,
which hold only ML-DSA keys and have deleted the classical primitives
(quantus/common#6). What in the extension depended on them goes too:

- the derive-from-parent flow (Popup/Derive, pri(derivation.*), the
  AccountsContext master, the menu entries): ML-DSA pairs have no //hard/soft
  derivation, and Quantus derives every account from the mnemonic instead
- extension-compat-metamask, which injected Ethereum accounts
- the Ethereum branches in Address and the //m/44'/60' suri suffix
- canDerive and nextDerivationPath, now unused

Restoring a JSON backup of a classical key shows the keyring's reason ("ed25519
keys are not quantum-safe and cannot be held here...") rather than "Invalid
Json file", for single and batch files.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012uDUodEcRbBwNRi3UCmw8f
2026-09-16 21:28:01 +03:00

30 lines
1.5 KiB
JSON

{
"extends": "@polkadot/dev/config/tsconfig.json",
"compilerOptions": {
"composite": true,
/* FIXME Dropzone is problematic with nodenext resolution */
"module": "ESNext",
"moduleResolution": "Bundler",
"paths": {
"@polkadot/extension": ["extension/src/index.ts"],
"@polkadot/extension/*": ["extension/src/*.ts"],
"@polkadot/extension-base": ["extension-base/src/index.ts"],
"@polkadot/extension-base/background": ["extension-base/src/background/index.ts"],
"@polkadot/extension-base/background/types": ["extension-base/src/background/types.ts"],
"@polkadot/extension-base/page": ["extension-base/src/page/index.ts"],
"@polkadot/extension-base/stores": ["extension-base/src/stores/index.ts"],
"@polkadot/extension-base/utils": ["extension-base/src/utils/index.ts"],
"@polkadot/extension-base/*": ["extension-base/src/*.ts"],
"@polkadot/extension-chains": ["extension-chains/src/index.ts"],
"@polkadot/extension-chains/*": ["extension-chains/src/*.ts"],
"@polkadot/extension-dapp": ["extension-dapp/src/index.ts"],
"@polkadot/extension-dapp/*": ["extension-dapp/src/*.ts"],
"@polkadot/extension-inject": ["extension-inject/src/index.ts"],
"@polkadot/extension-inject/*": ["extension-inject/src/*.ts"],
"@polkadot/extension-mocks/*": ["extension-mocks/src/*.ts"],
"@polkadot/extension-ui": ["extension-ui/src/index.ts"],
"@polkadot/extension-ui/*": ["extension-ui/src/*.ts"]
}
}
}