@parity/dotns-cli 0.6.3 → 0.6.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 +14 -12
- package/dist/cli.js +2263 -1391
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -252,7 +252,7 @@ dotns --password test-password bulletin upload ./dist --profile-upload --account
|
|
|
252
252
|
dotns --password test-password bulletin upload ./dist --profile-upload --profile-output ./report.json --account default
|
|
253
253
|
|
|
254
254
|
# Custom RPC
|
|
255
|
-
dotns --password test-password bulletin upload ./image.png --bulletin-rpc wss://paseo-bulletin-rpc.polkadot.io --account default
|
|
255
|
+
dotns --password test-password bulletin upload ./image.png --bulletin-rpc wss://paseo-bulletin-next-rpc.polkadot.io --account default
|
|
256
256
|
|
|
257
257
|
# Skip history
|
|
258
258
|
dotns --password test-password bulletin upload ./image.png --no-history --account default
|
|
@@ -292,7 +292,7 @@ dotns --key-uri //Alice bulletin authorize 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC9
|
|
|
292
292
|
dotns --key-uri //Alice bulletin authorize 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty --json
|
|
293
293
|
|
|
294
294
|
# Custom RPC
|
|
295
|
-
dotns --key-uri //Alice bulletin authorize 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty --bulletin-rpc wss://paseo-bulletin-rpc.polkadot.io
|
|
295
|
+
dotns --key-uri //Alice bulletin authorize 5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty --bulletin-rpc wss://paseo-bulletin-next-rpc.polkadot.io
|
|
296
296
|
```
|
|
297
297
|
|
|
298
298
|
### Bulletin Status
|
|
@@ -359,7 +359,14 @@ dotns --key-uri //Alice account whitelist 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCP
|
|
|
359
359
|
|
|
360
360
|
### Store
|
|
361
361
|
|
|
362
|
+
Your User Store is a per-account, owner-bound key/value store. Claim it once,
|
|
363
|
+
then read and write values. Names you register are tracked separately in your
|
|
364
|
+
Label Store (see `store names`).
|
|
365
|
+
|
|
362
366
|
```bash
|
|
367
|
+
# Claim your User Store (required once before setting values)
|
|
368
|
+
dotns --password test-password store claim --account default
|
|
369
|
+
|
|
363
370
|
# Show Store address and deployment status
|
|
364
371
|
dotns --password test-password store info --account default
|
|
365
372
|
|
|
@@ -371,17 +378,12 @@ dotns --password test-password store get mykey --account default
|
|
|
371
378
|
dotns --password test-password store set mykey "my value" --account default
|
|
372
379
|
dotns --password test-password store delete mykey --account default
|
|
373
380
|
|
|
374
|
-
#
|
|
375
|
-
dotns --password test-password store
|
|
376
|
-
dotns --password test-password store
|
|
377
|
-
dotns --password test-password store unauthorize 0x000000000000000000000000000000000000dEaD --account default
|
|
378
|
-
|
|
379
|
-
# DotNS controller authorisation
|
|
380
|
-
dotns --password test-password store authorize-controller 0x000000000000000000000000000000000000dEaD --account default
|
|
381
|
-
dotns --password test-password store unauthorize-controller 0x000000000000000000000000000000000000dEaD --account default
|
|
381
|
+
# List the .dot names in your Label Store, and cached CIDs
|
|
382
|
+
dotns --password test-password store names --account default
|
|
383
|
+
dotns --password test-password store cids --account default
|
|
382
384
|
|
|
383
|
-
#
|
|
384
|
-
dotns --password test-password store
|
|
385
|
+
# Settle any pending names from the PoP controller into your Label Store
|
|
386
|
+
dotns --password test-password store sync --account default
|
|
385
387
|
|
|
386
388
|
# JSON output (all subcommands)
|
|
387
389
|
dotns --password test-password store info --json --account default
|