@everyprotocol/every-cli 0.1.17 → 0.1.18
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/.every.toml +2 -2
- package/dist/cmds/matter.js +3 -2
- package/package.json +1 -1
package/.every.toml
CHANGED
|
@@ -11,13 +11,13 @@ KindRegistry = "0x359F63D61f3999a57D8deD95fd041DDdE5e36C75"
|
|
|
11
11
|
ElementRegistry = "0xb2ee543b6Ab2611611ec63784625bB25bD2B504d"
|
|
12
12
|
ObjectMinter = "0x25729E830801B7BB6C9670D3CF6D6E922caCC8B7"
|
|
13
13
|
|
|
14
|
-
[universes.sepolia
|
|
14
|
+
[universes.sepolia~]
|
|
15
15
|
id = 11155111
|
|
16
16
|
rpc = "https://eth-sepolia.g.alchemy.com/v2/BI83rsifAeoz4ZEQkWu6yC0IaOHDBTIE"
|
|
17
17
|
observer = "devnet"
|
|
18
18
|
explorer = "https://sepolia.etherscan.io"
|
|
19
19
|
|
|
20
|
-
[universes.sepolia
|
|
20
|
+
[universes.sepolia~.contracts]
|
|
21
21
|
SetRegistry = "0xdd87c04d79efDF668F3ad5Cd06fF45d75E5b1734"
|
|
22
22
|
OmniRegistry = "0x8906Fa8b9749207e819c76Fc7D1B26d185b58eF8"
|
|
23
23
|
KindRegistry = "0x8a26F2DdD9382fc193f6A2eFc6C3BB14A47f522c"
|
package/dist/cmds/matter.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { Command } from "commander";
|
|
1
|
+
import { Command, Option } from "commander";
|
|
2
2
|
import "@polkadot/api-augment/substrate";
|
|
3
3
|
import * as fs from "fs";
|
|
4
4
|
import path from "path";
|
|
5
5
|
import columify from "columnify";
|
|
6
6
|
import { j11String, loadBinary, loadJson } from "../utils.js";
|
|
7
7
|
import { submitTransaction } from "../substrate.js";
|
|
8
|
-
import { network, universe } from "../commander-patch.js";
|
|
9
8
|
import { Logger } from "../logger.js";
|
|
10
9
|
import { compileEnumCsv, compilePermCsv, computeHash, parseFileSpec, specToInput, } from "../matter.js";
|
|
10
|
+
const universe = new Option("-u, --universe <universe>", "Universe name");
|
|
11
|
+
const network = new Option("-n, --network <network>", "Network name");
|
|
11
12
|
const matterRegisterCmd = new Command("register")
|
|
12
13
|
.description("Register matters")
|
|
13
14
|
.argument("<files...>", "Paths of matter blob files")
|