Skip to content

Commit

Permalink
remove mocaverse
Browse files Browse the repository at this point in the history
  • Loading branch information
yashovardhan committed Mar 19, 2024
1 parent 89c8c5d commit c2e734e
Show file tree
Hide file tree
Showing 6 changed files with 599 additions and 205 deletions.
141 changes: 75 additions & 66 deletions docs/features/account-abstraction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,90 +8,113 @@ import SafeAuthDescription from "@site/src/common/docs/wallet-ecosystems/_safeau
import MocaverseDescription from "@site/src/common/docs/wallet-ecosystems/_mocaverse-description.mdx";
import { safeauthkit, mocaverse } from "@site/src/components/SDKReferenceCards";

Account Abstraction (AA) revolutionizes Web3 authentication by integrating externally owned accounts (EOAs) and smart contracts, offering a more
seamless and secure way for decentralized applications (dApps) to interact with users. These AA-powered smart contract wallets have multiple benefits:

- **Ecosystem Evolution** Driven by the ERC-4337 proposal, AA aims for its adoption across the Ethereum network, striving for universal account
abstraction.
- **Decentralized Integrity:** Maintains decentralization and censorship resistance, core principles of blockchain technology, through the application
of AA.
- **Gas Fee Sponsorship:** Offers the ability for users to perform gasless transactions, with fees sponsored by the dApp developers, reducing the
barrier to entry for users.
- **Sophisticated Recovery and Transfer Options:** Smart contract-based wallets can implement complex recovery methods and ownership transfer
mechanisms, offering enhanced security and flexibility.
Account Abstraction (AA) revolutionizes Web3 authentication by integrating externally owned accounts
(EOAs) and smart contracts, offering a more seamless and secure way for decentralized applications
(dApps) to interact with users. These AA-powered smart contract wallets have multiple benefits:

- **Ecosystem Evolution** Driven by the ERC-4337 proposal, AA aims for its adoption across the
Ethereum network, striving for universal account abstraction.
- **Decentralized Integrity:** Maintains decentralization and censorship resistance, core principles
of blockchain technology, through the application of AA.
- **Gas Fee Sponsorship:** Offers the ability for users to perform gasless transactions, with fees
sponsored by the dApp developers, reducing the barrier to entry for users.
- **Sophisticated Recovery and Transfer Options:** Smart contract-based wallets can implement
complex recovery methods and ownership transfer mechanisms, offering enhanced security and
flexibility.

## Understanding EOAs & Smart Contract Wallets

[EOA, or an externally-owned account](https://ethereum.org/en/developers/docs/accounts/) is a type of Ethereum account that is controlled by a private
key. EOAs can be created through Web3Auth-powered social logins, or by using external wallets such as MetaMask, Coinbase Wallet, Rainbow Wallet, etc.
[EOA, or an externally-owned account](https://ethereum.org/en/developers/docs/accounts/) is a type
of Ethereum account that is controlled by a private key. EOAs can be created through
Web3Auth-powered social logins, or by using external wallets such as MetaMask, Coinbase Wallet,
Rainbow Wallet, etc.

On the other hand, there are <b>contract accounts</b> that are controlled by smart contract codes and do not have their own private key. Safe's smart
wallet is a contract account that has <a href="https://ethereum.org/en/roadmap/account-abstraction/" target="_blank"> enhanced capabilities, such as
gas sponsorship and batched transactions. </a>
On the other hand, there are <b>contract accounts</b> that are controlled by smart contract codes
and do not have their own private key. Safe's smart wallet is a contract account that has

Since contract accounts do not have their own private key, they require a <b>signer</b> to initiate transaction flows and produce signatures. Signers
are usually EOAs that authorize actions taken by the contract account via a signature.
<a href="https://ethereum.org/en/roadmap/account-abstraction/" target="_blank">
{" "}
enhanced capabilities, such as gas sponsorship and batched transactions.{" "}
</a>

Since contract accounts do not have their own private key, they require a <b>signer</b> to initiate
transaction flows and produce signatures. Signers are usually EOAs that authorize actions taken by
the contract account via a signature.

## Web3Auth's approach to Account Abstraction

Web3Auth leverages the combination of Multi-Party Computation based social login EOAs with AA-based smart contract wallet accounts. By incorporating
MPC, AA's security and functionality are significantly enhanced. MPC distributes the validation process across multiple entities, ensuring no single
party can dominate transaction processes, thus bolstering security while maintaining user-friendliness. This results in:
Web3Auth leverages the combination of Multi-Party Computation based social login EOAs with AA-based
smart contract wallet accounts. By incorporating MPC, AA's security and functionality are
significantly enhanced. MPC distributes the validation process across multiple entities, ensuring no
single party can dominate transaction processes, thus bolstering security while maintaining
user-friendliness. This results in:

- **Enhanced Recoverability and UX:** Utilizes social login-based MPC EOAs to offer superior recoverability and a streamlined user experience,
negating the need for external wallet management.
- **Simplified Access and Management:** Facilitates easier account access and management through social logins and advanced recovery mechanisms,
promoting broader Web3 adoption.
- **Enhanced Recoverability and UX:** Utilizes social login-based MPC EOAs to offer superior
recoverability and a streamlined user experience, negating the need for external wallet
management.
- **Simplified Access and Management:** Facilitates easier account access and management through
social logins and advanced recovery mechanisms, promoting broader Web3 adoption.

## Using Account Abstraction with Web3Auth

Web3Auth's AA integration is designed to be developer-friendly, offering a range of tools and resources to simplify the process. All the major Account
Abstraction providers have integrated Web3Auth into their login stacks, enhancing the accessibility and security of their platforms. Web3Auth is proud
to be a part of this transformative movement, working closely with leading AA providers to ensure a seamless, secure login experience. Below are
highlights from a few of these collaborations:
Web3Auth's AA integration is designed to be developer-friendly, offering a range of tools and
resources to simplify the process. All the major Account Abstraction providers have integrated
Web3Auth into their login stacks, enhancing the accessibility and security of their platforms.
Web3Auth is proud to be a part of this transformative movement, working closely with leading AA
providers to ensure a seamless, secure login experience. Below are highlights from a few of these
collaborations:

### SafeAuth Kit

<SafeAuthDescription />

With extensive assets under its management, Safe promises robust Smart Account Infrastructure Safe champions open contract standards for the digital
ownership of assets, data, and identity. Their modular Smart Account framework encourages developers to innovate diverse applications and wallets. The
Safe\{Core} AA SDK offers kits to simplify smart contract account operations, complete with guides on integration.
With extensive assets under its management, Safe promises robust Smart Account Infrastructure Safe
champions open contract standards for the digital ownership of assets, data, and identity. Their
modular Smart Account framework encourages developers to innovate diverse applications and wallets.
The Safe\{Core} AA SDK offers kits to simplify smart contract account operations, complete with
guides on integration.

:::tip

Check out Safe\{Core} AA SDK documentation https://docs.safe.global/safe-core-aa-sdk/auth-kit/guides/safe-auth
Check out Safe\{Core} AA SDK documentation
https://docs.safe.global/safe-core-aa-sdk/auth-kit/guides/safe-auth

:::

{ safeauthkit }

### Alchemy Account Kit

The Alchemy Account Kit is a comprehensive solution designed to seamlessly integrate account abstraction into your Web3 application. Account Kit
equips developers with a suite of tools to implement smart accounts, offering enhanced functionalities like social login, gas sponsorship, and batched
transactions. With just a few lines of code, you can deploy smart accounts and streamline user operations in your app.
The Alchemy Account Kit is a comprehensive solution designed to seamlessly integrate account
abstraction into your Web3 application. Account Kit equips developers with a suite of tools to
implement smart accounts, offering enhanced functionalities like social login, gas sponsorship, and
batched transactions. With just a few lines of code, you can deploy smart accounts and streamline
user operations in your app.

Account Kit includes five components:

- **aa-sdk**: A simple, powerful interface to integrate, deploy, and use smart accounts. The aa-sdk orchestrates everything under the hood to make
development easy.
- **Modular Account**: Secure, audited, modular smart accounts. It is easy to deploy when your users need them and extend with EIP-6900 plugins.
- **Signer**: Integrations with the most popular wallet providers. Secure your accounts with email, social login, passkeys, or a self-custodial wallet
Signer.
- **aa-sdk**: A simple, powerful interface to integrate, deploy, and use smart accounts. The aa-sdk
orchestrates everything under the hood to make development easy.
- **Modular Account**: Secure, audited, modular smart accounts. It is easy to deploy when your users
need them and extend with EIP-6900 plugins.
- **Signer**: Integrations with the most popular wallet providers. Secure your accounts with email,
social login, passkeys, or a self-custodial wallet Signer.
- **Gas Manager API**: A programmable API to sponsor gas for UserOps that meets your criteria.
- **Bundler API**: The most reliable ERC-4337 Bundler. Land your UserOps on-chain, batch operations, and sponsor gas at a massive scale.
- **Bundler API**: The most reliable ERC-4337 Bundler. Land your UserOps on-chain, batch operations,
and sponsor gas at a massive scale.

:::tip

Check out Alchemy Account Kit Documentation https://accountkit.alchemy.com/signers/guides/web3auth.html
Check out Alchemy Account Kit Documentation
https://accountkit.alchemy.com/signers/guides/web3auth.html

:::

### Biconomy SDK

A pioneer in leveraging EIP4337 and gas abstraction, the Biconomy SDK is built firmly on the ERC4337 solution, offering a full spectrum of tools
tailored for dApps. It enhances the dApp user experience in a non-custodial manner. Key features include:
A pioneer in leveraging EIP4337 and gas abstraction, the Biconomy SDK is built firmly on the ERC4337
solution, offering a full spectrum of tools tailored for dApps. It enhances the dApp user experience
in a non-custodial manner. Key features include:

- Seamless user onboarding with social login, account setup & recovery.
- An in-dApp fiat gateway for buying/selling crypto.
Expand All @@ -107,8 +130,8 @@ Check out Biconomy documentation https://docs.biconomy.io/Account/signers/web3au

### Keyp

Specifically crafted for game developers and NFT enthusiasts, Keyp offers tools to enhance the web3 onboarding experience. They envision a world where
users hold control over their digital assets.
Specifically crafted for game developers and NFT enthusiasts, Keyp offers tools to enhance the web3
onboarding experience. They envision a world where users hold control over their digital assets.

:::tip

Expand All @@ -118,8 +141,9 @@ Check out Keyp documentation https://docs.usekeyp.com/

### ZeroDev

ZeroDev focuses on offering the most straightforward developer experience for AA, supported by a robust smart wallet framework. It facilitates easy
smart wallet creation, provides essential smart wallet features, and allows for customized extensions using a plugin framework. Whether you're
ZeroDev focuses on offering the most straightforward developer experience for AA, supported by a
robust smart wallet framework. It facilitates easy smart wallet creation, provides essential smart
wallet features, and allows for customized extensions using a plugin framework. Whether you're
creating a wallet or a DApp, ZeroDev promises to elevate the Web3 user experience.

:::tip
Expand All @@ -130,7 +154,8 @@ Check out ZeroDev documentation https://docs.zerodev.app/sdk/signers/web3auth

### Gelato

Committed to delivering the finest user experiences with gas abstraction, Gelato acts as web3's decentralized backbone. It offers a host of services:
Committed to delivering the finest user experiences with gas abstraction, Gelato acts as web3's
decentralized backbone. It offers a host of services:

- Web3 functions connecting smart contracts to off-chain data.
- Reliable automated smart contract transactions.
Expand All @@ -142,19 +167,3 @@ Committed to delivering the finest user experiences with gas abstraction, Gelato
Check out Gelato documentation https://docs.gelato.network/developer-services/account-abstraction

:::

## Using Wallet Ecosystems with Account Abstraction

In the realm of AA, Web3Auth has taken significant strides with wallet ecosystems like SafeAuth and Mocaverse, incorporating MPC with account
abstraction natively. These ecosystems showcase the practical application of MPC and AA, offering a unique blend of security, user experience, and
innovation.

### Mocaverse ID

<MocaverseDescription />

These wallet ecosystems exemplify the potential of combining MPC with AA, offering users unparalleled security and convenience. Web3Auth's
collaboration with SafeAuth and Mocaverse underscores its commitment to advancing the state of Web3 authentication and wallet management, setting new
standards for the industry.

{ mocaverse }
3 changes: 1 addition & 2 deletions docs/product/product.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ can handle the complexity of linking your application to a wallet.
(have **zero Web3Auth Branding**) if you use [**Web3Auth Core Kit**](/product/core-kit).
2. First-time users don't need the mental overhead of understanding the concept of a "wallet" to use
your application. Just a standard Web2 login, they're onboarded using Web3Auth.
3. Quick integrations with **Wallet Ecosystems**, like **SafeAuth**, **Mocaverse**, **Torus
Wallets**, and more.
3. Quick integrations with **Wallet Ecosystems**, like **SafeAuth**, **Torus Wallets**, and more.
4. **Embedded Wallets** within your application, with the ability to use your own OAuth 2.0 / Single
Sign-On or any other flow for validating your user.
5. You can create your application for **any chain**, depending on your needs. Web3Auth generates
Expand Down
Loading

0 comments on commit c2e734e

Please sign in to comment.