@hyperlane-xyz/cli 3.10.0 → 3.10.1-beta0
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/dist/cli.js +4 -0
- package/dist/cli.js.map +1 -1
- package/dist/src/commands/deploy.d.ts +6 -0
- package/dist/src/commands/deploy.d.ts.map +1 -1
- package/dist/src/commands/deploy.js +66 -54
- package/dist/src/commands/deploy.js.map +1 -1
- package/dist/src/commands/hook.d.ts +7 -0
- package/dist/src/commands/hook.d.ts.map +1 -0
- package/dist/src/commands/hook.js +42 -0
- package/dist/src/commands/hook.js.map +1 -0
- package/dist/src/commands/ism.d.ts +7 -0
- package/dist/src/commands/ism.d.ts.map +1 -0
- package/dist/src/commands/ism.js +44 -0
- package/dist/src/commands/ism.js.map +1 -0
- package/dist/src/commands/options.d.ts +37 -2
- package/dist/src/commands/options.d.ts.map +1 -1
- package/dist/src/commands/options.js +45 -2
- package/dist/src/commands/options.js.map +1 -1
- package/dist/src/commands/send.d.ts +8 -1
- package/dist/src/commands/send.d.ts.map +1 -1
- package/dist/src/commands/send.js +14 -4
- package/dist/src/commands/send.js.map +1 -1
- package/dist/src/commands/status.d.ts.map +1 -1
- package/dist/src/commands/status.js +8 -7
- package/dist/src/commands/status.js.map +1 -1
- package/dist/src/config/artifacts.d.ts +6 -1
- package/dist/src/config/artifacts.d.ts.map +1 -1
- package/dist/src/config/artifacts.js +7 -1
- package/dist/src/config/artifacts.js.map +1 -1
- package/dist/src/config/ism.d.ts +18 -0
- package/dist/src/config/ism.d.ts.map +1 -1
- package/dist/src/config/ism.js +22 -7
- package/dist/src/config/ism.js.map +1 -1
- package/dist/src/config/warp.d.ts +30 -180
- package/dist/src/config/warp.d.ts.map +1 -1
- package/dist/src/config/warp.js +19 -56
- package/dist/src/config/warp.js.map +1 -1
- package/dist/src/context.d.ts +22 -5
- package/dist/src/context.d.ts.map +1 -1
- package/dist/src/context.js +57 -18
- package/dist/src/context.js.map +1 -1
- package/dist/src/deploy/core.d.ts +6 -2
- package/dist/src/deploy/core.d.ts.map +1 -1
- package/dist/src/deploy/core.js +37 -16
- package/dist/src/deploy/core.js.map +1 -1
- package/dist/src/deploy/dry-run.d.ts +20 -0
- package/dist/src/deploy/dry-run.d.ts.map +1 -0
- package/dist/src/deploy/dry-run.js +45 -0
- package/dist/src/deploy/dry-run.js.map +1 -0
- package/dist/src/deploy/utils.d.ts +6 -1
- package/dist/src/deploy/utils.d.ts.map +1 -1
- package/dist/src/deploy/utils.js +40 -6
- package/dist/src/deploy/utils.js.map +1 -1
- package/dist/src/deploy/warp.d.ts +3 -2
- package/dist/src/deploy/warp.d.ts.map +1 -1
- package/dist/src/deploy/warp.js +94 -89
- package/dist/src/deploy/warp.js.map +1 -1
- package/dist/src/hook/read.d.ts +14 -0
- package/dist/src/hook/read.d.ts.map +1 -0
- package/dist/src/hook/read.js +29 -0
- package/dist/src/hook/read.js.map +1 -0
- package/dist/src/ism/read.d.ts +14 -0
- package/dist/src/ism/read.d.ts.map +1 -0
- package/dist/src/ism/read.js +29 -0
- package/dist/src/ism/read.js.map +1 -0
- package/dist/src/logger.d.ts +1 -0
- package/dist/src/logger.d.ts.map +1 -1
- package/dist/src/logger.js +1 -0
- package/dist/src/logger.js.map +1 -1
- package/dist/src/send/message.d.ts +3 -2
- package/dist/src/send/message.d.ts.map +1 -1
- package/dist/src/send/message.js +8 -2
- package/dist/src/send/message.js.map +1 -1
- package/dist/src/send/transfer.d.ts +3 -2
- package/dist/src/send/transfer.d.ts.map +1 -1
- package/dist/src/send/transfer.js +9 -3
- package/dist/src/send/transfer.js.map +1 -1
- package/dist/src/status/message.d.ts +4 -1
- package/dist/src/status/message.d.ts.map +1 -1
- package/dist/src/status/message.js +14 -3
- package/dist/src/status/message.js.map +1 -1
- package/dist/src/tests/deployTestErc20.js +4 -4
- package/dist/src/tests/deployTestErc20.js.map +1 -1
- package/dist/src/utils/env.d.ts +2 -0
- package/dist/src/utils/env.d.ts.map +1 -1
- package/dist/src/utils/env.js +2 -0
- package/dist/src/utils/env.js.map +1 -1
- package/dist/src/utils/files.d.ts +12 -4
- package/dist/src/utils/files.d.ts.map +1 -1
- package/dist/src/utils/files.js +35 -11
- package/dist/src/utils/files.js.map +1 -1
- package/dist/src/utils/fork.d.ts +37 -0
- package/dist/src/utils/fork.d.ts.map +1 -0
- package/dist/src/utils/fork.js +91 -0
- package/dist/src/utils/fork.js.map +1 -0
- package/dist/src/utils/keys.d.ts +16 -2
- package/dist/src/utils/keys.d.ts.map +1 -1
- package/dist/src/utils/keys.js +67 -6
- package/dist/src/utils/keys.js.map +1 -1
- package/dist/src/version.d.ts +1 -1
- package/dist/src/version.d.ts.map +1 -1
- package/dist/src/version.js +1 -1
- package/dist/src/version.js.map +1 -1
- package/examples/dry-run/anvil-chains.yaml +17 -0
- package/examples/dry-run/ism.yaml +8 -0
- package/examples/dry-run/warp-route-deployment.yaml +4 -0
- package/examples/fork/warp-route-deployment.yaml +17 -9
- package/examples/warp-route-deployment.yaml +17 -10
- package/package.json +9 -7
|
@@ -10,17 +10,25 @@
|
|
|
10
10
|
# fastCollateral
|
|
11
11
|
# fastSynthetic
|
|
12
12
|
---
|
|
13
|
-
|
|
14
|
-
chainName: anvil
|
|
13
|
+
anvil:
|
|
15
14
|
type: native
|
|
16
|
-
#
|
|
15
|
+
# token: "0x123" # Collateral/vault address. Required for collateral types
|
|
16
|
+
# owner: "0x123" # Optional owner address for synthetic token
|
|
17
|
+
# mailbox: "0x123" # mailbox address route
|
|
18
|
+
# interchainGasPaymaster: "0x123" # Optional interchainGasPaymaster address
|
|
17
19
|
# isNft: true # If the token is an NFT (ERC721), set to true
|
|
18
|
-
#
|
|
19
|
-
#
|
|
20
|
-
#
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
# You can optionally set the token metadata
|
|
21
|
+
# name: "MyCollateralToken"
|
|
22
|
+
# symbol: "MCT"
|
|
23
|
+
# totalSupply: 10000000
|
|
24
|
+
|
|
25
|
+
ethereum:
|
|
26
|
+
type: synthetic
|
|
27
|
+
# token: "0x123" # Collateral/vault address. Required for collateral types
|
|
28
|
+
# owner: "0x123" # Optional owner address for synthetic token
|
|
29
|
+
# mailbox: "0x123" # mailbox address route
|
|
30
|
+
# interchainGasPaymaster: "0x123" # Optional interchainGasPaymaster address
|
|
31
|
+
# You can optionally set the token metadata
|
|
24
32
|
# name: "MySyntheticToken"
|
|
25
33
|
# symbol: "MST"
|
|
26
34
|
# totalSupply: 10000000
|
|
@@ -4,24 +4,31 @@
|
|
|
4
4
|
# Token Types:
|
|
5
5
|
# native
|
|
6
6
|
# collateral
|
|
7
|
-
# collateralVault
|
|
8
7
|
# synthetic
|
|
9
8
|
# collateralUri
|
|
10
9
|
# syntheticUri
|
|
11
10
|
# fastCollateral
|
|
12
11
|
# fastSynthetic
|
|
13
12
|
---
|
|
14
|
-
|
|
15
|
-
chainName: anvil1
|
|
13
|
+
anvil1:
|
|
16
14
|
type: native
|
|
17
|
-
#
|
|
15
|
+
# token: "0x123" # Collateral/vault address. Required for collateral types
|
|
16
|
+
# owner: "0x123" # Optional owner address for synthetic token
|
|
17
|
+
# mailbox: "0x123" # mailbox address route
|
|
18
|
+
# interchainGasPaymaster: "0x123" # Optional interchainGasPaymaster address
|
|
18
19
|
# isNft: true # If the token is an NFT (ERC721), set to true
|
|
19
|
-
#
|
|
20
|
-
#
|
|
21
|
-
#
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
20
|
+
# You can optionally set the token metadata
|
|
21
|
+
# name: "MyCollateralToken"
|
|
22
|
+
# symbol: "MCT"
|
|
23
|
+
# totalSupply: 10000000
|
|
24
|
+
|
|
25
|
+
anvil2:
|
|
26
|
+
type: synthetic
|
|
27
|
+
# token: "0x123" # Collateral/vault address. Required for collateral types
|
|
28
|
+
# owner: "0x123" # Optional owner address for synthetic token
|
|
29
|
+
# mailbox: "0x123" # mailbox address route
|
|
30
|
+
# interchainGasPaymaster: "0x123" # Optional interchainGasPaymaster address
|
|
31
|
+
# You can optionally set the token metadata
|
|
25
32
|
# name: "MySyntheticToken"
|
|
26
33
|
# symbol: "MST"
|
|
27
34
|
# totalSupply: 10000000
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperlane-xyz/cli",
|
|
3
|
-
"version": "3.10.
|
|
3
|
+
"version": "3.10.1-beta0",
|
|
4
4
|
"description": "A command-line utility for common Hyperlane operations",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@hyperlane-xyz/sdk": "3.10.0",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"@types/mocha": "^10.0.1",
|
|
21
21
|
"@types/node": "^18.14.5",
|
|
22
22
|
"@types/yargs": "^17.0.24",
|
|
23
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
24
|
-
"@typescript-eslint/parser": "^
|
|
23
|
+
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
24
|
+
"@typescript-eslint/parser": "^7.4.0",
|
|
25
25
|
"chai": "^4.3.6",
|
|
26
|
-
"eslint": "^8.
|
|
27
|
-
"eslint-config-prettier": "^
|
|
26
|
+
"eslint": "^8.57.0",
|
|
27
|
+
"eslint-config-prettier": "^9.1.0",
|
|
28
28
|
"mocha": "^10.2.0",
|
|
29
29
|
"prettier": "^2.8.8",
|
|
30
30
|
"typescript": "^5.1.6"
|
|
@@ -48,6 +48,9 @@
|
|
|
48
48
|
"main": "./dist/index.js",
|
|
49
49
|
"types": "./dist/index.d.ts",
|
|
50
50
|
"type": "module",
|
|
51
|
+
"engines": {
|
|
52
|
+
"node": ">=16"
|
|
53
|
+
},
|
|
51
54
|
"bin": {
|
|
52
55
|
"hyperlane": "./dist/cli.js"
|
|
53
56
|
},
|
|
@@ -63,6 +66,5 @@
|
|
|
63
66
|
"Permissionless",
|
|
64
67
|
"Deployment",
|
|
65
68
|
"Typescript"
|
|
66
|
-
]
|
|
67
|
-
"packageManager": "yarn@4.0.1"
|
|
69
|
+
]
|
|
68
70
|
}
|