From 495af905ecfd18b709eda0acf4b857655ecf633e Mon Sep 17 00:00:00 2001 From: Arman Aurobindo <66505181+armanthepythonguy@users.noreply.github.com> Date: Sun, 4 Feb 2024 11:34:25 +0530 Subject: [PATCH 1/5] tips for custom chains in warp routes --- docs/guides/deploy-warp-route.mdx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/guides/deploy-warp-route.mdx b/docs/guides/deploy-warp-route.mdx index 952bd161..438a5ffe 100644 --- a/docs/guides/deploy-warp-route.mdx +++ b/docs/guides/deploy-warp-route.mdx @@ -35,6 +35,11 @@ hyperlane config create warp If your config looks correct, you can now skip to [Step 2: Deployment](#2-deployment). Or see below for details on how to define your config manually. +If you want to use some custom chains in your warp route deployment use the --chains flag +```bash +hyperlane config create warp --chains +``` + ::: #### Base @@ -90,6 +95,15 @@ Run the following command to initiate the Warp Route deployment: hyperlane deploy warp ``` +:::tip + +If you are using some custom chains in your warp route config use the --chains flag while deploying +```bash +hyperlane deploy warp --chains +``` + +::: + Once finished, the CLI will create two new JSON artifact files: `warp-deployment` and `warp-ui-token-config`. The first contains just addresses for the newly deployed Warp router contracts. The second is a config file for the Warp UI, which you can use for the next optional step. ## 3. Testing From e1dc3efb5af4bae2a46256b9827e012b33fd14ae Mon Sep 17 00:00:00 2001 From: Arman Aurobindo <66505181+armanthepythonguy@users.noreply.github.com> Date: Mon, 5 Feb 2024 23:30:03 +0530 Subject: [PATCH 2/5] Update docs/guides/deploy-warp-route.mdx Co-authored-by: Paul Balaji --- docs/guides/deploy-warp-route.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/deploy-warp-route.mdx b/docs/guides/deploy-warp-route.mdx index 438a5ffe..3ee54326 100644 --- a/docs/guides/deploy-warp-route.mdx +++ b/docs/guides/deploy-warp-route.mdx @@ -35,7 +35,7 @@ hyperlane config create warp If your config looks correct, you can now skip to [Step 2: Deployment](#2-deployment). Or see below for details on how to define your config manually. -If you want to use some custom chains in your warp route deployment use the --chains flag +If you want to use custom chains in your Warp Route config, use the `--chains` flag. ```bash hyperlane config create warp --chains ``` From 7f82a280bf91c6e2c5ecce27b2ff9f9595bc8617 Mon Sep 17 00:00:00 2001 From: Arman Aurobindo <66505181+armanthepythonguy@users.noreply.github.com> Date: Mon, 5 Feb 2024 23:30:12 +0530 Subject: [PATCH 3/5] Update docs/guides/deploy-warp-route.mdx Co-authored-by: Paul Balaji --- docs/guides/deploy-warp-route.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/deploy-warp-route.mdx b/docs/guides/deploy-warp-route.mdx index 3ee54326..b6332d34 100644 --- a/docs/guides/deploy-warp-route.mdx +++ b/docs/guides/deploy-warp-route.mdx @@ -97,7 +97,7 @@ hyperlane deploy warp :::tip -If you are using some custom chains in your warp route config use the --chains flag while deploying +If you are using custom chains in your Warp Route config, don't forget to use the `--chains` flag. ```bash hyperlane deploy warp --chains ``` From c83af297beccc221310f0912f017a34db9c45a4a Mon Sep 17 00:00:00 2001 From: Arman Aurobindo <66505181+armanthepythonguy@users.noreply.github.com> Date: Mon, 5 Feb 2024 23:52:35 +0530 Subject: [PATCH 4/5] Update deploy-warp-route.mdx --- docs/guides/deploy-warp-route.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/guides/deploy-warp-route.mdx b/docs/guides/deploy-warp-route.mdx index b6332d34..e831dc3f 100644 --- a/docs/guides/deploy-warp-route.mdx +++ b/docs/guides/deploy-warp-route.mdx @@ -24,7 +24,7 @@ To deploy the route, you will need a Warp Route config file. A valid config will * _Optional:_ Hyperlane connection details including contract addresses for the [mailbox](../reference/messaging/messaging-interface.mdx), [interchain gas](../reference/hooks/interchain-gas.mdx), and [interchain security modules](../reference/ISM/specify-your-ISM.mdx). * _Optional:_ The token standard - fungible tokens using ERC20 or NFTs using ERC721. Defaults to ERC20. -The easiest way to create one is with the CLI's config comamnd: +The easiest way to create one is with the CLI's config command: ```bash hyperlane config create warp @@ -35,7 +35,7 @@ hyperlane config create warp If your config looks correct, you can now skip to [Step 2: Deployment](#2-deployment). Or see below for details on how to define your config manually. -If you want to use custom chains in your Warp Route config, use the `--chains` flag. +If you want to use [custom chains](../deploy-hyperlane.mdx) in your Warp Route config, use the `--chains` flag. ```bash hyperlane config create warp --chains ``` @@ -97,7 +97,7 @@ hyperlane deploy warp :::tip -If you are using custom chains in your Warp Route config, don't forget to use the `--chains` flag. +If you are using [custom chains](../deploy-hyperlane.mdx) in your Warp Route config, don't forget to use the `--chains` flag. ```bash hyperlane deploy warp --chains ``` From ecaff2d7dd03ed884a435adaa29bc994be97e049 Mon Sep 17 00:00:00 2001 From: Arman Aurobindo <66505181+armanthepythonguy@users.noreply.github.com> Date: Sat, 17 Feb 2024 01:20:22 +0530 Subject: [PATCH 5/5] Update deploy-warp-route.mdx --- docs/guides/deploy-warp-route.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guides/deploy-warp-route.mdx b/docs/guides/deploy-warp-route.mdx index e831dc3f..9807bb44 100644 --- a/docs/guides/deploy-warp-route.mdx +++ b/docs/guides/deploy-warp-route.mdx @@ -35,7 +35,7 @@ hyperlane config create warp If your config looks correct, you can now skip to [Step 2: Deployment](#2-deployment). Or see below for details on how to define your config manually. -If you want to use [custom chains](../deploy-hyperlane.mdx) in your Warp Route config, use the `--chains` flag. +If you want to use custom chains(To use custom chains, first you need to [deploy Hyperlane](../deploy-hyperlane.mdx) onto your chain) in your Warp Route config, use the `--chains` flag. ```bash hyperlane config create warp --chains ``` @@ -97,7 +97,7 @@ hyperlane deploy warp :::tip -If you are using [custom chains](../deploy-hyperlane.mdx) in your Warp Route config, don't forget to use the `--chains` flag. +If you are using custom chains(To use custom chains, first you need to [deploy Hyperlane](../deploy-hyperlane.mdx) onto your chain) in your Warp Route config, don't forget to use the `--chains` flag. ```bash hyperlane deploy warp --chains ```