Merge pull request #222 from hyperlane-xyz/ltyu/main-to-ezeth-3

chore: merge 5.1.0 main to ezeth
pull/225/head
Lee 2 months ago committed by GitHub
commit 902998bdb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      .gitignore
  2. 13
      README.md
  3. 6
      package.json
  4. 78
      yarn.lock

2
.gitignore vendored

@ -38,3 +38,5 @@ yarn-error.log*
# typescript
*.tsbuildinfo
.idea

@ -18,6 +18,7 @@ See [CUSTOMIZE.md](./CUSTOMIZE.md) for details about adjusting the tokens and br
### Setup
#### Build
```sh
# Install dependencies
yarn
@ -26,13 +27,25 @@ yarn
yarn build
```
#### Configure
You need a `projectId` from the WalletConnect Cloud to run the Hyperlane Warp Route UI successfully.
Sign up to [WalletConnect Cloud](https://cloud.walletconnect.com/), create
new project with AppKit and Next.js and copy the `projectId` from there.
### Run
You can add `.env.local` file next to `.env.example` where you set `projectId` copied from WalletConnect Cloud.
```sh
# Start the Next dev server
yarn dev
```
Or you can set the WalletConnect Cloud `projectId` to use as follows:
```
NEXT_PUBLIC_WALLET_CONNECT_ID=<projectId> yarn dev
```
### Test
```sh

@ -17,9 +17,9 @@
"@emotion/styled": "^11.13.0",
"@headlessui/react": "^1.7.14",
"@hyperlane-xyz/registry": "2.5.0",
"@hyperlane-xyz/sdk": "5.0.0-beta.2",
"@hyperlane-xyz/utils": "5.0.0-beta.2",
"@hyperlane-xyz/widgets": "5.0.0-beta.2",
"@hyperlane-xyz/sdk": "5.1.0",
"@hyperlane-xyz/utils": "5.1.0",
"@hyperlane-xyz/widgets": "5.1.0",
"@interchain-ui/react": "^1.23.28",
"@metamask/jazzicon": "https://github.com/jmrossy/jazzicon#7a8df28974b4e81129bfbe3cab76308b889032a6",
"@metamask/post-message-stream": "6.1.2",

@ -48,6 +48,19 @@ __metadata:
languageName: node
linkType: hard
"@arbitrum/sdk@npm:^4.0.0":
version: 4.0.1
resolution: "@arbitrum/sdk@npm:4.0.1"
dependencies:
"@ethersproject/address": "npm:^5.0.8"
"@ethersproject/bignumber": "npm:^5.1.1"
"@ethersproject/bytes": "npm:^5.0.8"
async-mutex: "npm:^0.4.0"
ethers: "npm:^5.1.0"
checksum: 3d81f8645022f723f36dd8711493f8bddd5f4306e7ed2d1a31b34091492f0be972bae03d3abef5dbf6b230e01e1693c826e6e624ae831f3bfe6cf42166f14350
languageName: node
linkType: hard
"@aws-crypto/crc32@npm:3.0.0":
version: 3.0.0
resolution: "@aws-crypto/crc32@npm:3.0.0"
@ -3376,7 +3389,7 @@ __metadata:
languageName: node
linkType: hard
"@ethersproject/address@npm:5.7.0, @ethersproject/address@npm:^5.6.0, @ethersproject/address@npm:^5.7.0":
"@ethersproject/address@npm:5.7.0, @ethersproject/address@npm:^5.0.8, @ethersproject/address@npm:^5.6.0, @ethersproject/address@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/address@npm:5.7.0"
dependencies:
@ -3408,7 +3421,7 @@ __metadata:
languageName: node
linkType: hard
"@ethersproject/bignumber@npm:5.7.0, @ethersproject/bignumber@npm:^5.7.0":
"@ethersproject/bignumber@npm:5.7.0, @ethersproject/bignumber@npm:^5.1.1, @ethersproject/bignumber@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/bignumber@npm:5.7.0"
dependencies:
@ -3419,7 +3432,7 @@ __metadata:
languageName: node
linkType: hard
"@ethersproject/bytes@npm:5.7.0, @ethersproject/bytes@npm:^5.7.0":
"@ethersproject/bytes@npm:5.7.0, @ethersproject/bytes@npm:^5.0.8, @ethersproject/bytes@npm:^5.7.0":
version: 5.7.0
resolution: "@ethersproject/bytes@npm:5.7.0"
dependencies:
@ -3906,13 +3919,13 @@ __metadata:
languageName: node
linkType: hard
"@hyperlane-xyz/core@npm:5.0.0-beta.2":
version: 5.0.0-beta.2
resolution: "@hyperlane-xyz/core@npm:5.0.0-beta.2"
"@hyperlane-xyz/core@npm:5.1.0":
version: 5.1.0
resolution: "@hyperlane-xyz/core@npm:5.1.0"
dependencies:
"@arbitrum/nitro-contracts": "npm:^1.2.1"
"@eth-optimism/contracts": "npm:^0.6.0"
"@hyperlane-xyz/utils": "npm:5.0.0-beta.2"
"@hyperlane-xyz/utils": "npm:5.1.0"
"@layerzerolabs/lz-evm-oapp-v2": "npm:2.0.2"
"@openzeppelin/contracts": "npm:^4.9.3"
"@openzeppelin/contracts-upgradeable": "npm:^v4.9.3"
@ -3921,17 +3934,7 @@ __metadata:
"@ethersproject/abi": "*"
"@ethersproject/providers": "*"
"@types/sinon-chai": "*"
checksum: 5da62ecf9d033ce5d373bb0b99ee0f8b6d8d2aa0bfdf4923b3bdd45978b6be214b00fa7d0ce31b66103c674108659a41c1c6b2edf04a3a3987c5e9e05d45bf14
languageName: node
linkType: hard
"@hyperlane-xyz/registry@npm:2.4.0":
version: 2.4.0
resolution: "@hyperlane-xyz/registry@npm:2.4.0"
dependencies:
yaml: "npm:^2"
zod: "npm:^3.21.2"
checksum: 18541e1b2d20a0e750d58e37e043bc22b9683cfc68de7865d2c8d269c50d3ee2255029530b15b61f93e854a18d36a3e367011286c3c1456730fb3362d74f31ac
checksum: 81fd921a06b0d289070afac8e352d8dd38bf9219dea62e6fa3dcc2082b0ae39c23810fb4fe669b1933566fa1dfb7930f25307cbca2361b7e848152e9dc4e6014
languageName: node
linkType: hard
@ -3945,15 +3948,16 @@ __metadata:
languageName: node
linkType: hard
"@hyperlane-xyz/sdk@npm:5.0.0-beta.2":
version: 5.0.0-beta.2
resolution: "@hyperlane-xyz/sdk@npm:5.0.0-beta.2"
"@hyperlane-xyz/sdk@npm:5.1.0":
version: 5.1.0
resolution: "@hyperlane-xyz/sdk@npm:5.1.0"
dependencies:
"@arbitrum/sdk": "npm:^4.0.0"
"@aws-sdk/client-s3": "npm:^3.74.0"
"@cosmjs/cosmwasm-stargate": "npm:^0.32.4"
"@cosmjs/stargate": "npm:^0.32.4"
"@hyperlane-xyz/core": "npm:5.0.0-beta.2"
"@hyperlane-xyz/utils": "npm:5.0.0-beta.2"
"@hyperlane-xyz/core": "npm:5.1.0"
"@hyperlane-xyz/utils": "npm:5.1.0"
"@safe-global/api-kit": "npm:1.3.0"
"@safe-global/protocol-kit": "npm:1.3.0"
"@solana/spl-token": "npm:^0.3.8"
@ -3971,13 +3975,13 @@ __metadata:
peerDependencies:
"@ethersproject/abi": "*"
"@ethersproject/providers": "*"
checksum: 25ffc810b3e41d52ea13dc5b9544dc2b244f9df201f1c73c782b12a7c6e036ed6d14f38023d4ffc05817cf1f092095514f2f25691f46ed809e9a39d7ff58cfbe
checksum: 80aaa6836fc1aaa1c10c69b7d80d960daeef9074c763fb2f1161f8d921ca344207117c4a21312ed6bdd80cba6e85ca30c75abab7992273c6da2ff4a953619400
languageName: node
linkType: hard
"@hyperlane-xyz/utils@npm:5.0.0-beta.2":
version: 5.0.0-beta.2
resolution: "@hyperlane-xyz/utils@npm:5.0.0-beta.2"
"@hyperlane-xyz/utils@npm:5.1.0":
version: 5.1.0
resolution: "@hyperlane-xyz/utils@npm:5.1.0"
dependencies:
"@cosmjs/encoding": "npm:^0.32.4"
"@solana/web3.js": "npm:^1.78.0"
@ -3986,7 +3990,7 @@ __metadata:
lodash-es: "npm:^4.17.21"
pino: "npm:^8.19.0"
yaml: "npm:^2.4.1"
checksum: 28171da9bb153652599d1218384425205ce9571dbca0978c721ac46e64cd541a36f45dac326c93ae1be7372dcff3c16c845329c4467f856f9c43c08ff2a61d23
checksum: 3a29c91b0fd8be48833743150299425e26fcf19f6bdbfddddf39e8480cc6587d9c525298d6aaa522a9c854954fb197ef7a11b237b4d48f88c20a75a319453914
languageName: node
linkType: hard
@ -4007,9 +4011,9 @@ __metadata:
"@emotion/styled": "npm:^11.13.0"
"@headlessui/react": "npm:^1.7.14"
"@hyperlane-xyz/registry": "npm:2.5.0"
"@hyperlane-xyz/sdk": "npm:5.0.0-beta.2"
"@hyperlane-xyz/utils": "npm:5.0.0-beta.2"
"@hyperlane-xyz/widgets": "npm:5.0.0-beta.2"
"@hyperlane-xyz/sdk": "npm:5.1.0"
"@hyperlane-xyz/utils": "npm:5.1.0"
"@hyperlane-xyz/widgets": "npm:5.1.0"
"@interchain-ui/react": "npm:^1.23.28"
"@metamask/jazzicon": "https://github.com/jmrossy/jazzicon#7a8df28974b4e81129bfbe3cab76308b889032a6"
"@metamask/post-message-stream": "npm:6.1.2"
@ -4061,16 +4065,16 @@ __metadata:
languageName: unknown
linkType: soft
"@hyperlane-xyz/widgets@npm:5.0.0-beta.2":
version: 5.0.0-beta.2
resolution: "@hyperlane-xyz/widgets@npm:5.0.0-beta.2"
"@hyperlane-xyz/widgets@npm:5.1.0":
version: 5.1.0
resolution: "@hyperlane-xyz/widgets@npm:5.1.0"
dependencies:
"@hyperlane-xyz/registry": "npm:2.4.0"
"@hyperlane-xyz/sdk": "npm:5.0.0-beta.2"
"@hyperlane-xyz/registry": "npm:2.5.0"
"@hyperlane-xyz/sdk": "npm:5.1.0"
peerDependencies:
react: ^18
react-dom: ^18
checksum: f0f94411fc89d6d186fa556ae45e6075018099db8ea77fe4c4e442cc818bf475cb562a32b2de079a1bbad44d9c20799d5d6f15cea0f0688ee4b12582e84996b7
checksum: 7a7a28129fa55ea1852f33dc16a527873252e10cf9d6bcc791864c2c9b9cd1c4ea1ef1ecc1a4d3d8a580613ad99548ed33d462eb49da7caf2719f9272e54ec43
languageName: node
linkType: hard

Loading…
Cancel
Save