midnight-wallet-cli 0.2.2 → 0.2.4

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 CHANGED
@@ -44,32 +44,43 @@ This installs two commands: `midnight` (or `mn` for short) and `midnight-wallet-
44
44
 
45
45
  ## Quick Start
46
46
 
47
- ### Preprod (testnet)
47
+ ### Local development (undeployed)
48
48
 
49
49
  ```bash
50
- # Generate a wallet
51
- midnight wallet generate alice --network preprod
50
+ # 1. Start local network (node, indexer, proof server)
51
+ midnight localnet up
52
+
53
+ # 2. Create a wallet and set the network
54
+ midnight wallet generate alice
55
+ midnight config set network undeployed
56
+
57
+ # 3. Fund your wallet and register dust (needed for fees)
58
+ midnight airdrop 1000
59
+ midnight dust register
52
60
 
53
- # Check balance
61
+ # 4. Check balance and transfer
54
62
  midnight balance
63
+ midnight transfer mn_addr_undeployed1... 100
55
64
  ```
56
65
 
57
- ### Local development
66
+ ### Preprod / Preview (testnet)
58
67
 
59
68
  ```bash
60
- # Start local network
61
- midnight localnet up
69
+ # 1. Create a wallet and set the network
70
+ midnight wallet generate alice
71
+ midnight config set network preprod # or: preview
62
72
 
63
- # Generate a wallet
64
- midnight wallet generate dev --network undeployed
73
+ # 2. Get test tokens from the faucet
74
+ # preprod: https://faucet.preprod.midnight.network/
75
+ # preview: https://faucet.preview.midnight.network/
76
+ # Paste your address from: midnight wallet info alice
65
77
 
66
- # Airdrop tokens and register dust
67
- midnight airdrop 1000
78
+ # 3. Register dust (needed for fees)
68
79
  midnight dust register
69
80
 
70
- # Check balance and transfer
81
+ # 4. Check balance and transfer
71
82
  midnight balance
72
- midnight transfer mn_addr_undeployed1... 100
83
+ midnight transfer mn_addr_preprod1... 100
73
84
  ```
74
85
 
75
86
  ## Supported Networks