@humanode-hyperlane/cli 30.0.0 → 1045.2.1

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.
Files changed (53) hide show
  1. package/README.md +1 -1
  2. package/bundle/154.index.js +462 -0
  3. package/bundle/230.index.js +572 -0
  4. package/bundle/25.index.js +9569 -0
  5. package/bundle/{214.index.js → 308.index.js} +192 -88
  6. package/bundle/367.index.js +4 -0
  7. package/bundle/461.index.js +49 -0
  8. package/bundle/505.index.js +126369 -0
  9. package/bundle/529.index.js +3603 -0
  10. package/bundle/576.index.js +36 -0
  11. package/bundle/610.index.js +86 -0
  12. package/bundle/628.index.js +152 -0
  13. package/bundle/633.index.js +86 -0
  14. package/bundle/697.index.js +410 -0
  15. package/bundle/{30fb121a258f7502fa97.js → 7183ea1c1bf0a5da980d.js} +1 -1
  16. package/bundle/748.index.js +674 -0
  17. package/bundle/78.index.js +372 -0
  18. package/bundle/787.index.js +175 -0
  19. package/bundle/841.index.js +2093 -0
  20. package/bundle/{172.index.js → 848.index.js} +779 -915
  21. package/bundle/868.index.js +460 -0
  22. package/bundle/902.index.js +173 -0
  23. package/bundle/956.index.js +9901 -0
  24. package/bundle/aleo_wasm.wasm +0 -0
  25. package/bundle/aleo_wasm1.wasm +0 -0
  26. package/bundle/build/Release/bigint_buffer.node +0 -0
  27. package/bundle/index.js +2 -2
  28. package/bundle/worker2.js +9123 -3469
  29. package/bundle/worker3.js +9109 -3455
  30. package/examples/layerzero/layerzero-warp-route.yaml +91 -0
  31. package/examples/sealevel/core-config-composite-ism.yaml +21 -0
  32. package/examples/sealevel/igp-hook-config.yaml +13 -0
  33. package/examples/sealevel/warp-config-routing-message-id-multisig-ism.yaml +21 -0
  34. package/examples/warp-base.yaml +24 -0
  35. package/examples/warp-config-predicate-mainnet.yaml +14 -0
  36. package/examples/warp-deployed-predicate-mainnet.yaml +19 -0
  37. package/examples/warp-ethereum.yaml +19 -0
  38. package/examples/wormhole/wormhole-warp-route.yaml +46 -0
  39. package/package.json +35 -28
  40. package/bundle/100.index.js +0 -1453
  41. package/bundle/12.index.js +0 -91
  42. package/bundle/213.index.js +0 -901
  43. package/bundle/306.index.js +0 -1037
  44. package/bundle/467.index.js +0 -222
  45. package/bundle/485.index.js +0 -85430
  46. package/bundle/515.index.js +0 -5191
  47. package/bundle/544.index.js +0 -792
  48. package/bundle/617.index.js +0 -1612
  49. package/bundle/660.index.js +0 -223
  50. package/bundle/688.index.js +0 -232
  51. package/bundle/756.index.js +0 -8595
  52. package/bundle/824.index.js +0 -385
  53. package/bundle/95.index.js +0 -264
@@ -0,0 +1,91 @@
1
+ # A Warp route secured by the combined LayerZero V2 hook/ISM (LayerZeroV2HookIsm).
2
+ # `hyperlane warp deploy` deploys one router per chain, enrolls every other
3
+ # chain, and installs it as both the Warp router's ISM and the LayerZero child
4
+ # of its aggregation hook. Contract behavior and trust assumptions are described
5
+ # in solidity/contracts/hooks/layerzero/README.md.
6
+ #
7
+ # endpoint: LayerZero Endpoint V2 on the chain.
8
+ # layerZeroDomainId: optional; must match the Endpoint's eid() when set.
9
+ # urls: CCIP-read endpoints of a ccip-server running the `layerzero` module.
10
+ # pathways: one entry per remote chain, enrolled as that chain's route:
11
+ # layerZeroDomainId: the remote chain's Endpoint ID (EID), which must match
12
+ # the remote Endpoint's eid(). It is neither its chain ID nor its domain.
13
+ # sendLibrary / receiveLibrary: message libraries selected for this route.
14
+ # sendConfig: Executor and send ULN (DVN) config for messages to the remote.
15
+ # receiveConfig: receive ULN (DVN) config for messages from the remote.
16
+ #
17
+ # Each Executor and ULN config is either `type: default`, which inherits the
18
+ # library's default for this route, or `type: override`, whose fields replace
19
+ # the default individually; an omitted field keeps inheriting it. The library
20
+ # owner can change its defaults, so `warp read` reports both the configured
21
+ # values (sendConfig, receiveConfig) and the effective values after defaults
22
+ # are applied (effectiveSendConfig, effectiveReceiveConfig). `warp check`
23
+ # compares only the configured values.
24
+ #
25
+ # A ULN override sets the block confirmations and DVNs it replaces. Setting
26
+ # `confirmations: 0` requires zero confirmations; omitting `confirmations`, or
27
+ # using `type: default`, inherits the library default. For example:
28
+ # uln:
29
+ # type: override
30
+ # confirmations: 15
31
+ # requiredDVNs: ['0x...']
32
+ # optionalDVNs: []
33
+ ---
34
+ ethereum:
35
+ type: native
36
+ owner: '0x1111111111111111111111111111111111111111'
37
+ mailbox: '0xc005dc82818d67AF737725bD4bf75435d065D239'
38
+ hook:
39
+ type: aggregationHook
40
+ hooks:
41
+ - type: defaultHook
42
+ - type: layerZeroV2Hook
43
+ interchainSecurityModule:
44
+ type: layerZeroV2Ism
45
+ owner: '0x1111111111111111111111111111111111111111'
46
+ endpoint: '0x1a44076050125825900e736c501f859c50fE728c'
47
+ layerZeroDomainId: 30101
48
+ urls:
49
+ - https://ccip-server.example.com/layerzero/getLayerZeroPacket
50
+ pathways:
51
+ arbitrum:
52
+ layerZeroDomainId: 30110
53
+ sendLibrary: '0xbB2Ea70C9E858123480642Cf96acbcCE1372dCe1'
54
+ receiveLibrary: '0xc02Ab410f0734EFa3F14628780e6e695156024C2'
55
+ sendConfig:
56
+ executor:
57
+ type: default
58
+ uln:
59
+ type: default
60
+ receiveConfig:
61
+ uln:
62
+ type: default
63
+ arbitrum:
64
+ type: synthetic
65
+ owner: '0x1111111111111111111111111111111111111111'
66
+ mailbox: '0x979Ca5202784112f4738403dBec5D0F3B9daabB9'
67
+ hook:
68
+ type: aggregationHook
69
+ hooks:
70
+ - type: defaultHook
71
+ - type: layerZeroV2Hook
72
+ interchainSecurityModule:
73
+ type: layerZeroV2Ism
74
+ owner: '0x1111111111111111111111111111111111111111'
75
+ endpoint: '0x1a44076050125825900e736c501f859c50fE728c'
76
+ layerZeroDomainId: 30110
77
+ urls:
78
+ - https://ccip-server.example.com/layerzero/getLayerZeroPacket
79
+ pathways:
80
+ ethereum:
81
+ layerZeroDomainId: 30101
82
+ sendLibrary: '0x975bcD720be66659e3EB3C0e4F1866a3020E493A'
83
+ receiveLibrary: '0x7B9E184e07a6EE1aC23eAe0fe8D6Be2f663f05e6'
84
+ sendConfig:
85
+ executor:
86
+ type: default
87
+ uln:
88
+ type: default
89
+ receiveConfig:
90
+ uln:
91
+ type: default
@@ -0,0 +1,21 @@
1
+ owner: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
2
+ defaultIsm:
3
+ type: compositeIsm
4
+ owner: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
5
+ root:
6
+ type: aggregation
7
+ threshold: 1
8
+ subIsms:
9
+ - type: trustedRelayer
10
+ relayer: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
11
+ - type: test
12
+ accept: true
13
+ defaultHook:
14
+ type: interchainGasPaymaster
15
+ owner: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
16
+ beneficiary: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
17
+ oracleKey: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
18
+ overhead: {}
19
+ oracleConfig: {}
20
+ requiredHook:
21
+ type: merkleTreeHook
@@ -0,0 +1,13 @@
1
+ type: interchainGasPaymaster
2
+ owner: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
3
+ beneficiary: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
4
+ oracleKey: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
5
+ overhead:
6
+ svmlocal1: 50000
7
+ oracleConfig:
8
+ svmlocal1:
9
+ gasPrice: '1'
10
+ tokenExchangeRate: '1000000000000000000'
11
+ contractVersion: '1.0.0'
12
+ quoteSigners:
13
+ - '0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
@@ -0,0 +1,21 @@
1
+ # Sealevel warp route whose ISM verifies each origin chain with its own
2
+ # message-id multisig (validators + threshold), held in a single deployment.
3
+ # Domain keys are chain names known to the registry. Adding a domain or
4
+ # changing a domain's validators/threshold updates the ISM in place; removing
5
+ # a domain deploys a new ISM and repoints the router to it.
6
+ svmlocal1:
7
+ type: native
8
+ owner: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
9
+ interchainSecurityModule:
10
+ type: routingMessageIdMultisigIsm
11
+ owner: 6ASf5EcmmEHTgDJ4X4ZT5vT6iHVJBXPg5AN5YoTCpGWt
12
+ domains:
13
+ anvil1:
14
+ validators:
15
+ - '0x1111111111111111111111111111111111111111'
16
+ - '0x2222222222222222222222222222222222222222'
17
+ threshold: 2
18
+ anvil2:
19
+ validators:
20
+ - '0x3333333333333333333333333333333333333333'
21
+ threshold: 1
@@ -0,0 +1,24 @@
1
+ base:
2
+ owner: '0x380ad2e410688e0153125d01a6af9c4C27F7F0eC'
3
+ mailbox: '0xeA87ae93Fa0019a82A727bfd3eBd1cFCa8f64f1D'
4
+ hook:
5
+ type: predicateHook
6
+ address: '0x9995F95aaA827347Bc2AAbF862dF75Ead6E8b97a'
7
+ interchainSecurityModule: '0x0000000000000000000000000000000000000000'
8
+ remoteRouters:
9
+ '1':
10
+ address: '0x0000000000000000000000005f72c2d341884ddf0f8a18155d8172f56ae1eeec'
11
+ name: USD Coin
12
+ symbol: USDC
13
+ decimals: 6
14
+ isNft: false
15
+ contractVersion: 10.1.5
16
+ type: collateral
17
+ token: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
18
+ allowedRebalancers: []
19
+ allowedRebalancingBridges: {}
20
+ proxyAdmin:
21
+ address: '0x475bB419502213fdb44d89ad94A1234fA3d7B2f9'
22
+ owner: '0x380ad2e410688e0153125d01a6af9c4C27F7F0eC'
23
+ destinationGas:
24
+ '1': '64000'
@@ -0,0 +1,14 @@
1
+ base:
2
+ type: collateral
3
+ token: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
4
+ mailbox: '0xeA87ae93Fa0019a82A727bfd3eBd1cFCa8f64f1D'
5
+ owner: '0x380ad2e410688e0153125d01a6af9c4C27F7F0eC'
6
+ predicateWrapper:
7
+ predicateRegistry: '0xe15a8Ca5BD8464283818088c1760d8f23B6a216E'
8
+ policyId: 'x-managed-policy-157b68744498ccac3201a806ef6036ac'
9
+ owner: '0x380ad2e410688e0153125d01a6af9c4C27F7F0eC'
10
+
11
+ ethereum:
12
+ type: synthetic
13
+ mailbox: '0xc005dc82818d67AF737725bD4bf75435d065D239'
14
+ owner: '0x380ad2e410688e0153125d01a6af9c4C27F7F0eC'
@@ -0,0 +1,19 @@
1
+ tokens:
2
+ - chainName: base
3
+ standard: EvmHypCollateral
4
+ decimals: 6
5
+ symbol: USDC
6
+ name: USD Coin
7
+ addressOrDenom: '0x659CAFbe5A0A5B8357192E7C280Fd1f77C28Bd9C'
8
+ collateralAddressOrDenom: '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913'
9
+ connections:
10
+ - token: 'ethereum|ethereum|0x5f72C2D341884Ddf0F8A18155d8172f56Ae1eEEc'
11
+
12
+ - chainName: ethereum
13
+ standard: EvmHypSynthetic
14
+ decimals: 6
15
+ symbol: USDC
16
+ name: USD Coin
17
+ addressOrDenom: '0x5f72C2D341884Ddf0F8A18155d8172f56Ae1eEEc'
18
+ connections:
19
+ - token: 'ethereum|base|0x659CAFbe5A0A5B8357192E7C280Fd1f77C28Bd9C'
@@ -0,0 +1,19 @@
1
+ ethereum:
2
+ owner: '0x380ad2e410688e0153125d01a6af9c4C27F7F0eC'
3
+ mailbox: '0xc005dc82818d67AF737725bD4bf75435d065D239'
4
+ hook: '0x0000000000000000000000000000000000000000'
5
+ interchainSecurityModule: '0x0000000000000000000000000000000000000000'
6
+ remoteRouters:
7
+ '8453':
8
+ address: '0x000000000000000000000000659cafbe5a0a5b8357192e7c280fd1f77c28bd9c'
9
+ name: USD Coin
10
+ symbol: USDC
11
+ decimals: 6
12
+ isNft: false
13
+ contractVersion: 10.1.5
14
+ type: synthetic
15
+ proxyAdmin:
16
+ address: '0x0fbF624e7FD62e01f83862AFdc6a33A6338dB857'
17
+ owner: '0x380ad2e410688e0153125d01a6af9c4C27F7F0eC'
18
+ destinationGas:
19
+ '8453': '68000'
@@ -0,0 +1,46 @@
1
+ # A Warp route secured by the combined Wormhole hook/ISM (WormholeVaaHookIsm).
2
+ # `hyperlane warp deploy` deploys one router per chain, enrolls every other
3
+ # chain, and installs it as both the Warp router's ISM and the Wormhole child
4
+ # of its aggregation hook.
5
+ #
6
+ # core: official Wormhole Core proxy on the chain.
7
+ # wormholeChainId: Wormhole chain ID that Core reports.
8
+ # consistencyLevel: zeroFinalized | instant | safe | finalized | custom.
9
+ # urls: CCIP-read endpoints of a ccip-server running the `wormhole` module.
10
+ ---
11
+ ethereum:
12
+ type: native
13
+ owner: '0x1111111111111111111111111111111111111111'
14
+ mailbox: '0xc005dc82818d67AF737725bD4bf75435d065D239'
15
+ hook:
16
+ type: aggregationHook
17
+ hooks:
18
+ - type: defaultHook
19
+ - type: wormholeHook
20
+ interchainSecurityModule:
21
+ type: wormholeIsm
22
+ owner: '0x1111111111111111111111111111111111111111'
23
+ core: '0x98f3c9e6E3fAce36bAAd05FE09d375Ef1464288B'
24
+ wormholeChainId: 2
25
+ consistencyLevel:
26
+ type: finalized
27
+ urls:
28
+ - https://ccip-server.example.com/wormhole/getWormholeVaa
29
+ base:
30
+ type: synthetic
31
+ owner: '0x1111111111111111111111111111111111111111'
32
+ mailbox: '0xeA87ae93Fa0019a82A727bfd3eBd1cFCa8f64f1D'
33
+ hook:
34
+ type: aggregationHook
35
+ hooks:
36
+ - type: defaultHook
37
+ - type: wormholeHook
38
+ interchainSecurityModule:
39
+ type: wormholeIsm
40
+ owner: '0x1111111111111111111111111111111111111111'
41
+ core: '0xbebdb6C8ddC678FfA9f8748f85C815C556Dd8ac6'
42
+ wormholeChainId: 30
43
+ consistencyLevel:
44
+ type: finalized
45
+ urls:
46
+ - https://ccip-server.example.com/wormhole/getWormholeVaa
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@humanode-hyperlane/cli",
3
- "version": "30.0.0",
3
+ "version": "1045.2.1",
4
4
  "description": "A command-line utility for common Hyperlane operations",
5
5
  "keywords": [
6
6
  "CLI",
@@ -11,7 +11,10 @@
11
11
  ],
12
12
  "homepage": "https://www.hyperlane.xyz",
13
13
  "license": "Apache-2.0",
14
- "repository": "https://github.com/humanode-network/hyperlane-monorepo",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "https://github.com/humanode-network/hyperlane-monorepo"
17
+ },
15
18
  "bin": {
16
19
  "hyperlane": "./bundle/index.js"
17
20
  },
@@ -31,18 +34,37 @@
31
34
  "@ethersproject/abi": "*",
32
35
  "@ethersproject/constants": "*",
33
36
  "@ethersproject/providers": "*",
34
- "@humanode-hyperlane/registry": "23.12.0",
37
+ "@humanode-hyperlane/aleo-sdk": "1045.2.0",
38
+ "@humanode-hyperlane/core": "1012.3.0",
39
+ "@humanode-hyperlane/cosmos-sdk": "1045.2.0",
40
+ "@humanode-hyperlane/deploy-sdk": "1011.0.3",
41
+ "@humanode-hyperlane/forking-sdk": "1010.0.3",
42
+ "@humanode-hyperlane/http-registry-server": "45.2.0",
43
+ "@humanode-hyperlane/provider-sdk": "1011.0.3",
44
+ "@humanode-hyperlane/radix-sdk": "1045.2.0",
45
+ "@humanode-hyperlane/rebalancer": "1029.1.1",
46
+ "@humanode-hyperlane/registry": "1026.3.1",
47
+ "@humanode-hyperlane/relayer": "1004.1.1",
48
+ "@humanode-hyperlane/sdk": "1045.2.1",
49
+ "@humanode-hyperlane/sealevel-sdk": "1045.2.0",
50
+ "@humanode-hyperlane/starknet-sdk": "1030.0.6",
51
+ "@humanode-hyperlane/tron-sdk": "1026.0.4",
52
+ "@humanode-hyperlane/tsconfig": "^45.2.0",
53
+ "@humanode-hyperlane/utils": "1045.2.0",
35
54
  "@inquirer/core": "9.0.10",
36
55
  "@inquirer/figures": "1.0.5",
37
56
  "@inquirer/prompts": "3.3.2",
38
57
  "@inquirer/search": "^3.0.1",
39
58
  "@inquirer/select": "^1.0.0",
40
59
  "@inquirer/type": "^1.0.0",
60
+ "@solana/kit": "^8.2.0",
61
+ "@solana/spl-token": "^0.4.9",
62
+ "@solana/web3.js": "^1.99.0",
41
63
  "@types/chai": "^4.3.11",
42
64
  "@types/chai-as-promised": "^8",
43
65
  "@types/lodash-es": "^4.17.12",
44
66
  "@types/mocha": "^10.0.1",
45
- "@types/node": "^24.10.9",
67
+ "@types/node": "^26.1.2",
46
68
  "@types/sinon": "^17.0.1",
47
69
  "@types/yargs": "^17.0.24",
48
70
  "@vercel/ncc": "^0.38.3",
@@ -56,44 +78,29 @@
56
78
  "execa": "^9.5.3",
57
79
  "latest-version": "^8.0.0",
58
80
  "lodash-es": "^4.17.21",
59
- "mocha": "^11.5.0",
60
- "oxfmt": "^0.42.0",
81
+ "mocha": "^11.7.6",
82
+ "oxfmt": "^0.62.0",
61
83
  "pino": "^8.19.0",
62
84
  "prom-client": "^14.0.1",
63
85
  "sinon": "^13.0.2",
64
86
  "terminal-link": "^3.0.0",
65
87
  "testcontainers": "11.12.0",
66
- "tsx": "^4.19.1",
67
- "typescript": "6.0.2",
88
+ "tsx": "^4.23.1",
89
+ "typescript": "npm:@typescript/typescript6@6.0.2",
68
90
  "viem": "^2.21.45",
69
91
  "yaml": "2.4.5",
70
92
  "yargs": "^17.7.2",
71
93
  "zksync-ethers": "^5.10.0",
72
- "zod": "^3.21.2",
73
- "zod-validation-error": "^3.3.0",
74
- "zx": "^8.1.4",
75
- "@humanode-hyperlane/core": "11.2.0",
76
- "@humanode-hyperlane/cosmos-sdk": "30.0.0",
77
- "@humanode-hyperlane/deploy-sdk": "4.2.3",
78
- "@humanode-hyperlane/aleo-sdk": "30.0.0",
79
- "@humanode-hyperlane/http-registry-server": "30.0.0",
80
- "@humanode-hyperlane/provider-sdk": "4.2.3",
81
- "@humanode-hyperlane/radix-sdk": "30.0.0",
82
- "@humanode-hyperlane/rebalancer": "27.2.2",
83
- "@humanode-hyperlane/sdk": "30.0.0",
84
- "@humanode-hyperlane/relayer": "1.1.15",
85
- "@humanode-hyperlane/starknet-sdk": "27.2.3",
86
- "@humanode-hyperlane/tsconfig": "^30.0.0",
87
- "@humanode-hyperlane/tron-sdk": "22.1.7",
88
- "@humanode-hyperlane/utils": "30.0.0",
89
- "@humanode-hyperlane/sealevel-sdk": "30.0.0"
94
+ "zod": "^4.5.4",
95
+ "zx": "^8.1.4"
90
96
  },
91
97
  "engines": {
92
- "node": ">=16"
98
+ "node": ">=22"
93
99
  },
94
100
  "scripts": {
95
101
  "hyperlane": "node ./dist/cli.js",
96
- "build": "pnpm version:update && tsc",
102
+ "build": "pnpm version:update && NODE_OPTIONS='--max-old-space-size=4096' tsc",
103
+ "check": "NODE_OPTIONS='--max-old-space-size=4096' tsc --noEmit",
97
104
  "bundle": "rm -rf ./bundle && ncc build ./dist/cli.js -o bundle && node ../../scripts/ncc.post-bundle.mjs",
98
105
  "dev": "pnpm version:update && tsc --watch",
99
106
  "clean": "rm -rf ./dist && rm -rf ./bundle",