From bc714200c3e58ccc16d0831a52f8e32e7fbe0c8a Mon Sep 17 00:00:00 2001 From: Nikola Pavlov Date: Tue, 17 Dec 2024 10:11:36 +0100 Subject: [PATCH] feat: update naming convention from zkSync to ZKSync --- README.md | 49 ++++++++++--------- components/EcosystemBlock.vue | 2 +- components/header/HelpModal.vue | 2 +- components/header/MobileAccountNavigation.vue | 2 +- components/modal/LegalNotice.vue | 2 +- components/modal/NetworkChangedWarning.vue | 2 +- components/token/TokenSelectModal.vue | 2 +- components/transaction/CustomBridge.vue | 2 +- composables/zksync/useTransaction.ts | 2 +- data/meta.ts | 12 ++--- data/networks.ts | 8 +-- data/wagmi.ts | 4 +- package.json | 2 +- pages/assets.vue | 4 +- .../actions/mainPage/actions-menu.feature | 4 +- .../mainPage/faucet/actions-faucet.feature | 2 +- .../assetsPage/artifacts-emptyWallet.feature | 2 +- .../artifacts/bridgePage/artifacts.feature | 20 ++++---- .../depositPage/artifacts-deposits.feature | 2 +- .../mainPage/artifacts-header.feature | 6 +-- .../mainPage/artifacts-menuitems.feature | 20 ++++---- .../artifacts-upperNavigarionMenu.feature | 18 +++---- .../transferPage/atrifacts-transfers.feature | 10 ++-- .../whereToSendPage/artifacts.feature | 12 ++--- .../withdrawPage/artifacts-withdraw.feature | 4 +- .../features/navigation/navigation.feature | 12 ++--- .../redirection/loginPage/redirection.feature | 4 +- .../redirection/mainPage/redirection.feature | 44 ++++++++--------- .../bridge-deposit-with-blockchain.feature | 6 +-- .../deposit/deposit-with-blockchain.feature | 10 ++-- .../features/transactions/transfer.feature | 4 +- .../features/transactions/withdraw.feature | 2 +- tests/e2e/src/pages/login.page.ts | 2 +- tests/e2e/src/pages/main.page.ts | 8 +-- tests/e2e/utils/metamaskId.json | 2 +- 35 files changed, 146 insertions(+), 143 deletions(-) diff --git a/README.md b/README.md index cebc28896..27dd69157 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ -![zkSync Portal](public/preview.png) +![ZKsync Portal](public/preview.png) -# zkSync Portal 🚀 +# ZKsync Portal 🚀 -**zkSync Portal** is a state-of-the-art dapp, merging the power of bridge, tokens manager and transaction history into one user-friendly interface. Designed with a stress on effortless user experience, it simplifies token management, making it your premier interface for interacting with both zkSync versions - every interaction smooth and efficient. +**ZKsync Portal** is a state-of-the-art dapp, merging the power of bridge, tokens manager and transaction history into one user-friendly interface. Designed with a stress on effortless user experience, it simplifies token management, making it your premier interface for interacting with both ZKsync versions - every interaction smooth and efficient. ## ✨ Features -- 🖥️ Intuitive interface for managing, sending, and bridging zkSync Era. +- 🖥️ Intuitive interface for managing, sending, and bridging ZKsync Era. - 📇 Ability to add contacts for quick and easy access. -- 🔧 Effortless setup and connection to local zkSync nodes or ZK Stack Hyperchains. +- 🔧 Effortless setup and connection to local ZKsync nodes or ZK Stack Hyperchains. ## 🎉 Try it out! @@ -18,29 +18,29 @@ ## 🌍 Connecting to local node -Harness the Portal's power to connect to your [local zkSync Era node](https://docs.zksync.io/zksync-node/quickstart). +Harness the Portal's power to connect to your [local ZKsync Era node](https://docs.zksync.io/zksync-node/quickstart). **Prerequisites:** Node.js version 16+, npm version 7+ 1. 📚 Follow the [documentation](https://docs.zksync.io/zksync-node/quickstart) for setting up either an **in-memory node** or **dockerized local setup**. 2. 🔄 Clone the Portal repository and set it up: - ```bash - git clone https://github.com/matter-labs/dapp-portal.git - cd dapp-portal - npm install - ``` + ```bash + git clone https://github.com/matter-labs/dapp-portal.git + cd dapp-portal + npm install + ``` 3. 🛠️ Modify the default network settings in `data/networks.ts` if your network ID, RPC URL, or other info differs. Customize displayed tokens there if needed. - - Alternatively, use the [configuration form](./hyperchains/README.md#configure-automatically-with-form) for guided config setup. + - Alternatively, use the [configuration form](./hyperchains/README.md#configure-automatically-with-form) for guided config setup. 4. 🔥 Launch the dev server: - - For in-memory node: - ```bash - npm run dev:node:memory - ``` - - For dockerized setup: - ```bash - npm run dev:node:docker - ``` - Navigate to the displayed Portal URL (typically http://localhost:3000). + - For in-memory node: + ```bash + npm run dev:node:memory + ``` + - For dockerized setup: + `bash +npm run dev:node:docker +` + Navigate to the displayed Portal URL (typically http://localhost:3000). --- @@ -55,18 +55,21 @@ To use Portal with your ZK Stack Hyperchain, see the guide [here](./hyperchains/ ### Advanced configuration #### L1 Balances: + By default, L1 balances are fetched via a public RPC. For faster loading speeds and reduced load on your L1 RPC provider, consider using [Ankr's RPC service](https://www.ankr.com/rpc/). Obtain an Ankr token and update the `.env` file: + ```bash ANKR_TOKEN=your_ankr_token_here ``` #### Wallet Connect Project Setup: + Before deploying your own version of the Portal, ensure you create your own Wallet Connect project on [walletconnect.com](https://walletconnect.com). After creating the project, update the project ID in the `.env` file: + ```bash WALLET_CONNECT_PROJECT_ID=your_project_id_here ``` - ### 🔧 Setup Ensure you've installed the necessary dependencies: @@ -103,4 +106,4 @@ Open arms for contributions! Enhance our code and send your pull request [here]( ## 📜 License -Proudly under the [MIT License](https://github.com/matter-labs/dapp-portal/blob/main/LICENSE). \ No newline at end of file +Proudly under the [MIT License](https://github.com/matter-labs/dapp-portal/blob/main/LICENSE). diff --git a/components/EcosystemBlock.vue b/components/EcosystemBlock.vue index 7a004423c..3985f4ac7 100644 --- a/components/EcosystemBlock.vue +++ b/components/EcosystemBlock.vue @@ -8,7 +8,7 @@ >