genlayer 0.34.3 → 0.35.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/README.md +14 -10
- package/dist/index.js +7680 -3396
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -144,16 +144,20 @@ EXAMPLES:
|
|
|
144
144
|
|
|
145
145
|
#### Network Management
|
|
146
146
|
|
|
147
|
-
|
|
147
|
+
Manage network configuration for contract operations.
|
|
148
148
|
|
|
149
149
|
```bash
|
|
150
150
|
USAGE:
|
|
151
|
-
genlayer network [network]
|
|
151
|
+
genlayer network set [network] Set the network to use
|
|
152
|
+
genlayer network info Show current network configuration and contract addresses
|
|
153
|
+
genlayer network list List available networks
|
|
152
154
|
|
|
153
155
|
EXAMPLES:
|
|
154
|
-
genlayer network
|
|
155
|
-
genlayer network testnet
|
|
156
|
-
genlayer network mainnet
|
|
156
|
+
genlayer network set
|
|
157
|
+
genlayer network set testnet
|
|
158
|
+
genlayer network set mainnet
|
|
159
|
+
genlayer network info
|
|
160
|
+
genlayer network list
|
|
157
161
|
```
|
|
158
162
|
|
|
159
163
|
#### Deploy and Call Intelligent Contracts
|
|
@@ -295,7 +299,7 @@ EXAMPLES:
|
|
|
295
299
|
|
|
296
300
|
#### Staking Operations
|
|
297
301
|
|
|
298
|
-
Manage staking for validators and delegators on testnet-asimov. Staking is not available on localnet/studio.
|
|
302
|
+
Manage staking for validators and delegators on testnet-bradbury (or testnet-asimov). Staking is not available on localnet/studio.
|
|
299
303
|
|
|
300
304
|
```bash
|
|
301
305
|
USAGE:
|
|
@@ -321,7 +325,7 @@ COMMANDS:
|
|
|
321
325
|
banned-validators List all banned validators
|
|
322
326
|
|
|
323
327
|
COMMON OPTIONS (all commands):
|
|
324
|
-
--network <network> Network to use (localnet, testnet-asimov)
|
|
328
|
+
--network <network> Network to use (localnet, testnet-bradbury, testnet-asimov)
|
|
325
329
|
--rpc <rpcUrl> RPC URL override
|
|
326
330
|
--staking-address <address> Staking contract address override
|
|
327
331
|
|
|
@@ -338,11 +342,11 @@ OPTIONS (exit commands):
|
|
|
338
342
|
--validator <address> Validator address (for delegator commands)
|
|
339
343
|
|
|
340
344
|
EXAMPLES:
|
|
341
|
-
# Get epoch info (uses --network to specify testnet-
|
|
342
|
-
genlayer staking epoch-info --network testnet-
|
|
345
|
+
# Get epoch info (uses --network to specify testnet-bradbury)
|
|
346
|
+
genlayer staking epoch-info --network testnet-bradbury
|
|
343
347
|
|
|
344
348
|
# Or set network globally first
|
|
345
|
-
genlayer network testnet-
|
|
349
|
+
genlayer network set testnet-bradbury
|
|
346
350
|
|
|
347
351
|
# Join as validator with 42000 GEN
|
|
348
352
|
genlayer staking validator-join --amount 42000gen
|