@@ -26,7 +26,7 @@ import SetupWeb3AuthDashboard from "@site/src/common/guides/_setup-web3auth-dash
26
26
import SetupBaseProject from " @site/src/common/guides/_setup-base-project.mdx" ;
27
27
28
28
This guide will cover the basics of how to integrate Web3Auth with different blockchains at the same
29
- time. In this demo, you will be able to authenticate with different social logins and different
29
+ time. In this demo, you will be able to authenticate with different social logins and get different
30
30
addresses from each blockchain. Of course, you can interact and sign transactions with any of them.
31
31
32
32
You will be able to make calls like get the user's ` account ` , fetch ` balance ` , ` sign transaction ` ,
@@ -179,36 +179,36 @@ export const openloginAdapterConfig: OpenloginAdapterOptions ={
179
179
// StarkEx and StarkNet
180
180
//@ts-ignore
181
181
import { ec } from "@starkware-industries/starkware-crypto-utils";
182
- ````
182
+ ```
183
183
</TabItem >
184
184
<TabItem value = " EthereumRPC" >
185
185
```tsx
186
186
import type { IProvider } from '@web3auth/base'
187
187
import Web3 from 'web3'
188
- ````
188
+ ```
189
189
</TabItem >
190
190
<TabItem value = " SolanaRPC" >
191
191
```tsx
192
192
import { SolanaPrivateKeyProvider , SolanaWallet } from "@web3auth/solana-provider";
193
193
import { CHAIN_NAMESPACES } from "@web3auth/base";
194
194
import { Connection , LAMPORTS_PER_SOL , PublicKey , SystemProgram , Transaction } from "@solana/web3.js";
195
- ````
195
+ ```
196
196
</TabItem >
197
197
<TabItem value = " TezosRPC" >
198
- ```` tsx
198
+ ```tsx
199
199
// Tezos
200
200
//@ts-ignore
201
201
import * as tezosCrypto from "@tezos-core-tools/crypto-utils";
202
202
import { hex2buf } from "@taquito/utils";
203
203
import { TezosToolkit } from "@taquito/taquito";
204
- ````
204
+ ```
205
205
</TabItem >
206
206
<TabItem value = " PolkadotRPC" >
207
207
```tsx
208
208
// Polkadot
209
209
import { Keyring , ApiPromise , WsProvider } from "@polkadot/api";
210
210
import { cryptoWaitReady } from "@polkadot/util-crypto";
211
- ````
211
+ ```
212
212
</TabItem >
213
213
214
214
< / Tabs >
@@ -253,8 +253,8 @@ const web3authProvider = await web3auth.connectTo(WALLET_ADAPTERS.OPENLOGIN, {
253
253
### Get Public Addresses from different blockchains
254
254
255
255
For each blockchain you want to connect to , you need to call the ` getAccounts ` function. Every RPC
256
- Class blockchain , expect Ethereum you would need to provide the private key in order to get the
257
- public address.
256
+ Class blockchain , except Ethereum you would need to provide the private key to get the public
257
+ address.
258
258
259
259
## EVM (Ethereum )
260
260
@@ -581,7 +581,6 @@ export default class PolkadotRPC {
581
581
}
582
582
583
583
}
584
-
585
584
````
586
585
587
586
</TabItem >
@@ -609,7 +608,7 @@ export default class EthereumRPC{
609
608
610
609
}
611
610
612
- ````
611
+ ```
613
612
614
613
</TabItem >
615
614
</Tabs >
@@ -631,7 +630,7 @@ StarkNet and XRPL.
631
630
632
631
This guide has walked you through the seamless process of creating a multichain connection using
633
632
Web3Auth and the React PnP no - modal SDK . By integrating Web3Auth , developers are empowered to build
634
- applications that are not only blockchain agnostic but also user - friendly , leveraging social logins
633
+ applications that are not only blockchain - agnostic but also user - friendly , leveraging social logins
635
634
for authentication across multiple blockchains .
636
635
637
636
The provided examples and code snippets have shown how to initialize Web3Auth , configure adapters ,
@@ -652,14 +651,3 @@ contact us in our [community](https://web3auth.io/community/).
652
651
- https :// web3auth.io/docs/examples?product=Plug+and+Play&sdk=Plug+and+Play+Web+Modal+SDK
653
652
654
653
` ` `
655
-
656
- ` ` `
657
-
658
- ` ` `
659
-
660
- ` ` `
661
-
662
- ` ` `
663
-
664
- ` ` `
665
- ` ` ` `
0 commit comments