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

Access Crypto Market Data APIs on Sui with Birdeye

Birdeye's APIs and WebSockets let builders integrate real-time crypto market data into their DeFi apps.

5min read
Sui Foundation

eSui Dollar Now Live on Sui as DeepBook Becomes DeFi’s Premier Destination for Passive & Active Rewards

eSui Dollar (suiUSDe) is now live on Sui, bringing synthetic dollars to DeepBook Margin and unlocking new programmable DeFi strategies

3min read
Sui Foundation

Sui Q4 2024 DeFi Roundup

Metrics for Sui's DeFi performance showed significant increases throughout Q4, 2024.

3min read
Sui Foundation

Contribute to the Development of DeepBook

Builders in the community are invited to integrate and test DeepBook, the foundational liquidity layer for Sui.

2min read
Sui Foundation

George Danezis on Developing Mysticeti for Sui

Mysten Labs' Chief Scientist explains the development of Mysticeti and what it means to users.

1min read
George Danezis

Perps on Sui: What Five Leading Teams Revealed

A deep dive into how Aftermath, Astros, Bluefin, FlowX, and Zo are shaping Sui’s derivatives ecosystem and pushing the design space forward

5min read
George Danezis