Skip to content

Commit 0be77af

Browse files
authored
chore: add temporary local relayer binary and make target
2 parents fe45040 + 6044771 commit 0be77af

File tree

4 files changed

+115
-1
lines changed

4 files changed

+115
-1
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33
build
44
/target
55
*.bin
6-
bin
6+
bin
7+
8+
**/hyperlane_db

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ start:
8686
@docker compose up --detach
8787
.PHONY: start
8888

89+
## relay-local: Start a local instance of the hyperlane relayer (NOTE: This is temporary and should be removed in favour of Docker).
90+
relay-local:
91+
@echo "--> Starting hyperlane relayer"
92+
@cd local && CONFIG_FILES=./config/config.json ./relayer
93+
.PHONY: relay-local
94+
8995
## setup: Set up the IBC light clients.
9096
setup:
9197
@echo "--> Creating genesis.json for Tendermint light client"

local/config/config.json

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
{
2+
"chains": {
3+
"rethlocal": {
4+
"blocks": {
5+
"confirmations": 1,
6+
"estimateBlockTime": 3,
7+
"reorgPeriod": 0
8+
},
9+
"chainId": 1234,
10+
"displayName": "Reth",
11+
"domainId": 1234,
12+
"isTestnet": true,
13+
"name": "rethlocal",
14+
"nativeToken": {
15+
"decimals": 18,
16+
"name": "Ether",
17+
"symbol": "ETH"
18+
},
19+
"protocol": "ethereum",
20+
"rpcUrls": [
21+
{
22+
"http": "http://127.0.0.1:8545"
23+
}
24+
],
25+
"signer": {
26+
"type": "hexKey",
27+
"key": "0x82bfcfadbf1712f6550d8d2c00a39f05b33ec78939d0167be2a737d691f33a6a"
28+
},
29+
"aggregationHook": "0xe53275A1FcA119e1c5eeB32E7a72e54835A63936",
30+
"domainRoutingIsm": "0xE2c1756b8825C54638f98425c113b51730cc47f6",
31+
"fallbackRoutingHook": "0xE2c1756b8825C54638f98425c113b51730cc47f6",
32+
"interchainGasPaymaster": "0x1D957dA7A6988f5a9d2D2454637B4B7fea0Aeea5",
33+
"interchainSecurityModule": "0xa05915fD6E32A1AA7E67d800164CaCB12487142d",
34+
"mailbox": "0xb1c938F5BA4B3593377F399e12175e8db0C787Ff",
35+
"merkleTreeHook": "0xFCb1d485ef46344029D9E8A7925925e146B3430E",
36+
"protocolFee": "0x8A93d247134d91e0de6f96547cB0204e5BE8e5D8",
37+
"proxyAdmin": "0x7e7aD18Adc99b94d4c728fDf13D4dE97B926A0D8",
38+
"storageGasOracle": "0x457cCf29090fe5A24c19c1bc95F492168C0EaFdb",
39+
"testRecipient": "0xd7958B336f0019081Ad2279B2B7B7c3f744Bce0a",
40+
"validatorAnnounce": "0x79ec7bF05AF122D3782934d4Fb94eE32f0C01c97"
41+
},
42+
"celestia": {
43+
"bech32Prefix": "celestia",
44+
"blocks": {
45+
"confirmations": 1,
46+
"estimateBlockTime": 6,
47+
"reorgPeriod": 1
48+
},
49+
"canonicalAsset": "utia",
50+
"chainId": "celestia-zkevm-testnet",
51+
"contractAddressBytes": 32,
52+
"deployer": {
53+
"name": "Damian",
54+
"url": "https://github.com/damiannolan"
55+
},
56+
"displayName": "Celestia ZKEVM Testnet",
57+
"domainId": 69420,
58+
"gasPrice": {
59+
"denom": "utia",
60+
"amount": "0.002"
61+
},
62+
"index": {
63+
"from": 1150,
64+
"chunk": 10
65+
},
66+
"isTestnet": true,
67+
"name": "celestia",
68+
"nativeToken": {
69+
"decimals": 6,
70+
"denom": "utia",
71+
"name": "TIA",
72+
"symbol": "TIA"
73+
},
74+
"protocol": "cosmosnative",
75+
"restUrls": [
76+
{
77+
"http": "http://127.0.0.1:1317"
78+
}
79+
],
80+
"rpcUrls": [
81+
{
82+
"http": "http://127.0.0.1:26657"
83+
}
84+
],
85+
"signer": {
86+
"type": "cosmosKey",
87+
"key": "0x748bcf364b62ac9b74c2bc13e2d429c5b85a3b3ddd8089b873369c1e38fcb10e",
88+
"prefix": "celestia"
89+
},
90+
"slip44": 118,
91+
"technicalStack": "other",
92+
"interchainSecurityModule": "0x726f757465725f69736d00000000000000000000000000000000000000000000",
93+
"mailbox": "0x68797065726c616e650000000000000000000000000000000000000000000000",
94+
"interchainGasPaymaster": "0x726f757465725f706f73745f6469737061746368000000000000000000000000",
95+
"merkleTreeHook": "0x726f757465725f706f73745f6469737061746368000000030000000000000001",
96+
"validatorAnnounce": "0x68797065726c616e650000000000000000000000000000000000000000000000",
97+
"grpcUrls": [
98+
{
99+
"http": "http://127.0.0.1:9090"
100+
}
101+
]
102+
}
103+
},
104+
"defaultRpcConsensusType": "fallback",
105+
"relayChains": "rethlocal,celestia"
106+
}

local/relayer

81.4 MB
Binary file not shown.

0 commit comments

Comments
 (0)