Skip to content

Commit 638b4c3

Browse files
Merge pull request #64 from Increment-Finance/master
feat: add zkSync Era
2 parents e4b0e7f + 03165d6 commit 638b4c3

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ The below networks are supported by default, and custom networks can be supporte
6767
| Linea Testnet | 59140 |
6868
| Linea | 59144 |
6969
| Scroll | 534352 |
70+
| zkSync Era | 324 |
71+
| zkSync Era Testnet | 280 |
7072

7173
## Installation
7274

src/enums/networks.ts

+2
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,6 @@ export enum Networks {
5151
lineaTestnet = 59140,
5252
linea = 59144,
5353
scroll = 534352,
54+
zkSyncEra = 324,
55+
zkSyncEraTestnet = 280,
5456
}

src/multicall.ts

+3
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,9 @@ export class Multicall {
600600
return '0xcA11bde05977b3631167028862bE2a173976CA11';
601601
case Networks.etherlite:
602602
return '0x21681750D7ddCB8d1240eD47338dC984f94AF2aC';
603+
case Networks.zkSyncEra:
604+
case Networks.zkSyncEraTestnet:
605+
return '0xF9cda624FBC7e059355ce98a31693d299FACd963';
603606
default:
604607
throw new Error(
605608
`Network - ${network} doesn't have a multicall contract address defined. Please check your network or deploy your own contract on it.`

0 commit comments

Comments
 (0)