Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 7182c65

Browse files
Update React.mdx (#906)
1 parent b47da85 commit 7182c65

File tree

1 file changed

+8
-8
lines changed
  • docs/onboarding/23 Smart Wallet/Guides

1 file changed

+8
-8
lines changed

docs/onboarding/23 Smart Wallet/Guides/React.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ By using the [wallet SDK](/wallet/smart-wallet) alongside the [React SDK](/react
1111

1212
In react, there are three ways to get started with smart wallets:
1313

14-
- Using the [`ConnectWallet`](#using-connectwallet) component - an out of the box UI to connect your users with any wallet including smart wallet. This uses the Wallet SDK under the hood.
14+
- Using the [`ConnectWallet`](#using-connectwallet) component - an out-of-the-box UI to connect your users with any wallet including smart wallet. This uses the Wallet SDK under the hood.
1515
- Using the [`useConnect` hook](#using-useconnect) to connect users and create a custom UI.
1616
- Using the [`Wallet SDK`](#using-thirdwebsdkprovider) directly for low level control over the smart wallet.
1717

@@ -52,7 +52,7 @@ Choose the right smart wallet setup for your app. thirdweb offers the following
5252

5353
## 2. Create an API key
5454

55-
To use the smart wallet bundler and paymaster you need to create an API key and a billing account.
55+
To use the smart wallet bundler and paymaster, you must create an API key and a billing account.
5656

5757
To create an API Key:
5858

@@ -62,21 +62,21 @@ To create an API Key:
6262
![Create API Key](/assets/dashboard/settings-tab.png)
6363

6464
- Give your API key a name and click **Next**.
65-
- Make sure that the **Smart Wallets** services are enabled and any addresses that your deployed smart accounts interact with are added to the **Allowed Contract Addresses** section:
65+
- Make sure that the **Smart Wallets** services are enabled, and any addresses that your deployed smart accounts interact with are added to the **Allowed Contract Addresses** section:
6666

6767
![Create API Key](/assets/dashboard/create-api-key-combined.png)
6868

6969
- Click **Next** and then add your local host and production/preview domains to the **Set Access Restrictions** section. Click "Create" to create your key.
70-
- Copy your **Secret Key** and store it in a safe place such as a password manager. You will not be able to see this key again.
70+
- Copy your **Secret Key** and store it in a safe place like a password manager. You will not be able to see this key again.
7171
- Click **I Have Stored the Secret Key Securely** and your key will now be visible from the API Keys table.
7272
- **Note**: to edit your private key at any point, click on the key from the table and then click on the **Edit** button.
7373
- Copy your **clientId**. Since we are building a front-end application, we will need to use this key to build our application.
7474

75-
To use smart wallet infrastructure on mainnet you will also need to [create an account and add a paymet method](https://thirdweb.com/dashboard/settings/billing).
75+
To use smart wallet infrastructure on mainnet you will also need to [create an account and add a payment method](https://thirdweb.com/dashboard/settings/billing).
7676

7777
## 3. Create an App
7878

79-
To use smart wallets in a react app you can either:
79+
To use smart wallets in a React app you can either:
8080

8181
- Use the [create](/cli/create) command to create a new project with the dependencies already installed.
8282
- Add the dependencies to an existing project.
@@ -89,7 +89,7 @@ Open your terminal and run:
8989
npx thirdweb create app
9090
```
9191

92-
When promted, select/input the following options:
92+
When prompted, select/input the following options:
9393

9494
- A name for the project
9595
- `EVM` as the blockchain
@@ -106,7 +106,7 @@ To add the dependencies to an existing project, run the following commands:
106106
npx thirdweb install
107107
```
108108

109-
This will install the relevant dependencies.
109+
This will detect the environment you are working in and install the relevant dependencies.
110110

111111
## 1. Using Connect Wallet
112112

0 commit comments

Comments
 (0)