@lightprotocol/zk-compression-cli 0.4.2 → 0.4.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
@@ -88,6 +88,35 @@ solana balance
88
88
 
89
89
  Now you're all set up to run CLI commands :)
90
90
 
91
+ #### Using ZK Testnet
92
+
93
+ By default, the CLI interacts with localnet. You can view the current config by running:
94
+
95
+ ```bash
96
+ light config --get
97
+ ```
98
+
99
+ To switch to ZK Testnet, run:
100
+
101
+ ```bash
102
+ light config --indexerUrl "https://zk-testnet.helius.dev:8784" \
103
+ --proverUrl "https://zk-testnet.helius.dev:3001" \
104
+ --solanaRpcUrl "https://zk-testnet.helius.dev:8899"
105
+ ```
106
+
107
+ Also adjust your solana config:
108
+
109
+ ```bash
110
+ # Set config
111
+ solana config set --url "https://zk-testnet.helius.dev:8899"
112
+
113
+ # Airdrop 1 SOL
114
+ solana airdrop 1
115
+
116
+ # Print your address
117
+ solana address
118
+ ```
119
+
91
120
  ### Commands
92
121
 
93
122
  #### Create a compressed token mint