You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: embedded-wallets/features/external-wallets.mdx
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ image: 'img/metamaskog.jpg'
4
4
description: 'A complete, cross-ecosystem wallet aggregation experience built into the Embedded Wallets SDK.'
5
5
---
6
6
7
-
The MM Embedded Wallets SDK contains one of the most complete wallet aggregators on the market. It unifies EVM and Solana wallet discovery, connection, and session management into a single, production‑ready layer you can drop into any app.
7
+
The MetaMask Embedded Wallets SDK provides one of the most complete wallet aggregators on the market. It unifies EVM and Solana wallet discovery, connection, and session management into a single, production‑ready layer you can drop into any app.
8
8
9
9
:::info demo
10
10
@@ -14,18 +14,18 @@ Looking for a quick preview? See the [Demo](https://demo.web3auth.io).
14
14
15
15
## Highlights
16
16
17
-
-**Cross‑ecosystem**: EVM + Solana in a single flow.
18
-
-**Standards‑native**: EIP‑6963 (EVM) and Solana Wallet Standard.
19
-
-**Works with your stack**:`ethers`, `viem`, `wagmi`, `@solana/web3.js`.
20
-
-**First‑class DX**: Hooks and composables for React/Vue.
21
-
-**Central control**: Manage everything in the Dashboard.
17
+
-**Cross‑ecosystem:** EVM and Solana in a single flow.
18
+
-**Standards‑native:** EIP‑6963 (EVM) and Solana Wallet Standard.
19
+
-**Works with your stack:**`ethers`, `viem`, `wagmi`, `@solana/web3.js`.
20
+
-**First‑class developer experience:** Hooks and composables for React/Vue.
21
+
-**Central control:** Manage everything in the [Embedded Wallets Dashboard](https://dashboard.web3auth.io).
22
22
23
23
_A familiar, unified wallet selection experience for users._
24
24
25
-
## Customize flow within the Developer Dashboard
25
+
## Customize flow within the dashboard
26
26
27
-
-**Wallet aggregator only**: Drop‑in discovery, connection, and session state.
28
-
-**With social logins**: Offer socials and external wallets side‑by‑side in one flow.
27
+
-**Wallet aggregator only:** Drop‑in discovery, connection, and session state.
28
+
-**With social logins:** Offer socials and external wallets side‑by‑side in one flow.
29
29
30
30
_Toggle social logins and external wallets visibility._
MetaMask Embedded Wallets supports multiple ways for users to add funds to their wallets. Let users pick the method that suits them:
8
8
9
-
- Buy crypto with card, bank transfer, or local payment methods (Fiat On‑Ramp Aggregator).
9
+
- Buy crypto with card, bank transfer, or local payment methods (fiat on‑ramp aggregator).
10
10
- Transfer from an existing wallet or exchange.
11
11
- Connect an external wallet and deposit to the embedded wallet.
12
12
13
-
## Buy crypto with card or bank transfer (Fiat On‑Ramp Aggregator)
13
+
## Buy crypto with card or bank transfer (fiat on‑ramp aggregator)
14
14
15
-
The Fiat On-Ramp Aggregator, a key component of the Wallet Services, streamlines the process of converting fiat to cryptocurrency. With integration requiring just a single line of code, it supports over 100 payment methods.
15
+
The fiat on‑ramp aggregator, a key component of the Embedded Wallets' services, streamlines the process of converting fiat to cryptocurrency. With integration requiring just a single line of code, it supports over 100 payment methods.
16
16
17
17
:::note
18
18
19
-
The Fiat on Ramp supports both Externally Owned Accounts (EOA) and Account Abstraction (AA) accounts powered by Web3Auth Native Account Abstraction.
19
+
The fiat on-ramp supports both Externally Owned Accounts (EOA) and Account Abstraction (AA) accounts powered by Embedded Wallets' native account abstraction.
20
20
21
21
Additionally, it supports both EVM and Solana accounts, providing a versatile solution for various blockchain environments.
22
22
23
23
:::
24
24
25
25
### Using the Wallet Services UI
26
26
27
-
When you click **Add Funds** on the Wallet Services UI, you'll be presented with options to fund your wallet:
27
+
When the user clicks **Add Funds** on the Wallet Services UI, they'll be presented with options to fund their wallet:
@@ -75,17 +75,19 @@ Select the QR code option to fund your wallet by scanning a QR code with another
75
75
/>
76
76
</div>
77
77
78
-
Here's how our aggregator addresses your on-ramping challenges:
78
+
## Overcome on-ramping challenges
79
79
80
-
-**Global Reach:** Access users in over 50 countries with worldwide payment coverage
80
+
The fiat on‑ramp aggregator addresses your on-ramping challenges:
81
81
82
-
-**Lower fees:**Save up to 70% on transaction fees by leveraging lower cost local payment providers
82
+
-**Global reach:**Access users in over 50 countries with worldwide payment coverage.
83
83
84
-
-**Localized Payment Options:**Offer familiar and real-time payment methods to boost user engagement and monetization
84
+
-**Lower fees:**Save up to 70% on transaction fees by leveraging lower cost local payment providers.
85
85
86
-
-**Higher Transaction Success Rates:**Address high failure rates (30-70%) of traditional methods like Visa/Mastercard in emerging markets by using reliable local payment options.
86
+
-**Localized payment options:**Offer familiar and real-time payment methods to boost user engagement and monetization.
87
87
88
-
-**Enhanced Security:** Provide a secure and cost-effective solution for both users and merchants, as local payment methods often require 2-factor authentication (2FA) and eliminate chargeback costs.
88
+
-**Higher transaction success rates:** Address high failure rates (30-70%) of traditional methods like Visa/Mastercard in emerging markets by using reliable local payment options.
89
+
90
+
-**Enhanced security:** Provide a secure and cost-effective solution for both users and merchants, as local payment methods often require 2-factor authentication (2FA) and eliminate chargeback costs.
89
91
90
92
:::info
91
93
@@ -101,17 +103,17 @@ The UI lets users fund their embedded wallet by sending crypto from a self‑cus
101
103
2. From an external wallet, send funds to that address on a supported network.
102
104
3. Confirm the deposit and update balances in your app.
103
105
104
-
## Fiat on Ramp Coverage
106
+
## Fiat on-ramp coverage
105
107
106
108
:::tip
107
109
108
-
For the complete list of fiat, crypto and payment method coverage, please check [here](https://docs.google.com/spreadsheets/d/1HwIDgFQ-J-ptImT9yp6MmLpZId3l1NGe9qWJJN88msY/edit#gid=0)
110
+
See a complete list of [fiat, crypto and payment method coverage](https://docs.google.com/spreadsheets/d/1HwIDgFQ-J-ptImT9yp6MmLpZId3l1NGe9qWJJN88msY/edit#gid=0)
109
111
110
112
:::
111
113
112
-
### Network Coverage
114
+
### Network coverage
113
115
114
-
The Onramp Aggregator is built to be chain-agnostic and supports a wide range of blockchain networks and tokens. Below is the list of main networks that we provide coverage.
116
+
The chain-agnostic fiat on‑ramp aggregator supports a wide range of blockchain networks and tokens, including:
MetaMask Embedded Wallets utilizes Threshold Cryptography, a principle of MPC, to ensure that a user can access their private key or generate transaction signatures only if they meet a specified threshold - typically 2 out of n key shares.
14
+
MetaMask Embedded Wallets utilizes threshold cryptography, a principle of MPC, to ensure that a user can access their private key or generate transaction signatures only if they meet a specified threshold - typically 2 out of n key shares.
15
15
16
-
:::note
16
+
### Design goals
17
17
18
-
This section is an overview of MPC in MetaMask Embedded Wallets. For an in-depth understanding, it might be helpful to read through [How Embedded Wallets Work](/embedded-wallets/how-it-works) and [Wallet Management and Security of our Infrastructure](/embedded-wallets/infrastructure/).
19
-
20
-
:::
21
-
22
-
### Design Goals
23
-
24
-
-**Seamless User Experience:** MetaMask Embedded Wallets aims to provide a frictionless non-custodial wallet experience.
25
-
-**Broad Compatibility:** Ensures integration with existing authentication methods and blockchain ecosystems.
26
-
-**Global Performance & Scalability:** Designed to meet the expansive demands of the Web3 market efficiently.
18
+
-**Seamless user experience:** MetaMask Embedded Wallets aims to provide a frictionless non-custodial wallet experience.
19
+
-**Broad compatibility:** Ensures integration with existing authentication methods and blockchain ecosystems.
20
+
-**Global performance & scalability:** Designed to meet the expansive demands of the Web3 market efficiently.
27
21
28
22
### 2-of-3 setup
29
23
30
-
1.**OAuth login share:**Via the Web3Auth Network (e.g., Google).
24
+
1.**Authentication share:**Derived from the user’s chosen login method (for example, social login such as Google).
31
25
2.**Device share:** Stored on-device, protected by OS security/biometrics.
32
26
3.**Backup/2FA share:** User-controlled recovery using a high-entropy secret.
33
27
@@ -48,6 +42,13 @@ This section is an overview of MPC in MetaMask Embedded Wallets. For an in-depth
48
42
49
43
Both methods adhere to the core concept of threshold-based security but differ in their approach to wallet management and signature generation.
50
44
51
-
## Wallet Management Infrastructure
45
+
## Wallet management infrastructure
46
+
47
+
The wallet management infrastructure distributes key shares so the full private key is never stored or exposed. The authentication share is generated by the Embedded Wallets Network using a 5/9 consensus, keeping wallets non-custodial.
48
+
49
+
## Next steps
50
+
51
+
This section is an overview of MPC in MetaMask Embedded Wallets. For a more in-depth understanding, see:
52
52
53
-
The Wallet Management Infrastructure distributes key shares so the full private key is never stored or exposed. The social-login share is generated by the Web3Auth Network using a 5/9 consensus, keeping wallets non-custodial. See the [Wallet Management Infrastructure](/embedded-wallets/infrastructure/) docs for details.
Web3Auth NFT Minting Service facilitates NFT airdrops and minting, giving you granular control over the process. The NFT Minting API is designed to facilitate the minting process for specified NFTs, supporting large-scale, gasless minting via our advanced batch minting infrastructure. This API is ideal for scenarios such as Airdrops, free mints, and situations where you prefer to manage fiat payments on your own.
8
+
Embedded Wallets NFT Minting Service facilitates NFT airdrops and minting, giving you granular control over the process. The NFT Minting API is designed to facilitate the minting process for specified NFTs, supporting large-scale, gasless minting via our advanced batch minting infrastructure. This API is ideal for scenarios such as Airdrops, free mints, and situations where you prefer to manage fiat payments on your own.
9
9
10
10
:::info
11
11
12
12
Checkout our [Demo](https://demo.web3auth.io) to see it in action.
13
13
14
14
:::
15
15
16
-
## Key Features
16
+
## Key features
17
17
18
-
-**Control Over Fiat Payments:** Manage fiat payments independently to suit your project's needs.
19
-
-**Custom Authorization Requirements:** Implement additional security measures, such as allowlisting addresses that are authorized to mint NFTs.
20
-
-**Webhook Notifications:** Register webhook endpoints to receive real-time updates on transaction status.
21
-
-**Gas Fees Covered:**Web3Auth handles all gas fees associated with the minting process, ensuring a cost-effective solution.
18
+
-**Control over fiat payments:** Manage fiat payments independently to suit your project's needs.
19
+
-**Custom authorization requirements:** Implement additional security measures, such as allowlisting addresses that are authorized to mint NFTs.
20
+
-**Webhook notifications:** Register webhook endpoints to receive real-time updates on transaction status.
21
+
-**Gas fees covered:**Embedded Wallets can handle all gas fees associated with the minting process, ensuring a cost-effective solution.
22
22
23
23

24
24
25
25
:::info
26
26
27
-
The NFT Services support both Externally Owned Accounts (EOA) and Account Abstraction (AA) accounts powered by Web3Auth Native Account Abstraction.
27
+
The NFT Services support both Externally Owned Accounts (EOA) and Account Abstraction (AA) accounts powered by Embedded Wallets' native account abstraction.
28
28
29
29
Additionally, it supports both EVM and Solana accounts, providing a versatile solution for various blockchain environments.
30
30
31
31
:::
32
32
33
33
## How it works
34
34
35
-
To initiate the minting process, simply provide the API with the necessary contract details, token ID, and recipient wallet address. The Web3Auth infrastructure will take care of the rest, ensuring a seamless and efficient minting experience. Web3Auth supports ERC-721 and ERC-1155 smart contracts across all EVM-compatible networks.
35
+
To initiate the minting process, provide the API with the necessary contract details, token ID, and recipient wallet address. The Embedded Wallets infrastructure will take care of the rest, ensuring a seamless and efficient minting experience. Web3Auth supports ERC-721 and ERC-1155 smart contracts across all EVM-compatible networks.
36
36
37
-
:::tip Get Access to NFT Services
37
+
## Next steps
38
38
39
-
You can contact our [Business Team](https://calendly.com/elishamm/sales) for more information on how to access this feature.
39
+
- Contact our [Business Team](https://calendly.com/elishamm/sales) for more information on how to access this feature.
Copy file name to clipboardExpand all lines: embedded-wallets/features/server-side-verification.mdx
+9-11Lines changed: 9 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,29 +12,27 @@ Server-side verification enables developers to securely authenticate users on th
12
12
13
13
Upon a user's successful connection of their wallet, Web3Auth generates a `JWT`, signed with a private key using the `ES256` algorithm, that is unique to your application. This token serves as a verifiable credential that you can use to authenticate the user on your backend.
14
14
15
-
## Implementing Server-Side Verification
15
+
## Implementing server-side verification
16
16
17
-
To implement server-side verification, follow these 3 simple steps:
17
+
To implement server-side verification, follow these 3 steps:
18
18
19
-
### 1. Retrieve the `JWT` (`idToken`)
19
+
### Step 1. Retrieve the `JWT` (`idToken`)
20
20
21
21
When a user logs in through Web3Auth, a `JWT` can be generated to prove that the user owns the wallet, and you can verify it on your backend server.
22
22
23
23
**Different Flows for Different Wallets:**
24
24
25
-
-**Social Logins**: These tokens include a public key linked to the user's wallet.
26
-
-**External Wallets**: These tokens include the wallet address instead of the public key.
25
+
-**Social logins**: These tokens include a public key linked to the user's wallet.
26
+
-**External wallets**: These tokens include the wallet address instead of the public key.
27
27
28
-
### 2. Verify the `JWT`
28
+
### Step 2. Verify the `JWT`
29
29
30
30
Use the public key/address provided to verify the `JWT`'s authenticity. This step confirms that the token is valid and the information it contains about the user can be trusted.
31
31
32
-
### 3. Authenticate the User
32
+
### Step 3. Authenticate the user
33
33
34
34
Based on the verified claims within the `JWT`, including wallet address ownership, authenticate the user in your backend system.
35
35
36
-
:::info
36
+
## Next steps
37
37
38
-
Head over to our [Identity Token](/embedded-wallets/authentication/id-token) documentation to learn more about the `JWT` and how to verify it.
39
-
40
-
:::
38
+
See the [Identity Token](/embedded-wallets/authentication/id-token) documentation to learn more about the `JWT` and how to verify it.
SDKs provide session management to minimize repeated logins, enhancing user experience by maintaining login state for a specified duration. This seamless experience offers several advantages, including:
8
8
9
-
-**User Experience:** Reduces login frequency for a smoother experience.
9
+
-**User experience:** Reduces login frequency for a smoother experience.
10
10
-**Efficiency:** Session restoration is quick, occurring in milliseconds.
11
11
-**Integration:** Easy to implement with minimal impact on user flow.
12
12
13
-
### Session Key
13
+
### Session key
14
14
15
15
Upon login, a unique session key is generated. The user state is then encrypted with this session key and stored on the Web3Auth metadata server.
16
16
17
-
### Secure Storage
17
+
### Secure storage
18
18
19
-
Session keys are stored securely in the client's environment (e.g., browser local storage, Android Encrypted Shared Preferences, iOS Keychain Services).
19
+
Session keys are stored securely in the client's environment (for example, browser local storage, Android encrypted shared preferences, or iOS keychain services).
20
20
21
21
### Restoration
22
22
23
-
1.**Retrieve Key:** SDK retrieves the session key from secure storage.
24
-
2.**Server Communication:** SDK requests user state restoration from the metadata server.
23
+
1.**Retrieve key:** SDK retrieves the session key from secure storage.
24
+
2.**Server communication:** SDK requests user state restoration from the metadata server.
25
25
3.**Decryption:** Encrypted user state is decrypted with the session key.
26
26
4.**Fallback:** If no active session, user proceeds with standard login.
0 commit comments