Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion sdk/connect/javascript-wagmi.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
---
--mainnet.id
const config = createConfig({
// ... other config options
transports: {
[mainnet.id]: http('https://mainnet.infura.io/v3/<YOUR-API-KEY>'),
[sepolia.id]: http('https://sepolia.infura.io/v3/<YOUR-API-KEY>'),
},
})-
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Malformed Frontmatter Disrupts Document Parsing

Code snippet accidentally placed before the YAML frontmatter delimiter, breaking the markdown file structure. The frontmatter should start with --- on line 1, but instead has malformed content including --mainnet.id and a createConfig code block. This prevents proper parsing of the document metadata and will cause rendering issues.

Fix in Cursor Fix in Web

description: Quickstart guide for using the MetaMask SDK with a JavaScript and Wagmi dapp.
toc_max_heading_level: 3
sidebar_label: JavaScript + Wagmi (recommended)
Expand Down