From e231a4bcedeaf73e8fade8ff215e37b09f7d21a3 Mon Sep 17 00:00:00 2001 From: BLUECODESZ Date: Tue, 12 Aug 2025 15:14:53 +0530 Subject: [PATCH 1/2] Create SAMPLE --- SAMPLE | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 SAMPLE diff --git a/SAMPLE b/SAMPLE new file mode 100644 index 0000000..be019fd --- /dev/null +++ b/SAMPLE @@ -0,0 +1,59 @@ +#!/bin/bash + +curl -s https://raw.githubusercontent.com/zunxbt/logo/main/logo.sh | bash +sleep 3 + +show() { + echo -e "\033[1;35m$1\033[0m" +} + +show "Installing NVM, Node and npm..." +source <(wget -O - https://raw.githubusercontent.com/zunxbt/installation/main/node.sh) + +npm install -g yarn + +show "Installing Hyperlane..." +rm -rf hyperlane-monorepo && git clone https://github.com/hyperlane-xyz/hyperlane-monorepo.git && cd hyperlane-monorepo && yarn install && yarn build && cd typescript/cli + + +read -p "Enter your private key: " PVT_KEY +read -p "Enter your wallet address of the above private key: " WALLET + +export HYP_KEY="$PVT_KEY" + +mkdir -p ./configs + +cat < ./configs/warp-route-deployment.yaml +base: + interchainSecurityModule: + modules: + - relayer: "$WALLET" + type: trustedRelayerIsm + - domains: {} + owner: "$WALLET" + type: defaultFallbackRoutingIsm + threshold: 1 + type: staticAggregationIsm + isNft: false + mailbox: "0xeA87ae93Fa0019a82A727bfd3eBd1cFCa8f64f1D" + owner: "$WALLET" + token: "0x532f27101965dd16442e59d40670faf5ebb142e4" + type: collateral +zoramainnet: + interchainSecurityModule: + modules: + - relayer: "$WALLET" + type: trustedRelayerIsm + - domains: {} + owner: "$WALLET" + type: defaultFallbackRoutingIsm + threshold: 1 + type: staticAggregationIsm + isNft: false + mailbox: "0xF5da68b2577EF5C0A0D98aA2a58483a68C2f232a" + owner: "$WALLET" + type: synthetic +EOF + +show "Deploying using Hyperlane..." +yarn hyperlane warp deploy From 957322dd97ff0dfef49de5a20462cdc70cf0bcdf Mon Sep 17 00:00:00 2001 From: BLUECODESZ Date: Tue, 12 Aug 2025 15:16:21 +0530 Subject: [PATCH 2/2] Update SAMPLE --- SAMPLE | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/SAMPLE b/SAMPLE index be019fd..61ef1d9 100644 --- a/SAMPLE +++ b/SAMPLE @@ -16,6 +16,67 @@ show "Installing Hyperlane..." rm -rf hyperlane-monorepo && git clone https://github.com/hyperlane-xyz/hyperlane-monorepo.git && cd hyperlane-monorepo && yarn install && yarn build && cd typescript/cli +read -p "Enter your private key: " PVT_KEY +read -p "Enter your wallet address of the above private key: " WALLET + +export HYP_KEY="$PVT_KEY" + +mkdir -p ./configs + +cat < ./configs/warp-route-deployment.yaml +base: + interchainSecurityModule: + modules: + - relayer: "$WALLET" + type: trustedRelayerIsm + - domains: {} + owner: "$WALLET" + type: defaultFallbackRoutingIsm + threshold: 1 + type: staticAggregationIsm + isNft: false + mailbox: "0xeA87ae93Fa0019a82A727bfd3eBd1cFCa8f64f1D" + owner: "$WALLET" + token: "0x532f27101965dd16442e59d40670faf5ebb142e4" + type: collateral +zoramainnet: + interchainSecurityModule: + modules: + - relayer: "$WALLET" + type: trustedRelayerIsm + - domains: {} + owner: "$WALLET" + type: defaultFallbackRoutingIsm + threshold: 1 + type: staticAggregationIsm + isNft: false + mailbox: "0xF5da68b2577EF5C0A0D98aA2a58483a68C2f232a" + owner: "$WALLET" + type: synthetic +EOF + +show "Deploying using Hyperlane..." + +yarn hyperlane warp deploy + +#!/bin/bash + +curl -s https://raw.githubusercontent.com/zunxbt/logo/main/logo.sh | bash +sleep 3 + +show() { + echo -e "\033[1;35m$1\033[0m" +} + +show "Installing NVM, Node and npm..." +source <(wget -O - https://raw.githubusercontent.com/zunxbt/installation/main/node.sh) + +npm install -g yarn + +show "Installing Hyperlane..." +rm -rf hyperlane-monorepo && git clone https://github.com/hyperlane-xyz/hyperlane-monorepo.git && cd hyperlane-monorepo && yarn install && yarn build && cd typescript/cli + + read -p "Enter your private key: " PVT_KEY read -p "Enter your wallet address of the above private key: " WALLET