@xyo-network/quant-wallet 6.0.7 → 6.0.8

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.
Files changed (2) hide show
  1. package/README.md +4 -2
  2. package/package.json +8 -9
package/README.md CHANGED
@@ -4,7 +4,9 @@ Quantum-resistant HD Wallet that implements `WalletInstance` using **ML-DSA-65**
4
4
 
5
5
  A classical BIP-32/BIP-39 spine (via `ethers.HDNodeWallet`) walks the hierarchy; at every node, BIP-85 derives a deterministic 32-byte seed (`HMAC-SHA512("bip-entropy-from-k", node.privateKey)[0..32]`) that becomes the input to `MlDsa.keygen(seed)`. The result is a deterministic, hierarchical post-quantum identity reproducible from a single BIP-39 mnemonic.
6
6
 
7
- Addresses are prefixed with `qr1_` so the BoundWitness validator dispatches to the ML-DSA verifier registered by `@xyo-network/quant-account`.
7
+ Addresses are **bech32m** strings with the algorithm in the HRP (`qm65` for ML-DSA-65) so the
8
+ BoundWitness validator dispatches to the ML-DSA verifier registered by `@xyo-network/quant-account`.
9
+ See [`@xyo-network/address`](../../core/packages/address) for the full address format and API.
8
10
 
9
11
  ## Usage
10
12
 
@@ -12,7 +14,7 @@ Addresses are prefixed with `qr1_` so the BoundWitness validator dispatches to t
12
14
  import { QuantHDWallet } from '@xyo-network/quant-wallet'
13
15
 
14
16
  const wallet = await QuantHDWallet.fromPhrase('abandon abandon ... abandon abandon about')
15
- console.log(wallet.address) // 'qr1_<40 hex chars>'
17
+ console.log(wallet.address) // 'qm65…' (bech32m, 43 chars)
16
18
  console.log(wallet.algorithm) // 'ml-dsa-65'
17
19
 
18
20
  const child = await wallet.derivePath("m/44'/60'/0'/0/0")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/quant-wallet",
3
- "version": "6.0.7",
3
+ "version": "6.0.8",
4
4
  "description": "Quantum-resistant (ML-DSA-65 / FIPS 204) HD Wallet using BIP-85 entropy derivation for XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -34,10 +34,10 @@
34
34
  "README.md"
35
35
  ],
36
36
  "dependencies": {
37
- "@xyo-network/account-model": "~6.0.7",
38
- "@xyo-network/address": "~6.0.7",
39
- "@xyo-network/wallet-model": "~6.0.7",
40
- "@xyo-network/quant-account": "~6.0.7"
37
+ "@xyo-network/address": "~6.0.8",
38
+ "@xyo-network/account-model": "~6.0.8",
39
+ "@xyo-network/quant-account": "~6.0.8",
40
+ "@xyo-network/wallet-model": "~6.0.8"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@noble/post-quantum": "~0.6.1",
@@ -45,10 +45,9 @@
45
45
  "@opentelemetry/sdk-trace-base": "^2.7.1",
46
46
  "@scure/base": "~2.2.0",
47
47
  "@scure/bip39": "~2.2.0",
48
- "@types/node": "^25.9.1",
49
48
  "@xylabs/sdk-js": "~6.0.6",
50
- "@xylabs/toolchain": "~8.1.8",
51
- "@xylabs/tsconfig": "~8.1.8",
49
+ "@xylabs/toolchain": "~8.1.10",
50
+ "@xylabs/tsconfig": "~8.1.10",
52
51
  "@xylabs/vitest-extended": "^6.0.6",
53
52
  "async-mutex": "^0.5.0",
54
53
  "bn.js": "^5.2.3",
@@ -61,7 +60,7 @@
61
60
  "vite": "^8.0.16",
62
61
  "vitest": "~4.1.8",
63
62
  "zod": "^4.4.3",
64
- "@xyo-network/pqc": "~6.0.7"
63
+ "@xyo-network/pqc": "~6.0.8"
65
64
  },
66
65
  "peerDependencies": {
67
66
  "@noble/post-quantum": "~0.6.1",