Skip to content

Commit 35a082f

Browse files
committed
edits
1 parent e91f713 commit 35a082f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

wallet/connect/3rd-party-libraries/wagmi.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ export const config = createConfig({
6868
})
6969
```
7070

71+
:::note
72+
By default, if the EIP-6963 MetaMask injected provider is detected, this connector will replace it.
73+
See Wagmi's [`rdns`](https://wagmi.sh/dev/creating-connectors#properties) property for more information.
74+
:::
75+
7176
### 3. Run the dapp
7277

7378
Start the development server:
@@ -78,10 +83,7 @@ npm run dev
7883

7984
Navigate to the displayed localhost URL to view and test your dapp.
8085

81-
## Advanced
82-
By default, this connector will replace the EIP_6963 MetaMask injected connector if it is detected (See the option [`rdns`](https://wagmi.sh/dev/creating-connectors#properties))
83-
8486
## Next steps
8587

8688
See the [Create a React dapp with the SDK and Wagmi](../../tutorials/react-dapp-sdk-wagmi.md) tutorial
87-
for more information about creating a Wagmi dapp with various SDK configurations.
89+
for more information about configuring the SDK with Wagmi, and how the dapp behaves out of the box.

wallet/tutorials/react-dapp-sdk-wagmi.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ This displays a localhost URL in your terminal for easy access to launch in your
102102
➜ press h + enter to show help
103103
```
104104

105-
#### 1.1. Review the Wagmi, and MetaMask SDK configuration
105+
### 2. Review the Wagmi configuration
106106

107107
In `src/main.tsx`, you can find the following `WagmiProvider` which takes a `config` and `QueryClientProvider`.
108108

@@ -178,7 +178,7 @@ Out of the box, they have also set up the `injected` wallet provider, `coinbaseW
178178

179179
You'll replace these with the MetaMask connector for the purpose of this tutorial and testing MetaMask SDK.
180180

181-
### 2. Update the Wagmi configuration
181+
### 3. Update the Wagmi configuration
182182

183183
Modify this configuration to target the Linea testnet and use the MetaMask connector, which is
184184
Wagmi's built-in support for MetaMask SDK:
@@ -218,7 +218,7 @@ This configures Wagmi with the following options:
218218

219219
This setup simplifies wallet integration and provides a smooth user experience while working with Linea Sepolia.
220220

221-
### 3. Connect to MetaMask extension or Mobile
221+
### 4. Connect to MetaMask extension or Mobile
222222

223223
At this point, your dapp displays, and you can connect to and disconnect from MetaMask.
224224
Your connection experience will be similar to that of using the injected provider, as most web3
@@ -250,9 +250,7 @@ MetaMask Mobile.
250250
</video>
251251
</p>
252252

253-
254-
### Conclusion
253+
## Conclusion
255254

256255
This tutorial walked you through generating a dapp using Create Wagmi, and configuring MetaMask SDK.
257-
You explored how the SDK works within a React application with Wagmi, how it behaves out of
258-
the box.
256+
You explored how the SDK works within a React application with Wagmi, and how it behaves out of the box.

0 commit comments

Comments
 (0)