Repository navigation
v0.5.0
midnight-wallet-cli 0.5.0
Re-cut to include all work through the review-hardening pass. Full detail in CHANGELOG.md.
Highlights
- Native dust-sync sidecar — cold dust sync ~22 min → ~3.7 min (~5×), optional, with transparent WASM fallback. Ships as source in this release; a local
bun linkgets native. - Shielded balance sync rewritten as a direct indexer reader — hours → ~1 min, memory-bounded (no more 16 GB OOM).
- Dust generation-tree collapse — bounded dust-cache size and restart cost (~300× smaller serialized cache on a real preprod state).
mn dust export— restorable dust snapshot for fast warm-restore.mn contract deploy --secret-key— seed a caller-chosen initial private-state secret (env-passed, never on disk).
Correctness fixes
- Cache chain-reset guard now actually enforced for dust + wallet caches (was a silent no-op — could surface a stale balance after a chain reset).
- Native sidecar no longer caches an incomplete sync as complete — a mid-stream WS drop now resumes instead of being recorded as done.
- Direct-indexer readers share one graphql-ws subscription driver — uniform, resumable settle semantics; fixes the fast dust reader reporting a dropped stream as complete.
DX / consistency
mn addressaccepts--walletandMN_SEED;mn generateacceptsMN_SEED(keeps seeds off the process list).- Native sidecar warm-at-tip resume ~2× faster (initial-silence fast-return).
- Localnet self-heal — every service uses
restart: unless-stopped(survives Docker Desktop restarts; no more half-dead localnet). - Localnet images bumped to the current Preview/Preprod support-matrix generation.
- MCP tool count corrected (30), plus documentation of new flags/commands.
Note: not yet published to npm — install from source or
bun linklocally.