Skip to content

Commit a98e66f

Browse files
committed
Update examples
1 parent 8caae3d commit a98e66f

File tree

12 files changed

+557
-462
lines changed

12 files changed

+557
-462
lines changed

docs/connect-blockchain/other/bitcoin.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,6 @@ blockchain.
216216
## Example
217217

218218
You can find a complete example of the Bitcoin Taproot integration in
219-
[this GitHub Repo](https://github.com/Web3Auth/web3auth-core-kit-examples/blob/main/single-factor-auth-web/sfa-web-bitcoin-example).
219+
[this GitHub Repo](https://github.com/Web3Auth/mpc-core-kit-examples/blob/main/single-factor-auth-web/sfa-web-bitcoin-example).
220220

221221
Live Demo: [https://sfa-web-bitcoin-example.vercel.app](https://sfa-web-bitcoin-example.vercel.app)

docs/infrastructure/infrastructure.mdx

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -187,37 +187,6 @@ The 2/3 share threshold feature of Web3Auth safeguards against censorship by Tor
187187
the nodes decline to return the user's private key share after successful authentication, the user
188188
can still reconstruct their private key using their device share and recovery share.
189189

190-
### Added security with Web3Auth Auth Network
191-
192-
Web3Auth's social logins are backed by the Auth Network, an open-source wallet management network
193-
that safely splits and secures user wallets. Comprised of validator nodes from geographically
194-
diverse businesses and institutions, the Torus Network aims to make blockchain technology accessible
195-
to billions of people.
196-
197-
<div className="text-image-column">
198-
<div style={{ flex: "1" }}>
199-
Current node operators include
200-
<ul>
201-
<li>Binance</li>
202-
<li>Ethereum Name Service</li>
203-
<li>Etherscan</li>
204-
<li>Polygon (MATIC)</li>
205-
<li>Zilliqa</li>
206-
<li>Tendermint</li>
207-
<li>Ontology</li>
208-
<li>SKALE</li>
209-
<li>Web3Auth (Torus)</li>
210-
</ul>
211-
</div>
212-
<div>
213-
<img
214-
alt="Web3Auth Auth Network"
215-
style={{ height: "500px", flex: "1" }}
216-
src={Web3AuthAuthNetwork}
217-
/>
218-
</div>
219-
</div>
220-
221190
## Privacy, User Data and Compliance
222191

223192
Web3Auth's takes a conservative approach to data collection. The only required stored data is a

docs/sdk/mobile/sfa/react-native/examples.mdx

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@ hide_table_of_contents: true
66
---
77

88
import Examples from "@site/src/components/Examples";
9-
import {
10-
coreKitSfaWebExamples,
11-
coreKitSfaReactNativeExamples,
12-
coreKitSfaNodeExamples,
13-
} from "@site/src/common/maps";
9+
import { coreKitSfaReactNativeExamples } from "@site/src/common/maps";
1410

15-
<Examples
16-
exampleMap={[
17-
...coreKitSfaWebExamples,
18-
...coreKitSfaReactNativeExamples,
19-
...coreKitSfaNodeExamples,
20-
]}
21-
/>
11+
<Examples exampleMap={[...coreKitSfaReactNativeExamples]} />

docs/sdk/mobile/sfa/react-native/initialize.mdx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,7 @@ description: "Web3Auth Single Factor Auth JS SDK - Initialize | Documentation -
66

77
import InstantiatingProvider from "@site/src/common/sdk/sfa/_instantiating_provider.mdx";
88
import ExampleCards from "@theme/ExampleCards";
9-
import {
10-
coreKitSfaWebExamples,
11-
coreKitSfaReactNativeExamples,
12-
coreKitSfaNodeExamples,
13-
QUICK_START,
14-
} from "@site/src/common/maps";
9+
import { coreKitSfaReactNativeExamples, QUICK_START } from "@site/src/common/maps";
1510

1611
After Installation, the next step to use Web3Auth Single Factor Auth JS SDK is to Initialize the
1712
SDK.
@@ -340,9 +335,5 @@ For Node JS, you just need to set the `mode` of the SDK to `node`.
340335
## Quick Starts
341336

342337
<ExampleCards
343-
exampleMap={[
344-
...coreKitSfaWebExamples,
345-
...coreKitSfaReactNativeExamples,
346-
...coreKitSfaNodeExamples,
347-
].filter((obj) => obj.type === QUICK_START)}
338+
exampleMap={[...coreKitSfaReactNativeExamples].filter((obj) => obj.type === QUICK_START)}
348339
/>

docs/sdk/mpc-core-kit/mpc-core-kit-js/authentication/login-oauth.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ where login was initiated.
306306

307307
You can directly copy the service worker file code from here and paste it into your respective
308308
folder. You can also find the code in our
309-
[MPC Core Kit Example (Popup Flow)](https://github.com/Web3Auth/web3auth-core-kit-examples/tree/main/mpc-core-kit-web/implicit-flow-examples/mpc-core-kit-popup-flow-example).
309+
[MPC Core Kit Example (Popup Flow)](https://github.com/Web3Auth/mpc-core-kit-examples/tree/main/mpc-core-kit-web/implicit-flow-examples/mpc-core-kit-popup-flow-example).
310310

311311
<details>
312312
<summary>Service Worker Code</summary>

docs/sdk/web/js/examples.mdx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
---
2-
title: Examples - PnP Web Modal SDK
2+
title: Examples - PnP Web JS SDK
33
sidebar_label: Examples
4-
description: "@web3auth/modal Examples | Documentation - Web3Auth"
4+
description: "Web3Auth PnP Web JS SDK Examples | Documentation - Web3Auth"
55
hide_table_of_contents: true
66
---
77

8-
import Examples from "@site/src/components/Examples";
8+
import ExampleCards from "@theme/ExampleCards";
99
import { webExamples } from "@site/src/common/maps";
1010

11-
<Examples exampleMap={webExamples} />
11+
<ExampleCards
12+
exampleMap={[...webExamples].filter(
13+
(obj) =>
14+
!obj.tags?.includes("react") && !obj.tags?.includes("vue") && !obj.tags?.includes("nextjs"),
15+
)}
16+
/>

docs/sdk/web/react/examples.mdx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
---
2-
title: Examples - PnP Web Modal SDK
2+
title: Examples - PnP Web React SDK
33
sidebar_label: Examples
4-
description: "@web3auth/modal Examples | Documentation - Web3Auth"
4+
description: "Web3Auth PnP Web React SDK Examples | Documentation - Web3Auth"
55
hide_table_of_contents: true
66
---
77

8-
import Examples from "@site/src/components/Examples";
8+
import ExampleCards from "@theme/ExampleCards";
99
import { webExamples } from "@site/src/common/maps";
1010

11-
<Examples exampleMap={webExamples} />
11+
<ExampleCards
12+
exampleMap={[...webExamples].filter(
13+
(obj) => obj.tags?.includes("react") || obj.tags?.includes("nextjs"),
14+
)}
15+
/>

docs/sdk/web/vue/examples.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
---
2-
title: Examples - PnP Web Modal SDK
2+
title: Examples - PnP Vue SDK
33
sidebar_label: Examples
4-
description: "@web3auth/modal Examples | Documentation - Web3Auth"
4+
description: "Web3Auth PnP Vue SDK Examples | Documentation - Web3Auth"
55
hide_table_of_contents: true
66
---
77

8-
import Examples from "@site/src/components/Examples";
8+
import ExampleCards from "@theme/ExampleCards";
99
import { webExamples } from "@site/src/common/maps";
1010

11-
<Examples exampleMap={webExamples} />
11+
<ExampleCards exampleMap={[...webExamples].filter((obj) => obj.tags?.includes("vue"))} />

sidebars.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ const sidebars: SidebarsConfig = {
623623
{
624624
type: "link",
625625
label: "Playground",
626-
href: "https://w3a.link/pnp-playground",
626+
href: "https://web3auth-playground.vercel.app/",
627627
},
628628
{
629629
type: "link",

0 commit comments

Comments
 (0)