@everyprotocol/every-cli 0.1.9 → 0.1.11

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 CHANGED
@@ -1,17 +1,53 @@
1
- [universes.anvil]
1
+ [universes.local]
2
2
  id = 31337
3
3
  rpc = "http://localhost:8545"
4
- observer = "dev"
4
+ observer = "local"
5
5
  explorer = "http://localhost"
6
6
 
7
- [universes.anvil.contracts]
8
- SetRegistry = "0x854C35Fd2b65fE9fcE71dddE91De8c3e1A7Dc8Ae"
9
- OmniRegistry = "0x4b7fc108F2c4fCDD990240448D2eED8034713c7D"
10
- KindRegistry = "0x7A8B3E5A9c227858C5917b7de8ba1684Cd868630"
11
- ElementRegistry = "0x8De1EE1dbAE2Ffd1CAe1e6bA83E6cAede1461507"
12
- ObjectMinter = "0x12CaBC370b316F247126F3Fab529Ee25e03aE226"
7
+ [universes.local.contracts]
8
+ SetRegistry = "0x2207E9e55713403277A96C40D330574d9991D249"
9
+ OmniRegistry = "0xb841E3454A9174cfcd8F11ff64b8868ADC94A7D5"
10
+ KindRegistry = "0x359F63D61f3999a57D8deD95fd041DDdE5e36C75"
11
+ ElementRegistry = "0xb2ee543b6Ab2611611ec63784625bB25bD2B504d"
12
+ ObjectMinter = "0x25729E830801B7BB6C9670D3CF6D6E922caCC8B7"
13
13
 
14
- [observers.dev]
14
+ [universes.ethereum-alpha]
15
+ id = 11155111
16
+ rpc = "https://eth-sepolia.g.alchemy.com/v2/BI83rsifAeoz4ZEQkWu6yC0IaOHDBTIE"
17
+ observer = "devnet"
18
+ explorer = "https://sepolia.etherscan.io"
19
+
20
+ [universes.ethereum-alpha.contracts]
21
+ SetRegistry = "0xdd87c04d79efDF668F3ad5Cd06fF45d75E5b1734"
22
+ OmniRegistry = "0x8906Fa8b9749207e819c76Fc7D1B26d185b58eF8"
23
+ KindRegistry = "0x8a26F2DdD9382fc193f6A2eFc6C3BB14A47f522c"
24
+ ElementRegistry = "0x74D8673d9d2E5B475b8C4558F1E5756Dc190638E"
25
+ ObjectMinter = "0xC2dd118038127b5f9eA048B65d17500Fe022CcAD"
26
+
27
+ [universes.ethereum-beta]
28
+ id = 11155111
29
+ rpc = "https://eth-sepolia.g.alchemy.com/v2/BI83rsifAeoz4ZEQkWu6yC0IaOHDBTIE"
30
+ observer = "testnet"
31
+ explorer = "https://sepolia.etherscan.io"
32
+
33
+ [universes.ethereum-beta.contracts]
34
+ SetRegistry = "0x42aaDB79D6015a6a5c1419276a8f7286298Db174"
35
+ OmniRegistry = "0x8D696bD0ff8272e4BcC901cC7b360cC8e55Ade69"
36
+ KindRegistry = "0x63ed128a5584c959Bd8709a440A6035CE90DfeA7"
37
+ ElementRegistry = "0x24b07562939663B06aAEF3FD9eC387e646077e6b"
38
+ ObjectMinter = "0x0E44f5440C972dB6ca809F93aCa7A7DeA6C432b7"
39
+
40
+ [observers.local]
15
41
  rpc = "ws://localhost:9944"
16
42
  gateway = "http://every.lo"
17
43
  explorer = "https://portal.every.fun/?rpc=ws://localhost:9944#/explorer"
44
+
45
+ [observers.devnet]
46
+ rpc = "wss://devnet.every.network"
47
+ gateway = "http://every.bz"
48
+ explorer = "https://portal.every.fun/?rpc=wss://devnet.every.network#/explorer"
49
+
50
+ [observers.testnet]
51
+ rpc = "wss://testnet.every.network"
52
+ gateway = "http://every.im"
53
+ explorer = "https://portal.every.fun/?rpc=wss://testnet.every.network#/explorer"
package/dist/cmds/pick.js CHANGED
@@ -5,7 +5,7 @@ import * as _ from "lodash-es";
5
5
  import { Command } from "commander";
6
6
  import { loadMergedConfig } from "../config.js";
7
7
  const DEFAULT_DIR = "./register";
8
- const DEFAULT_UNIVERSE = "anvil";
8
+ const DEFAULT_UNIVERSE = "local";
9
9
  const STATIC_RULES = {
10
10
  // config
11
11
  "universe.id": { file: "config://universe.json", root: "$", field: "id" },
@@ -5,8 +5,8 @@ export const password = new Option("-p, --password [password]", "Password to dec
5
5
  export const passwordFile = new Option("-P, --password-file <file>", "File containing the keystore password");
6
6
  export const privateKey = new Option("-k, --private-key <key>", "Private key to sign the transaction");
7
7
  export const foundry = new Option("-f, --foundry", "Use foundry keystores (~/.foundry/keystores)");
8
- export const universe = new Option("-u, --universe <universe>", "Universe name").default("anvil");
9
- export const network = new Option("-n, --network <network>", "Network name").default("dev");
8
+ export const universe = new Option("-u, --universe <universe>", "Universe name").default("local");
9
+ export const network = new Option("-n, --network <network>", "Network name").default("local");
10
10
  export const json = new Option("-j, --json [file]", "Output result as JSON to stdout or file");
11
11
  export const quiet = new Option("-q, --quiet", "Suppress info messages");
12
12
  export const keystoreOptions = [account, password, passwordFile, foundry];
package/package.json CHANGED
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "name": "@everyprotocol/every-cli",
3
3
  "type": "module",
4
- "version": "0.1.9",
4
+ "version": "0.1.11",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/everyprotocol/cli.git"
8
+ },
5
9
  "files": [
6
10
  "dist/",
7
11
  "abis/",
@@ -48,8 +52,8 @@
48
52
  "scripts": {
49
53
  "build": "npm run tsc -b",
50
54
  "clean": "rm -rf dist",
51
- "bb": "bun build src/*.ts --target=node --outdir dist",
52
- "prepublishOnly": "npm run build"
55
+ "b": "bun build src/*.ts --target=node --outdir dist",
56
+ "prepack": "npm run build"
53
57
  },
54
58
  "publishConfig": {
55
59
  "access": "public"