Skip to content

Commit 624a06e

Browse files
authored
Merge pull request #983 from Web3Auth/sfa-combined
Sfa combined
2 parents 2bd04a0 + b0dbbe0 commit 624a06e

File tree

445 files changed

+9010
-8482
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

445 files changed

+9010
-8482
lines changed

.vscode/settings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"Metamask's",
1818
"metastring",
1919
"nodir",
20-
"openlogin",
2120
"palenight",
2221
"passwordless",
2322
"solana",
@@ -55,7 +54,7 @@
5554
"editor.defaultFormatter": "DotJoshJohnson.xml"
5655
},
5756
"[javascript]": {
58-
"editor.defaultFormatter": "vscode.typescript-language-features"
57+
"editor.defaultFormatter": "esbenp.prettier-vscode"
5958
},
6059
"[typescriptreact]": {
6160
"editor.defaultFormatter": "esbenp.prettier-vscode"

docs/README.mdx

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,14 @@ import SEO from "@site/src/components/SEO";
1919

2020
# Web3Auth Documentation
2121

22-
#### Simplifying User Onboarding with Scalable, Secure, Non-Custodial Wallet Management
23-
24-
<HomeQuickStartBanner />
25-
26-
# Discover Our Solutions
27-
28-
Our extensive product suite covers everything from pre-onboarding to post-onboarding and
29-
authentication, enabling you to craft a seamless end-to-end experience for your Web3 dApp.
22+
#### Effortless Social Logins, Beautiful UX, and Secure Onboarding for Web3
3023

3124
<ProductCards />
3225

33-
# Resources
26+
## Resources
3427

3528
Our comprehensive array of guides, reference materials, and examples is designed to assist you at
3629
every step of your Web3Auth integration. Explore the nuances of web3 authentication and craft a
3730
tailored integration that meets your specific needs.
3831

3932
<ResourcesCards />
40-
41-
# Need Help?
42-
43-
<HelpCards />

docs/auth-provider-setup/social-providers/twitter.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ await web3AuthNoModalInstance.connectTo(WALLET_ADAPTERS.AUTH, {
8484
defaultValue="no-modal"
8585
values={[
8686
{ label: "No Modal SDK", value: "no-modal", },
87-
{ label: "SFA Web SDK", value: "sfa", },
87+
{ label: "SFA JS SDK", value: "sfa", },
8888
]}
8989
>
9090
<TabItem

docs/connect-blockchain/connect-blockchain.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ blockchain. Providers take JSON-RPC requests and return the response. This is no
1515
submitting the request to an HTTP or IPC socket-based server. With Web3Auth, you get two types of
1616
providers, depending on the product you use:
1717

18-
1. [Shamir Secret Sharing based Private Key Providers](#private-key-providers-non-mpc)
19-
2. [Threshold Signature Scheme based MPC Providers](#mpc-providers)
18+
1. [Shamir Secret Sharing based Private Key Providers](#private-key-providers-pnp--sfa)
19+
2. [Threshold Signature Scheme based MPC Providers](#mpc-core-kit-providers)
2020

2121
## Web3Auth is Chain Agnostic
2222

2323
By default, Web3Auth supports the `secp256k1` and `ed25519` key curves. While these key curves serve
2424
the majority of blockchains out there, certain blockchains have different curve implementations of
25-
their own. While for our MPC products, you need dedicated providers to interact with certain
26-
blockchains, with **Web3Auth non-MPC products you can interact with any blockchain of your choice**.
25+
their own. While for MPC Core Kit, you need dedicated providers to interact with certain
26+
blockchains, with **Web3Auth PnP & SFA you can interact with any blockchain of your choice**.
2727

28-
In Web3Auth non-MPC Products, the ability to export the user's private key comes in handy. This
29-
private key can be utilized by the dApp to interact with the chain.
28+
In Web3Auth PnP & SFA, the ability to export the user's private key comes in handy. This private key
29+
can be utilized by the dApp to interact with the chain.
3030

3131
You can read more about this in our [Connect with Other Blockchains](./other/) section.
3232

@@ -39,7 +39,7 @@ transactions, smart contract wallets, different elliptic curve pairs and even RS
3939

4040
:::
4141

42-
## Private Key Providers (non-MPC)
42+
## Private Key Providers (PnP & SFA)
4343

4444
The Private Key Providers work with the majority of Web3Auth products, including Plug and Play SDKs,
4545
Single Factor Auth SDKs, and tKey SSS (v1) SDKs. As the name suggests these providers are a wrapper
@@ -56,16 +56,16 @@ Web3Auth supports the following private key providers for Web SDKs:
5656
- [XRPL Private Key Provider](/sdk/pnp/web/providers/xrpl): For connecting with XRPL Blockchain
5757
- [Common Private Key Provider](/sdk/pnp/web/providers/common): For connecting with any blockchain.
5858

59-
## MPC Providers
59+
## MPC Core Kit Providers
6060

6161
The Threshold Signature Scheme-based MPC Providers work with our MPC Core Kit SDK. These providers
6262
generate a signature of the particular key curve the provider is configured for and accordingly
6363
gives you the interface to initialize with the blockchain it is configured for. Currently, Web3Auth
6464
MPC Core Kit supports the following providers:
6565

66-
- EIP1193 MPC Provider: For connecting with EVM-based chains [Available by default within the SDK]
67-
- Bitcoin MPC Provider (coming soon)
68-
- Solana MPC Provider (coming soon)
66+
- EIP1193 MPC Provider: For connecting with EVM-based chains
67+
- EDDSA MPC Provider: For connecting with Solana and other chains that support the `ed25519` curve.
68+
- Bitcoin MPC Provider
6969

7070
## Reference Guides for Blockchain Connections
7171

docs/connect-blockchain/near/near.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ export const Near = [
2929
description: "",
3030
tiles: [
3131
{
32-
key: "web-non-mpc",
33-
title: "Web - Non MPC",
32+
key: "web-pnp-sfa",
33+
title: "Web - PnP & SFA",
3434
icon: "logo-js.png",
3535
path: "/connect-blockchain/near/web",
3636
},
3737
{
3838
key: "web-mpc",
39-
title: "Web - MPC",
39+
title: "Web - MPC Core Kit",
4040
icon: "logo-js.png",
4141
path: "/connect-blockchain/near/web-mpc",
4242
},

docs/connect-blockchain/near/web-mpc.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ description:
2525
import TabItem from "@theme/TabItem";
2626
import Tabs from "@theme/Tabs";
2727

28-
import Initialization from "@site/src/common/sdk/core-kit/mpc-core-kit/_ed25519-initialization.mdx";
28+
import Initialization from "@site/src/common/sdk/mpc-core-kit/_ed25519-initialization.mdx";
2929

3030
To sign the transactions for Near using MPC CoreKit JS SDK, you can utilize the
3131
@toruslabs/tss-frost-lib to instantiate `Web3AuthMPCCoreKit` with ed25519 KeyType. To support the

docs/connect-blockchain/other/other.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: "Connect Web3Auth with any Blockchain - Chain Agnostic | Documentat
99

1010
import Tiles from "@theme/Tiles";
1111

12-
While using the Web3Auth Non MPC SDKs for non-EVM chains, other than Solana and XRPL, we use the
12+
While using the Web3Auth PnP & SFA SDKs for non-EVM chains, other than Solana and XRPL, we use the
1313
Common Private Key Provider. This provider is a basic wrapper around the private key, helping us
1414
export it on demand. The private key returned by this provider is of the curve `secp256k1` &
1515
`ed25519` based on the particular requests. While these key curves serve the majority of blockchains

docs/connect-blockchain/solana/solana.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ export const Solana = [
2929
description: "",
3030
tiles: [
3131
{
32-
key: "web-non-mpc",
33-
title: "Web - Non MPC",
32+
key: "web-pnp-sfa",
33+
title: "Web - PnP & SFA",
3434
icon: "logo-js.png",
3535
path: "/connect-blockchain/solana/web",
3636
},
3737
{
3838
key: "web-mpc",
39-
title: "Web - MPC",
39+
title: "Web - MPC Core Kit",
4040
icon: "logo-js.png",
4141
path: "/connect-blockchain/solana/web-mpc",
4242
},

docs/connect-blockchain/solana/web-mpc.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ description:
2525
import TabItem from "@theme/TabItem";
2626
import Tabs from "@theme/Tabs";
2727

28-
import Installation from "@site/src/common/sdk/core-kit/mpc-core-kit/_solana-installation.mdx";
29-
import Initialization from "@site/src/common/sdk/core-kit/mpc-core-kit/_ed25519-initialization.mdx";
30-
import SolanaAccount from "@site/src/common/sdk/core-kit/mpc-core-kit/_solana-account.mdx";
31-
import SolanaSignMessage from "@site/src/common/sdk/core-kit/mpc-core-kit/_solana-sign-message.mdx";
32-
import SolanaSignTransaction from "@site/src/common/sdk/core-kit/mpc-core-kit/_solana-sign-transaction.mdx";
28+
import Installation from "@site/src/common/sdk/mpc-core-kit/_solana-installation.mdx";
29+
import Initialization from "@site/src/common/sdk/mpc-core-kit/_ed25519-initialization.mdx";
30+
import SolanaAccount from "@site/src/common/sdk/mpc-core-kit/_solana-account.mdx";
31+
import SolanaSignMessage from "@site/src/common/sdk/mpc-core-kit/_solana-sign-message.mdx";
32+
import SolanaSignTransaction from "@site/src/common/sdk/mpc-core-kit/_solana-sign-transaction.mdx";
3333

3434
To sign the transactions for Solana using MPC CoreKit JS SDK, you can utilize the
3535
@toruslabs/tss-frost-lib to instantiate `Web3AuthMPCCoreKit` with ed25519 KeyType. To support the

docs/connect-blockchain/solana/web.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Integrate Web3Auth with the Solana Blockchain in Javascript
3-
sidebar_label: Web - Non MPC
3+
sidebar_label: Web - PnP & SFA
44
image: "banners/solana.png"
55
keywords:
66
[

0 commit comments

Comments
 (0)