Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
shahbaz17 committed Oct 26, 2023
1 parent 8db6904 commit 83bb8e3
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions docs/connect-blockchain/polkadot.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,7 @@ import GetUserInfoSnippet from "@site/src/common/docs/_get-userinfo.mdx";

While using the Web3Auth Web SDK for a non-EVM chain like [Polkadot](https://www.polkadot.network/) you get a standard provider from which you can get
the private key of the user. Using this private key, you can use the corresponding libraries of the blockchain to make blockchain calls like getting
the user's `account`, fetch `balance`, `sign transaction`, `send transaction`, `read` from and `write` to the smart contract, etc. We have highlighted
a few methods here to get you started quickly on that.

:::note

This reference is for the `Web`, however, you can use Polkadot on `Android`, `iOS`, `React Native`, `Flutter`, & `Unity` as well. Please follow our
reference for [Ethereum](/connect-blockchain/ethereum/), and similarly use Polkadot libraries that support the platforms to use the private key and
make blockchain calls accordingly.

:::
the user's `account`, fetch `balance`, `sign & send transaction`. We have highlighted a few methods here to get you started quickly on that.

## Installation

Expand Down Expand Up @@ -61,7 +52,7 @@ const web3authProvider = await web3auth.connect(); // web3auth.provider

<GetUserInfoSnippet />

## Get Account and Keyring
## Get Account and KeyPair

Once a user logs in, the Web3Auth SDK returns a provider. Since Web3Auth doesn't have a native provider for Polkadot, we need to directly use the
private key to make the RPC calls.
Expand Down

0 comments on commit 83bb8e3

Please sign in to comment.