Skip to content

Commit 52a2b61

Browse files
committed
fix typos and formatting issues
1 parent 418a4ba commit 52a2b61

File tree

1 file changed

+11
-23
lines changed

1 file changed

+11
-23
lines changed

src/pages/guides/pnp-no-modal-multichain.mdx

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import SetupWeb3AuthDashboard from "@site/src/common/guides/_setup-web3auth-dash
2626
import SetupBaseProject from "@site/src/common/guides/_setup-base-project.mdx";
2727

2828
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
3030
addresses from each blockchain. Of course, you can interact and sign transactions with any of them.
3131

3232
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 ={
179179
// StarkEx and StarkNet
180180
//@ts-ignore
181181
import { ec } from "@starkware-industries/starkware-crypto-utils";
182-
````
182+
```
183183
</TabItem>
184184
<TabItem value="EthereumRPC">
185185
```tsx
186186
import type {IProvider} from '@web3auth/base'
187187
import Web3 from 'web3'
188-
````
188+
```
189189
</TabItem>
190190
<TabItem value="SolanaRPC">
191191
```tsx
192192
import { SolanaPrivateKeyProvider, SolanaWallet } from "@web3auth/solana-provider";
193193
import { CHAIN_NAMESPACES } from "@web3auth/base";
194194
import { Connection, LAMPORTS_PER_SOL, PublicKey, SystemProgram, Transaction } from "@solana/web3.js";
195-
````
195+
```
196196
</TabItem>
197197
<TabItem value="TezosRPC">
198-
````tsx
198+
```tsx
199199
// Tezos
200200
//@ts-ignore
201201
import * as tezosCrypto from "@tezos-core-tools/crypto-utils";
202202
import { hex2buf } from "@taquito/utils";
203203
import { TezosToolkit } from "@taquito/taquito";
204-
````
204+
```
205205
</TabItem>
206206
<TabItem value="PolkadotRPC">
207207
```tsx
208208
// Polkadot
209209
import { Keyring, ApiPromise, WsProvider } from "@polkadot/api";
210210
import { cryptoWaitReady } from "@polkadot/util-crypto";
211-
````
211+
```
212212
</TabItem>
213213

214214
</Tabs>
@@ -253,8 +253,8 @@ const web3authProvider = await web3auth.connectTo(WALLET_ADAPTERS.OPENLOGIN, {
253253
### Get Public Addresses from different blockchains
254254

255255
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.
258258

259259
## EVM (Ethereum)
260260

@@ -581,7 +581,6 @@ export default class PolkadotRPC {
581581
}
582582

583583
}
584-
585584
````
586585

587586
</TabItem>
@@ -609,7 +608,7 @@ export default class EthereumRPC{
609608

610609
}
611610

612-
````
611+
```
613612

614613
</TabItem>
615614
</Tabs>
@@ -631,7 +630,7 @@ StarkNet and XRPL.
631630

632631
This guide has walked you through the seamless process of creating a multichain connection using
633632
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
635634
for authentication across multiple blockchains.
636635

637636
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/).
652651
- https://web3auth.io/docs/examples?product=Plug+and+Play&sdk=Plug+and+Play+Web+Modal+SDK
653652

654653
```
655-
656-
```
657-
658-
```
659-
660-
```
661-
662-
```
663-
664-
```
665-
````

0 commit comments

Comments
 (0)