@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 +29 -0
- package/accounts/address_merkle_tree_C83cpRN6oaafjNgMQJvaYgAz592EP5wunKvbokeTKPLn.json +1 -1
- package/bin/account_compression.so +0 -0
- package/bin/forester +0 -0
- package/bin/light_compressed_token.so +0 -0
- package/bin/light_registry.so +0 -0
- package/bin/light_system_program.so +0 -0
- package/bin/prover-darwin-arm64 +0 -0
- package/bin/prover-darwin-x64 +0 -0
- package/bin/prover-linux-arm64 +0 -0
- package/bin/prover-linux-x64 +0 -0
- package/bin/prover-windows-arm64.exe +0 -0
- package/bin/prover-windows-x64.exe +0 -0
- package/dist/commands/register-mint/index.js +1 -1
- package/dist/utils/constants.d.ts +1 -1
- package/dist/utils/constants.js +1 -1
- package/oclif.manifest.json +89 -89
- package/package.json +4 -4
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
|