zklogin

Onchain access
with one tap

zkLogin simplifies onboarding to Sui without compromising security or self-custody.

Go to docs
zkLogin
Instant onboarding for your app
All the benefits of self-custody for your users
Guaranteed privacy with zero-knowledge proofs

What is zkLogin?

zkLogin makes engaging with dApps built on Sui as simple as signing in with familiar web credentials, like those used for Google and Facebook.

With zkLogin, application developers can choose to use invisible wallets, where interacting with the chain is fully abstracted from the user, or simply offer an easier way for users to access their on-chain assets.

zkLogin can be implemented alongside existing account types, such as mnemonic and hardware wallets, giving novices and experts the option that works best for their needs.

How does zkLogin work?

zkLogin generates user accounts using familiar OAuth credentials. The user is prompted to log in with their web credentials. This information is used to generate a JSON web token (JWT) that is then combined with random data (called a Salt) and passed to a service that generates a zero-knowledge proof (ZKP).

The ZKP verifies the user is the rightful account owner without sharing the credentials themselves on-chain. After an account is generated, future transactions can be signed with the user’s OAuth credential.

Watch the video
zkLogin
supports
supportsleading OAuth providers
[ → ]

zkLogin currently supports major OpenID OAuth providers including Google, Twitch, Apple, Slack and Facebook.

Check out the docs for guidance, SDKs, and tips for how to implement zkLogin in your application.

Try zkLogin with these apps

Learn more about zkLogin

Ceremony

To ensure that all builders would have the ability to use zkLogin with a strong security guarantee, a public ceremony was held to generate an artifact called Common Reference String (CRS). The ceremony was conducted with over 100 participants, including well-known academics and business leaders from institutions around the world, as well as validators on Sui. Learn more about how the ceremony proceeded.

Ready to start building? Integrate zkLogin into your app today.

Go to docs

See how zkLogin works for institutional & capital markets

Sui’s institutional & capital markets solution

See how zkLogin works for DeFi

Sui’s DeFi solution