midnight-wallet-cli 0.4.0 → 0.5.0

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/NOTICE ADDED
@@ -0,0 +1,10 @@
1
+ midnight-wallet-cli
2
+ Copyright 2026 Norman Lopez (nel349)
3
+
4
+ This product includes software developed by Norman Lopez
5
+ (https://github.com/nel349/midnight-wallet-cli).
6
+
7
+ Licensed under the Apache License, Version 2.0.
8
+ If you port, mirror, or otherwise derive from this software, the
9
+ Apache License requires you to include a readable copy of the
10
+ attribution notices in this NOTICE file with your distribution.
package/README.md CHANGED
@@ -30,17 +30,18 @@ This installs two commands: `midnight` (or `mn` for short) and `midnight-wallet-
30
30
  | `midnight wallet info [name]` | Show wallet details |
31
31
  | `midnight wallet remove <name>` | Remove a wallet |
32
32
  | `midnight info` | Display wallet address, network, creation date |
33
- | `midnight balance [address]` | Check unshielded + shielded NIGHT balance |
34
- | `midnight transfer <to> <amount>` | Send NIGHT tokens (`--shielded` for shielded) |
35
- | `midnight airdrop <amount>` | Fund wallet from genesis (`--shielded` for shielded, undeployed only) |
33
+ | `midnight balance [address]` | Check unshielded + shielded NIGHT balance (`--force-shielded` to sync shielded on preview/preprod, off by default) |
34
+ | `midnight transfer <to> <amount>` | Send NIGHT tokens (`--shielded` for shielded; `--force-shielded` to allow it on preview/preprod) |
35
+ | `midnight airdrop <amount>` | Fund a wallet or raw address from genesis (`--shielded` for shielded, undeployed only) |
36
36
  | `midnight dust register` | Register NIGHT UTXOs for dust (fee token) generation |
37
37
  | `midnight dust status` | Check dust registration status and balance |
38
+ | `midnight dust export` | Emit a restorable dust snapshot for fast warm-restore |
38
39
  | `midnight address --seed <hex>` | Derive an address from a seed |
39
40
  | `midnight genesis-address` | Show the genesis wallet address |
40
41
  | `midnight inspect-cost` | Display current block cost limits |
41
42
  | `midnight serve` | Start DApp Connector server (WebSocket JSON-RPC) |
42
43
  | `midnight contract inspect` | Show circuits, witnesses, and types for a compiled contract |
43
- | `midnight contract deploy` | Deploy a contract to the network |
44
+ | `midnight contract deploy` | Deploy a contract to the network (`--secret-key <64-hex>` seeds a caller-chosen initial private-state secret for constructors that derive their owner from `public_key(secret_key())`; passed via env to the deploy subprocess, never written to disk) |
44
45
  | `midnight contract call` | Call a circuit on a deployed contract |
45
46
  | `midnight contract state` | Read ledger state of a deployed contract |
46
47
  | `midnight dev` | Contract dev loop — watcher auto-compiles on save; `[t]` runs tests, `[d]` deploys |