Skip to content

Commit

Permalink
feat: more info to replace
Browse files Browse the repository at this point in the history
  • Loading branch information
byeongsu-hong committed Feb 28, 2024
1 parent 56e2700 commit 57e78ea
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 10 deletions.
13 changes: 10 additions & 3 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,17 @@ $ yarn cw-hpl deploy -n osmo-test-5

## 4. Setup Validator / Relayer config

Replace every `{private_key}` from files below with your Sepolia Testnet private key.
Replace every `{sepolia_private_key}` and `{osmosis_private_key}` from files below with your private key.

- [./hyperlane/relayer.json](./hyperlane/relayer.json)
- [./hyperlane/validator.sepolia.json](./hyperlane/validator.sepolia.json)
- Sepolia Testnet (`{sepolia_private_key}`)

* [./hyperlane/relayer.json](./hyperlane/relayer.json)
* [./hyperlane/validator.sepolia.json](./hyperlane/validator.sepolia.json)

- Osmosis Testnet (`{osmosis_private_key}`)

* [./hyperlane/relayer.json](./hyperlane/relayer.json)
* [./hyperlane/validator.osmotest5.json](./hyperlane/validator.osmotest5.json)

And run with below command.

Expand Down
8 changes: 4 additions & 4 deletions example/hyperlane/relayer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"db": "/etc/data/db",
"relayChains": "localosmosis,sepolia",
"relayChains": "osmotest5,sepolia",
"allowLocalCheckpointSyncers": "true",
"gasPaymentEnforcement": [{ "type": "none" }],
"whitelist": [
Expand All @@ -17,13 +17,13 @@
"sepolia": {
"signer": {
"type": "hexKey",
"key": "{private_key}"
"key": "{sepolia_private_key}"
}
},
"localosmosis": {
"osmotest5": {
"signer": {
"type": "cosmosKey",
"key": "{private_key}",
"key": "{osmosis_private_key}",
"prefix": "osmo"
}
}
Expand Down
4 changes: 2 additions & 2 deletions example/hyperlane/validator.osmotest5.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"originChainName": "osmotest5",
"validator": {
"type": "hexKey",
"key": "{private_key}"
"key": "{osmosis_private_key}"
},
"chains": {
"osmotest5": {
"signer": {
"type": "cosmosKey",
"key": "{private_key}",
"key": "{osmosis_private_key}",
"prefix": "osmo"
}
}
Expand Down
2 changes: 1 addition & 1 deletion example/hyperlane/validator.sepolia.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"originChainName": "sepolia",
"validator": {
"signerType": "hexKey",
"key": "{private_key}",
"key": "{sepolia_private_key}",
"type": "hexKey"
}
}

0 comments on commit 57e78ea

Please sign in to comment.