Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add zksync flag to contract deployment #639

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion components/ResourceHub/company-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,5 +135,22 @@
],
"image": "https://docs.safe.global/og_image.png",
"lastChecked": "2024-08-22"
},
{
"name": "Using Passkeys with Safe",
"url": "https://www.youtube.com/watch?v=zDe3zl7yApk",
"type": "Video",
"date": "2024-08-22",
"description": "In this tutorial video, you will learn how to use a passkey as a signer for a Safe in three simple steps.",
"tags": [
"Tutorial",
"Passkeys",
"Permissionless",
"4337",
"React",
"Signer"
],
"image": "https://i.ytimg.com/vi/zDe3zl7yApk/maxresdefault.jpg",
"lastChecked": "2024-09-23"
}
]
]
10 changes: 10 additions & 0 deletions pages/core-api/safe-contracts-deployment.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading