1- # @ zksync-sso/connector-export
1+ # zksync-sso-wagmi-connector
22
33This package exports the ZKsync SSO connector with embedded Era Test Node
44support, eliminating the need to manually import and configure the era-test-node
77## Installation
88
99``` bash
10- npm install @ zksync-sso/connector-export
10+ npm install zksync-sso-wagmi-connector
1111# or
12- pnpm add @ zksync-sso/connector-export
12+ pnpm add zksync-sso-wagmi-connector
1313# or
14- yarn add @ zksync-sso/connector-export
14+ yarn add zksync-sso-wagmi-connector
1515```
1616
1717## Usage
@@ -23,7 +23,7 @@ configuration:
2323
2424``` typescript
2525import { createConfig , http } from " @wagmi/core" ;
26- import { zksyncSsoConnector , eraTestNode } from " @ zksync-sso/connector-export " ;
26+ import { zksyncSsoConnector , eraTestNode } from " zksync-sso-wagmi-connector " ;
2727
2828const wagmiConfig = createConfig ({
2929 chains: [eraTestNode ], // Era test node is now exported directly
@@ -53,7 +53,7 @@ You can disable the automatic Era Test Node inclusion if you want to configure
5353chains manually:
5454
5555``` typescript
56- import { zksyncSsoConnector } from " @ zksync-sso/connector-export " ;
56+ import { zksyncSsoConnector } from " zksync-sso-wagmi-connector " ;
5757import { zksyncSepoliaTestnet } from " @wagmi/core/chains" ;
5858
5959const connector = zksyncSsoConnector ({
@@ -129,7 +129,7 @@ const wagmiConfig = createConfig({
129129** After:**
130130
131131``` typescript
132- import { zksyncSsoConnector , eraTestNode } from " @ zksync-sso/connector-export " ;
132+ import { zksyncSsoConnector , eraTestNode } from " zksync-sso-wagmi-connector " ;
133133
134134const wagmiConfig = createConfig ({
135135 chains: [eraTestNode ], // Now exported directly from the connector package
0 commit comments