From f90ef7a2cf0c29c382da11b5c6736a0b62971977 Mon Sep 17 00:00:00 2001 From: valle-xyz Date: Wed, 6 Nov 2024 11:09:53 +0100 Subject: [PATCH] add note --- pages/core-api/safe-contracts-deployment.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pages/core-api/safe-contracts-deployment.mdx b/pages/core-api/safe-contracts-deployment.mdx index 2a89600b..68cf8adb 100644 --- a/pages/core-api/safe-contracts-deployment.mdx +++ b/pages/core-api/safe-contracts-deployment.mdx @@ -54,6 +54,11 @@ Open a [pull request](https://github.com/ethereum-lists/chains) to add your chai INFURA_KEY=your_Infura_project_API_key ``` + If you deploy to a ZKsync chain, add the following line to the `.env` file: + ```bash + HARDHAT_ENABLE_ZKSYNC=1 + ``` + Deploy the contracts by running this command: ```bash npm run deploy-all your_chain_id @@ -66,6 +71,11 @@ Open a [pull request](https://github.com/ethereum-lists/chains) to add your chai NODE_URL=RPC_endpoint_for_your_network ``` + If you deploy to a ZKsync chain, add the following line to the `.env` file: + ```bash + HARDHAT_ENABLE_ZKSYNC=1 + ``` + Deploy the contracts by running this command: ```bash