Skip to content

Commit a06984a

Browse files
authored
Merge branch 'master' into sfa-ios-9
2 parents 253140e + 0cac254 commit a06984a

File tree

10 files changed

+323
-49
lines changed

10 files changed

+323
-49
lines changed

docs/features/account-abstraction.mdx

+20-36
Original file line numberDiff line numberDiff line change
@@ -12,27 +12,33 @@ Before exploring the details of account abstraction, it's important to first und
1212
limitations of Externally Owned Accounts (EOAs), like MetaMask and Rainbow, and how account
1313
abstraction addresses these challenges.
1414

15-
## Problem with EOAs
15+
## Web3Auth's Native Account Abstraction
1616

17-
Since the beginning of Web3, wallets have been a crucial component for interacting with the
18-
blockchain. The most common type of wallet is the Externally Owned Account (EOA), which is a wallet
19-
controlled by a private key.
17+
Web3Auth offers seamless integration of Account Abstraction with just a few lines of code, making it
18+
easier than ever to onboard users into decentralized applications. Our goal is to simplify and
19+
streamline the entire process while ensuring users benefit from advanced functionality.
2020

21-
Although it still fails to onboard new users due to non intuitive user experience of navigating the
22-
blockchain ecosystem and managing the wallets. EOA wallets, regardless of type, can only be accessed
23-
through private keys.
21+
If you are already using the Web3Auth PnP Web SDK with
22+
[EthereumPrivateKeyProvider](/docs/sdk/pnp/web/providers/evm), you can now easily use account
23+
abstraction by just configuring the
24+
[AccountAbstractionProvider](/docs/sdk/pnp/web/providers/aa-provider), and passing to the Web3Auth
25+
instance. Previously to use account abstraction, developers had to maintain the additional flow for
26+
account abstraction using third party packages.
2427

25-
You must have heard the quote, “Not your keys, not your crypto”. The user is solely responsible for
26-
safeguarding the private key with the best practices, which can often be overwhelming for the
27-
general non tech savvy users. Once the private key is compromised or lost, EOA wallet cannot recover
28-
the account and can result in irreversible loss of assets.
28+
With native account abstraction, you can create and manage smart accounts using your favorite
29+
libraries like Viem, Ethers, and Web3.js. This allows you to effortlessly create ERC-4337 compatible
30+
Smart Contract Wallets (SCWs), and give users the ability to perform batch transactions and
31+
efficiently manage gas sponsorship.
2932

30-
Moreover the EOA wallets doesn't support advanced transaction patterns like batch transactions,
31-
sponsored transactions, etc.
33+
### Getting Started
34+
35+
Web3Auth's native account abstraction gives you the flexibility to choose your preferred account
36+
abstraction provider, configure your bundler client, and integrate your paymaster. Learn how to use
37+
[Web3Auth with Account Abstraction](/docs/sdk/pnp/web/providers/aa-provider).
3238

3339
## Why Smart Contracts Wallets?
3440

35-
Smart contract wallets(SCWs) solve the problem of onboarding by allowing users to use social logins
41+
Smart contract wallets(SCWs) solves the problem of onboarding by allowing users to use social logins
3642
or other web2 authentication for account management, and recovery. Moreover, SCWs provide more
3743
granular control and programmability like
3844

@@ -166,25 +172,3 @@ allows bundler to submit multiple UserOperations in a single transaction.
166172

167173
For validating the aggregated signature, the Aggregator also has the `validateSignatures` function
168174
used by the EntryPoint contract during the validation phase.
169-
170-
## Native Account Abstraction
171-
172-
Web3Auth offers seamless integration of Account Abstraction with just a few lines of code, making it
173-
easier than ever to onboard users into decentralized applications. Our goal is to simplify and
174-
streamline the entire process while ensuring users benefit from advanced functionality.
175-
176-
If you are already using the Web3Auth PnP Web SDK with
177-
[EthereumPrivateKeyProvider](/docs/sdk/pnp/web/providers/evm), you can now easily use account
178-
abstraction by just configuring the
179-
[AccountAbstractionProvider](/docs/sdk/pnp/web/providers/aa-provider), and passing to the Web3Auth
180-
instance. Previously to use account abstraction, developers had to maintain the additional flow for
181-
account abstraction using third party packages.
182-
183-
With native account abstraction, you can create and manage smart accounts using your favorite
184-
libraries like Viem, Ethers, and Web3.js. This allows you to effortlessly create ERC-4337 compatible
185-
Smart Contract Wallets (SCWs), and give users the ability to perform batch transactions and
186-
efficiently manage gas sponsorship.
187-
188-
Web3Auth's native account abstraction gives you the flexibility to choose your preferred account
189-
abstraction provider, configure your bundler client, and integrate your paymaster. Learn how to use
190-
[Web3Auth with Account Abstraction](/docs/sdk/pnp/web/providers/aa-provider).

docs/sdk/pnp/android/usage.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,8 @@ environment is the **Scale Plan**.
380380

381381
:::
382382

383+
![Wallet Services](/images/mobile-wallet-services.png)
384+
383385
### Parameters
384386

385387
<Tabs
@@ -452,6 +454,8 @@ Please check the list of
452454
[JSON RPC methods](https://docs.metamask.io/wallet/reference/json-rpc-api/), noting that the request
453455
method currently supports only the signing methods.
454456

457+
![Request Method](/images/mobile-request-method.png)
458+
455459
### Parameters
456460

457461
| Parameter | Description |

docs/sdk/pnp/flutter/usage.mdx

+4-2
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,9 @@ environment is the **Scale Plan**.
461461

462462
:::
463463

464-
### Arguments
464+
![Wallet Services](/images/mobile-wallet-services.png)
465465

466-
`ChainConfig`
466+
### Arguments
467467

468468
<Tabs
469469
defaultValue="table"
@@ -563,6 +563,8 @@ Please check the list of
563563
[JSON RPC methods](https://docs.metamask.io/wallet/reference/json-rpc-api/), noting that the request
564564
method currently supports only the signing methods.
565565

566+
![Request Method](/images/mobile-request-method.png)
567+
566568
### Arguments
567569

568570
| Arguments | Description |

docs/sdk/pnp/ios/usage.mdx

+4
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,8 @@ environment is the **Scale Plan**.
352352

353353
:::
354354

355+
![Wallet Services](/images/mobile-wallet-services.png)
356+
355357
### Parameters
356358

357359
<Tabs
@@ -428,6 +430,8 @@ Please check the list of
428430
[JSON RPC methods](https://docs.metamask.io/wallet/reference/json-rpc-api/), noting that the request
429431
method currently supports only the signing methods.
430432

433+
![Request Method](/images/mobile-request-method.png)
434+
431435
### Parameters
432436

433437
| Parameter | Description |

docs/sdk/pnp/web/providers/aa-provider.mdx

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ description: "@web3auth/no-modal Native Account Abstraction | Documentation - We
77
import TabItem from "@theme/TabItem";
88
import Tabs from "@theme/Tabs";
99

10-
import AccountAbstractionDescription from "@site/src/common/sdk/pnp/web/_account-abstraction-description.mdx";
1110
import AccountAbstractionProviderInstallation from "@site/src/common/sdk/pnp/web/_aa-provider-installation.mdx";
1211
import AAProviderConfiguration from "@site/src/common/sdk/pnp/web/_aa-provider-configuration.mdx";
1312
import ConfigureSmartAccountProvider from "@site/src/common/sdk/pnp/web/_smart-account-provider-configuration.mdx";

src/common/sdk/pnp/web/_account-abstraction-description.mdx

+14-10
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1-
Web3Auth offers seamless integration of Account Abstraction with just a few lines of code, making it
2-
easier than ever to onboard users into decentralized applications. Our goal is to simplify and
3-
streamline the entire process while ensuring users benefit from advanced functionality. Web3Auth
4-
native account abstraction, we allow you to create and manage smart accounts using your favorite
5-
libraries like Viem, Ethers, and Web3.js. With this, you don't need to rely on third party packages
6-
to effortlessly create ERC-4337 compatible Smart Contract Wallets (SCWs), and give users the ability
7-
to perform batch transactions and efficiently manage gas sponsorship.
1+
Effortlessly create and manage smart accounts for your users with just a few lines of code, using
2+
our native account abstraction. Unlock advanced control and programmability, enabling use cases
3+
like:
84

9-
Additionally, SCWs unlock advanced control and programmability for users. For instance, user can
10-
automate transaction such as swapping ETH to USDT when the price limit of ETH reaches $2,700,
11-
setting spending limits, and utilizing multi-signature accounts for enhanced security.
5+
- Gas Abstraction: Cover transaction fees for users, or allow users to pay for their own
6+
transactions using ERC-20 tokens.
7+
- Batch Transactions: Perform multiple transactions in a single call.
8+
- Automated Transactions: Allow users to automate actions, like swapping ETH to USDT when ETH hits
9+
$2,700.
10+
- Set Spending Limits: Allow users to set tailored spending limits.
11+
12+
Our native AA integration streamlines your setup, allowing you to create and manage smart accounts
13+
using your favorite libraries like Viem, Ethers, and Web3.js. With this, you don't need to rely on
14+
third party packages to effortlessly create ERC-4337 compatible Smart Contract Wallets (SCWs), and
15+
give users the ability to perform batch transactions and efficiently manage gas sponsorship.
1216

1317
Web3Auth's native account abstraction gives you the flexibility to choose your preferred account
1418
abstraction provider, configure your bundler client, and integrate your paymaster. For more insights

0 commit comments

Comments
 (0)