This project monorepo is the source for the ZKsync SSO SDK, Auth server, smart contracts and examples.
This monorepo utilizes pnpm for handling dependencies and managing package.json files. Pnpm is used to manage workspaces to handle working with multiple projects in a single repository.
Additionally, the monorepo leverages NX for managing and building the various projects within the repository.
The ZKsync SSO SDK is a client-side library for integrating ZKsync SSO into a
web app. It is built using viem
and
@simplewebauthn
for passkeys. The SDK provides
a Connector for use with 'wagmi'.
The smart contracts for managing ZKsync SSO accounts. Implements ERC-7579 and Account abstraction for smart account features.
The Auth server is a static website that provides an interface for user authentication. It is a Nuxt application using the Vue framework.
This repo provides examples demonstrating the use of ZKsync SSO in a variety of applications.
A Nuxt app that demonstrates the use of sessions and paymasters.
A Nuxt app that provides an example of how ZKsync SSO can be integrated into an existing app and link a smart account with a traditional account.