We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b33c1a3 commit 0232b45Copy full SHA for 0232b45
packages/thirdweb/src/utils/any-evm/zksync/constants.ts
@@ -3,9 +3,10 @@ export const ZKSYNC_SINGLETON_FACTORY =
3
export const CONTRACT_DEPLOYER_ADDRESS =
4
"0x0000000000000000000000000000000000008006" as const;
5
export const KNOWN_CODES_STORAGE = "0x0000000000000000000000000000000000008004";
6
-export const PUBLISHED_PRIVATE_KEY = process
7
- ? process.env.ZKSYNC_PUBLISHED_PRIVATE_KEY
8
- : undefined;
+export const PUBLISHED_PRIVATE_KEY =
+ typeof process !== "undefined" && process && process.env
+ ? process.env.ZKSYNC_PUBLISHED_PRIVATE_KEY
9
+ : undefined;
10
11
export const singletonFactoryAbi = [
12
"function deploy(bytes32,bytes32,bytes) external payable",
0 commit comments