Commit e6949f6
Docs: add headless mode and Solana batch guides (#2867)
* Docs: add headless mode and Solana batch guides
Add a new Multichain headless-mode guide and a Solana batch-transactions guide; expand troubleshooting and several SDK docs. Updates include: headless-mode guide describing display_uri flow and UI.headless usage; new Solana signAndSendAllTransactions guidance and Chrome Android cautions; added Wallet Adapter timing tip and Chrome Android warning; expanded Multichain methods reference with error classes and getSession access; small EVM/Multichain quickstart copy edits (base64Icon guidance) and migrate-from-sdk event docs; register new guides in the sidebar. Also apply minor copy/formatting edits across related docs.
* Update metamask-connect/evm/guides/migrate-from-sdk.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/multichain/guides/headless-mode.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/multichain/guides/headless-mode.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/multichain/guides/headless-mode.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/multichain/guides/headless-mode.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/solana/guides/batch-transactions.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/troubleshooting/index.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/troubleshooting/index.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/solana/guides/batch-transactions.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/solana/guides/batch-transactions.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/solana/guides/batch-transactions.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/solana/guides/send-legacy-transaction.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/solana/guides/use-wallet-adapter.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/troubleshooting/index.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/troubleshooting/index.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/troubleshooting/index.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/troubleshooting/index.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/troubleshooting/index.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/troubleshooting/index.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/troubleshooting/index.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/troubleshooting/index.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/troubleshooting/index.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/troubleshooting/index.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/troubleshooting/index.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Update metamask-connect/multichain/guides/headless-mode.md
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>
* Clarify RN polyfills and preferExtension behavior
Refactor troubleshooting content: explain that preferExtension defaults to true and show how to force the MetaMask Wallet Protocol/QR flow. Remove inlined React Native polyfill guidance from the main troubleshooting page and point to the expanded Metro polyfill guide instead. Expand metro-polyfill-issues.md with improved metadata, split polyfills into base vs optional (wagmi) sections, add deeplink/preferredOpenLink examples, and clarify import order and Buffer/Event polyfills.
* Fixing DApp to Dapp
As per Alex's suggestion before.
But please note that the rule is saying to use `dapp` and neither of these `DApp` or `Dapp`
https://github.com/MetaMask/metamask-docs/blob/main/.cursor/rules/terminology.mdc#L14
* Normalize 'Wallet Standard' capitalization
Standardize phrasing across MetaMask Connect docs by replacing occurrences of "wallet-standard"/"Wallet-standard" with "Wallet Standard" and updating related references (e.g., "wallet-standard features" -> "Wallet Standard features", "wallet-standard adapter" -> "Wallet Standard adapter"). Affects EVM and Solana docs: metamask-connect/evm/guides/migrate-from-sdk.md and multiple Solana pages (guides, quickstart, index, and reference methods) for consistency and clarity.
* Link stateChanged event to events reference
Update metamask-connect/multichain/guides/headless-mode.md to replace the inline `stateChanged` mention with a link to the events reference (../reference/methods.md#events) for clearer documentation and easier navigation.
---------
Co-authored-by: Alexandra Carrillo <12214231+alexandratran@users.noreply.github.com>1 parent f629d78 commit e6949f6
24 files changed
Lines changed: 731 additions & 59 deletions
File tree
- metamask-connect
- evm
- guides
- sign-data
- quickstart
- reference
- multichain
- guides
- quickstart
- reference
- solana
- guides
- sign-data
- quickstart
- reference
- troubleshooting
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
267 | 267 | | |
268 | 268 | | |
269 | 269 | | |
270 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
271 | 275 | | |
272 | 276 | | |
273 | 277 | | |
274 | | - | |
| 278 | + | |
275 | 279 | | |
276 | 280 | | |
277 | 281 | | |
| |||
291 | 295 | | |
292 | 296 | | |
293 | 297 | | |
294 | | - | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
295 | 305 | | |
296 | 306 | | |
297 | 307 | | |
| |||
308 | 318 | | |
309 | 319 | | |
310 | 320 | | |
311 | | - | |
| 321 | + | |
312 | 322 | | |
313 | 323 | | |
314 | 324 | | |
| |||
325 | 335 | | |
326 | 336 | | |
327 | 337 | | |
328 | | - | |
| 338 | + | |
329 | 339 | | |
330 | 340 | | |
331 | 341 | | |
| |||
392 | 402 | | |
393 | 403 | | |
394 | 404 | | |
395 | | - | |
| 405 | + | |
396 | 406 | | |
397 | 407 | | |
398 | 408 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
| 380 | + | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
548 | | - | |
| 548 | + | |
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
| |||
574 | 574 | | |
575 | 575 | | |
576 | 576 | | |
577 | | - | |
| 577 | + | |
578 | 578 | | |
579 | 579 | | |
580 | 580 | | |
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
602 | | - | |
| 602 | + | |
603 | 603 | | |
604 | 604 | | |
605 | 605 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
157 | 159 | | |
158 | 160 | | |
159 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
268 | | - | |
| 268 | + | |
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| |||
0 commit comments