EN ▼
Favorites
My Favorites
View All
Market Cap Price 24h%

Disclaimer: Content does not constitute investment advice. Trading involves risks—please invest with caution!

Sui addresses can be generated via Google login and no mnemonic words are needed

2026-09-15 06:16:54
Bookmark

How Sui Network zkLogin works

Sui Network's zkLogin feature allows users to access Sui addresses through familiar OAuth login methods (such as Google accounts) without generating mnemonic words. According to official documentation, the address is derived from four input parameters: user identifier (sub), identity provider (iss), application client ID (aud), and per-user unique salt value (salt). As long as the same four values are provided, the generated addresses are always consistent.

The core of this mechanism is the Groth16 zero-knowledge proof, which ensures security and does not expose any credentials to the chain. The Sui document explains: "The attestation service receives the JWT, temporary public key, salt value per user, and maximum validity period, and generates a zero-knowledge attestation." The purpose of this certificate is to confirm that the user has a valid OAuth certificate for the address without requiring the JWT to be disclosed online. The reason for choosing Groth16 is that, as noted in the related research paper, it provides mature tool support and a compact proof size.

Sessions are time-sensitive by design. Each login generates a temporary key pair that is valid for a short period of time. When the session expires, the user simply logs in again to generate a new key pair and certificate, while the underlying Sui address remains unchanged.

Trade-off of salt values

The per-user-specific salt value is a key variable that distinguishes OAuth identity from on-chain addresses. It provides a layer of privacy protection, making it impossible for anyone to reverse associate a Sui address to a Google account simply by checking on-chain data. However, salt values also introduce important custody decisions: It must be stored in places beyond the control of the OAuth provider.

The Sui document describes the wallet as "essentially a 2-of-2 multi-signature wallet, where two certificates are your OAuth certificate and salt value." This statement clearly reveals where the risks lie. Lost Google accounts can be recovered through Google's own account recovery process; however, lost salt values are not. If the salt value is lost, the address will be permanently inaccessible regardless of whether the Google account is intact.

As a result, developers developing based on zkLogin face real design decisions: how and where to store salt values need to be balanced against the risk of permanent loss of convenience. Options include dedicated salt services or autonomous management storage, each with its own security assumptions.

For users who are new to on-chain applications, zkLogin eliminates the most common friction point: mnemonics. But instead of eliminating it, it shifts the responsibility of custody, replacing one key secret with another.

Disclaimer:

All content published on this website, including hyperlinks, related applications, forums, blogs, and other media accounts, originates from third-party platforms and their users. CoinMarketInsight makes no representations or warranties of any kind regarding the website or its content. All blockchain-related data and materials are provided for informational and research purposes only and do not constitute financial, legal, or investment advice. Users and third parties are solely responsible for the content they publish. CoinMarketInsight shall not be liable for any losses arising from the use of this website. You should exercise caution and conduct your own independent research, review, analysis, and verification before making any decisions.

Read Full Article
More News
TOP

TOP