fractal-pqc 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # fractal-pqc
2
2
 
3
+ > ⚠️ **Reference toolkit — NOT for production custody of real funds (yet).** It is
4
+ > **unaudited**, **key-path-only**, proven on **signet (not mainnet)**, and its quantum
5
+ > guarantee depends on a first-seen anchor registry that is still on the roadmap. Use it
6
+ > for **evaluation, testnet, education, and building on** — do **not** secure real Bitcoin
7
+ > with it until it is audited and 1.0. We say precisely what it is.
8
+
3
9
  A small, **runnable, test-vector-verified** reference for quantum-safe migration of a
4
10
  Bitcoin-style key. It binds a classical **secp256k1 / Taproot** key to a post-quantum
5
11
  **ML-DSA-65 (NIST FIPS-204)** key and requires a post-quantum signature to authorize —
@@ -58,8 +64,7 @@ Everything below is exercised by `npm test` with real keys — **46/46 checks pa
58
64
  Run it:
59
65
 
60
66
  ```bash
61
- cd integrations/pqc-migration-kit
62
- npm install # or reuse the workspace's @noble packages
67
+ npm install
63
68
  npm test
64
69
  ```
65
70
 
package/bin/cli.mjs CHANGED
@@ -11,7 +11,7 @@
11
11
  // fractal-pqc taproot-commit --key <file> Create a Taproot->PQC recovery commitment.
12
12
  // fractal-pqc taproot-verify <commitment.json>
13
13
  // fractal-pqc verify-vector Check the official BIP-340 test vector.
14
- // fractal-pqc selftest Run the full real test suite (19 checks).
14
+ // fractal-pqc selftest Run the full real test suite (46 checks).
15
15
  //
16
16
  // SECURITY: keys printed by `keygen` are for testnet / experimentation. Do NOT paste a
17
17
  // production Bitcoin secret key into any tool; this kit is a reference, not a signer HSM.
@@ -213,7 +213,7 @@ Usage:
213
213
  fractal-pqc send-testnet --key <taproot> --to <addr> --amount <sats> [--fee-rate N] [--network tb|signet] [--broadcast]
214
214
  Build+sign a P2TR spend; dry-run unless --broadcast
215
215
  fractal-pqc verify-vector Check the official BIP-340 test vector
216
- fractal-pqc selftest Run the full real test suite (19 checks)
216
+ fractal-pqc selftest Run the full real test suite (46 checks)
217
217
 
218
218
  Docs: integrations/pqc-migration-kit/README.md`);
219
219
  process.exit(cmd ? 1 : 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fractal-pqc",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "Runnable reference for quantum-safe migration of a Bitcoin-style key: bind secp256k1/Taproot to ML-DSA-65 (FIPS-204), derive P2TR addresses, build+sign BIP-341 key-path spends (official-vector-verified), and broadcast on testnet. Real primitives, honest scope.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -8,8 +8,10 @@
8
8
  "homepage": "https://fractalai.net.co",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/fractalai/fractal-ai",
12
- "directory": "integrations/pqc-migration-kit"
11
+ "url": "git+https://github.com/johnInarti/fractal-pqc.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/johnInarti/fractal-pqc/issues"
13
15
  },
14
16
  "engines": {
15
17
  "node": ">=18"
@@ -21,7 +23,7 @@
21
23
  "./bitcoin": "./src/bitcoin.mjs"
22
24
  },
23
25
  "bin": {
24
- "fractal-pqc": "./bin/cli.mjs"
26
+ "fractal-pqc": "bin/cli.mjs"
25
27
  },
26
28
  "files": [
27
29
  "src",
package/src/index.mjs CHANGED
@@ -56,4 +56,4 @@ export {
56
56
  parsePsbt, signPsbtTaprootKeyPath, finalizePsbt,
57
57
  } from "./psbt.mjs";
58
58
 
59
- export const VERSION = "0.3.1";
59
+ export const VERSION = "0.3.3";