midnight-wallet-cli 0.5.1 → 0.5.2
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 +9 -0
- package/dist/mcp-server.js +633 -633
- package/dist/wallet.js +746 -746
- package/docs/SKILL.md +1 -1
- package/package.json +9 -2
package/docs/SKILL.md
CHANGED
|
@@ -127,7 +127,7 @@ Every MCP tool error returns `{ error: true, code: <ERROR_CODE>, message: <human
|
|
|
127
127
|
## What this CLI is NOT
|
|
128
128
|
|
|
129
129
|
- Not a custody service. Keys are on the user's disk (`~/.midnight/wallets/<name>.json`).
|
|
130
|
-
- Not
|
|
130
|
+
- Not an instant-sync tool for a first-time wallet on a hosted network. First run replays the chain's event history; the CLI caches state after that so repeat runs are fast. Dust priming specifically uses a bundled native accelerator (~5× faster than the WASM fallback — set `MN_DISABLE_NATIVE_DUST=1` to force WASM), but a cold prime is still minutes, not seconds.
|
|
131
131
|
- Not a contract compiler. The project's `package.json` should expose a `compact` script (Midnight convention, e.g. `"compact": "compact compile src/foo.compact src/managed/foo"`) or a `compile` script as a generic fallback. `mn dev` detects whichever is present; create-mn-app and midnight-starship templates ship with the `compact` script already wired.
|
|
132
132
|
|
|
133
133
|
## Authoritative references
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "midnight-wallet-cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Git-style CLI wallet for the Midnight blockchain",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"ai-agent"
|
|
26
26
|
],
|
|
27
27
|
"workspaces": [
|
|
28
|
-
"packages
|
|
28
|
+
"packages/connector"
|
|
29
29
|
],
|
|
30
30
|
"bin": {
|
|
31
31
|
"midnight": "dist/wallet.js",
|
|
@@ -83,5 +83,12 @@
|
|
|
83
83
|
"tsx": "^4.21.0",
|
|
84
84
|
"typescript": "^5.9.3",
|
|
85
85
|
"vitest": "^3.2.4"
|
|
86
|
+
},
|
|
87
|
+
"optionalDependencies": {
|
|
88
|
+
"@nel349/dust-sync-darwin-arm64": "0.5.2",
|
|
89
|
+
"@nel349/dust-sync-darwin-x64": "0.5.2",
|
|
90
|
+
"@nel349/dust-sync-linux-x64": "0.5.2",
|
|
91
|
+
"@nel349/dust-sync-linux-arm64": "0.5.2",
|
|
92
|
+
"@nel349/dust-sync-win32-x64": "0.5.2"
|
|
86
93
|
}
|
|
87
94
|
}
|