@xyo-network/quant-wallet 6.0.7 → 6.0.9
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 +4 -2
- package/package.json +10 -13
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
|
|
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) // '
|
|
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.
|
|
3
|
+
"version": "6.0.9",
|
|
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.
|
|
38
|
-
"@xyo-network/
|
|
39
|
-
"@xyo-network/
|
|
40
|
-
"@xyo-network/
|
|
37
|
+
"@xyo-network/account-model": "~6.0.9",
|
|
38
|
+
"@xyo-network/quant-account": "~6.0.9",
|
|
39
|
+
"@xyo-network/address": "~6.0.9",
|
|
40
|
+
"@xyo-network/wallet-model": "~6.0.9"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@noble/post-quantum": "~0.6.1",
|
|
@@ -45,23 +45,21 @@
|
|
|
45
45
|
"@opentelemetry/sdk-trace-base": "^2.7.1",
|
|
46
46
|
"@scure/base": "~2.2.0",
|
|
47
47
|
"@scure/bip39": "~2.2.0",
|
|
48
|
-
"@
|
|
49
|
-
"@xylabs/
|
|
50
|
-
"@xylabs/
|
|
51
|
-
"@xylabs/
|
|
52
|
-
"@xylabs/vitest-extended": "^6.0.6",
|
|
48
|
+
"@xylabs/sdk-js": "^6.0.8",
|
|
49
|
+
"@xylabs/toolchain": "~8.1.16",
|
|
50
|
+
"@xylabs/tsconfig": "~8.1.16",
|
|
51
|
+
"@xylabs/vitest-extended": "^6.0.8",
|
|
53
52
|
"async-mutex": "^0.5.0",
|
|
54
53
|
"bn.js": "^5.2.3",
|
|
55
54
|
"buffer": "^6.0.3",
|
|
56
55
|
"eslint": "^10.4.1",
|
|
57
56
|
"ethers": "^6.16.0",
|
|
58
|
-
"pako": "^2.1",
|
|
59
57
|
"tslib": "~2.8.1",
|
|
60
58
|
"typescript": "~6.0.3",
|
|
61
59
|
"vite": "^8.0.16",
|
|
62
60
|
"vitest": "~4.1.8",
|
|
63
61
|
"zod": "^4.4.3",
|
|
64
|
-
"@xyo-network/pqc": "~6.0.
|
|
62
|
+
"@xyo-network/pqc": "~6.0.9"
|
|
65
63
|
},
|
|
66
64
|
"peerDependencies": {
|
|
67
65
|
"@noble/post-quantum": "~0.6.1",
|
|
@@ -74,7 +72,6 @@
|
|
|
74
72
|
"bn.js": "^5.2",
|
|
75
73
|
"buffer": "^6.0",
|
|
76
74
|
"ethers": "^6.16",
|
|
77
|
-
"pako": "^2.1",
|
|
78
75
|
"zod": "^4.4"
|
|
79
76
|
},
|
|
80
77
|
"engines": {
|