Continuing work on zkLogin, Sui's social login primitive, resulted in two significant improvements, multi-signature recovery and support for Apple accounts. These changes allow greater choice for users and a powerful new way to recover accounts if the zkLogin credential issuer or app is no longer active.

Thanks to Sui’s cryptographic agility, zkLogin lets builders integrate social logins with their apps. Instead of requiring users to connect a wallet or manually create a new account, apps using zkLogin offer users the ability to create a Sui address with an existing account from companies such as Google and Facebook. The zero knowledge proof technology behind zkLogin eliminates the need for the user to handle any cryptographic sensitive material, such as the private key.

When zkLogin launched last year, it supported Google, Twitch, and Facebook accounts. The addition of Apple support helps users who prefer to stick with Apple for all their social logins. This new authentication method particularly benefits iOS users, as it allows iPhone apps to easily support Sui wallet creation. 

Multi-signature, or multi-sig, opens up a new means of account recovery geared towards both security and ease of use. As zkLogin assumes the liveliness of the application client ID and its issuer, such as Google, multi-sig provides significant improvements to the recoverability of a zkLogin account.

By creating a multi-sig wallet with zkLogin and another private key as backup, a user can still access their wallet if the original app or credential issuer goes away. If a builder, for example, takes down their app which included accounts created through zkLogin, users could enter their private key and recover any assets they had in that account, moving them to another wallet.

The integration of multi-sig with zkLogin also opens the door to more complex use cases, where builders can include up to 10 zkLogin accounts among different credential providers, with customizable weights and thresholds. 

For example, a multi-sig address with a threshold of two could include multiple public keys with different weights. The original owner's Google account could be given a weight of two in this multi-sig scheme and additional signatures, a separate Apple account and a Facebook account, could each be assigned a weight of one. The threshold of two means the Google account, because it has been assigned a weight of two, can always open the multi-sig account by itself. The Apple and Facebook accounts, however, would both be needed to open the multi-sig account, as each by itself does not meet the threshold requirement. 

These updates to zkLogin support overall work on making Sui the most widely accessible blockchain. Creating mass user adoption brings the benefits of digital asset ownership to the world at large.

Start building on Sui and onboard the next generation of blockchain users.

Author

Kostas Chalkias

Co-Founder, Chief Cryptographer, Mysten Labs

Chief Cryptographer; expert in applied crypto with 50+ papers and 8 patents. Formerly Lead Cryptographer at Meta.

Read more like this

SUMM3R Partners with Sui to Launch NFT Growth Program

Program starts with six weeks dedicated support and access to industry experts

2min read
Sui Foundation

Seeing What Matters: Rethinking Privacy for Institutional Finance

Seeing What Matters: Rethinking Privacy for Institutional Finance

7min read
Sui Foundation

The $100M Opportunity No One is Talking About

Main Takeaways On-chain options haven’t scaled because of architecture, not demand. Liquidity is siloed at the position level, which limits leverage,...

2min read
Aslan Tashtanov

Build Beyond: Sui’s Place in the Commerce Tech Stack

A conversation with Director of Commerce Product Lola Oyelayo-Pearson about the value of internet-ready blockchain

10min read
Sui Foundation

Getting Started on Sui: What is Sui?

The first in a new series exploring Sui, for anyone who owns crypto and wonders what comes next

4min read
Sui Foundation

How Sui Tech Made Claynosaurz's Popkins NFT Launch a Resounding Success

The technical details behind the Popkins NFT launch showcase the flexibility and expressiveness of Move programming on Sui.

6min read
Mysten Labs