Skip to content

Commit ef20ee1

Browse files
committed
fix links, update redirects, "metamask wallet sdk"
1 parent e2f4b8b commit ef20ee1

File tree

78 files changed

+545
-3646
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+545
-3646
lines changed

delegation-toolkit/get-started/smart-account-quickstart/eip7702.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,4 +168,4 @@ const userOperationHash = await bundlerClient.sendUserOperation({
168168

169169
- To grant specific permissions to other accounts from your smart account, [create a delegation](../../guides/delegation/execute-on-smart-accounts-behalf.md).
170170
- To quickly bootstrap a MetaMask Smart Accounts project, [use the CLI](../use-the-cli.md).
171-
- You can also [use MetaMask SDK to upgrade a MetaMask account to a smart account](/tutorials/upgrade-eoa-to-smart-account).
171+
- You can also [use MetaMask Wallet SDK to upgrade a MetaMask account to a smart account](/tutorials/upgrade-eoa-to-smart-account).

docusaurus.config.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -417,21 +417,17 @@ const config = {
417417
title: 'Documentation',
418418
items: [
419419
{
420-
label: 'SDK',
420+
label: 'MetaMask Wallet SDK',
421421
to: '/sdk',
422422
},
423423
{
424-
label: 'Wallet API',
425-
to: '/wallet',
424+
label: 'Embedded Wallets',
425+
to: '/embedded-wallets',
426426
},
427427
{
428428
label: 'Delegation Toolkit',
429429
to: '/delegation-toolkit',
430430
},
431-
{
432-
label: 'Embedded Wallets',
433-
to: '/embedded-wallets',
434-
},
435431
{
436432
label: 'Snaps',
437433
to: '/snaps',
@@ -458,7 +454,7 @@ const config = {
458454
href: 'https://github.com/MetaMask/metamask-extension/',
459455
},
460456
{
461-
label: 'MetaMask SDK GitHub',
457+
label: 'MetaMask Wallet SDK GitHub',
462458
href: 'https://github.com/MetaMask/metamask-sdk/',
463459
},
464460
{

gator_versioned_docs/version-0.13.0/get-started/smart-account-quickstart/eip7702.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,4 @@ const userOperationHash = await bundlerClient.sendUserOperation({
167167

168168
- To grant specific permissions to other accounts from your smart account, [create a delegation](../../guides/delegation/execute-on-smart-accounts-behalf.md).
169169
- To quickly bootstrap a MetaMask Smart Accounts project, [use the CLI](../use-the-cli.md).
170-
- You can also [use MetaMask SDK to upgrade a MetaMask account to a smart account](/tutorials/upgrade-eoa-to-smart-account).
170+
- You can also [use MetaMask Wallet SDK to upgrade a MetaMask account to a smart account](/tutorials/upgrade-eoa-to-smart-account).

sdk-sidebar.js

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const sdkSidebar = {
1111
collapsible: false,
1212
collapsed: false,
1313
items: [
14-
'reference/sdk-options',
14+
'reference/options',
1515
],
1616
},
1717
],
@@ -43,7 +43,7 @@ const sdkSidebar = {
4343
collapsible: false,
4444
collapsed: false,
4545
items: [
46-
'multichain/connect/reference/multichain-api',
46+
'multichain/connect/reference/api',
4747
],
4848
},
4949
],
@@ -55,9 +55,9 @@ const sdkSidebar = {
5555
collapsible: false,
5656
collapsed: false,
5757
items: [
58-
'evm/connect/get-started/javascript-wagmi',
58+
'evm/connect/get-started/wagmi',
5959
'evm/connect/get-started/javascript',
60-
'evm/connect/get-started/javascript-rainbowkit',
60+
'evm/connect/get-started/rainbowkit',
6161
'evm/connect/get-started/react-native',
6262
],
6363
},
@@ -76,7 +76,7 @@ const sdkSidebar = {
7676
collapsed: true,
7777
link: { type: "doc", id: "evm/connect/guides/send-transactions/index" },
7878
items: [
79-
'evm/connect/guides/send-transactions/send-batch-transactions',
79+
'evm/connect/guides/send-transactions/batch-transactions',
8080
],
8181
},
8282
{
@@ -93,6 +93,7 @@ const sdkSidebar = {
9393
'evm/connect/guides/interact-with-contracts',
9494
'evm/connect/guides/use-deeplinks',
9595
'evm/connect/guides/display-tokens',
96+
'evm/connect/guides/connect-extension',
9697
{
9798
type: 'category',
9899
label: 'Best practices',
@@ -140,14 +141,14 @@ const sdkSidebar = {
140141
collapsible: false,
141142
collapsed: false,
142143
items: [
143-
'evm/connect/reference/sdk-methods',
144+
'evm/connect/reference/methods',
144145
'evm/connect/reference/provider-api',
145146
{
146147
type: "category",
147148
label: "JSON-RPC API",
148149
collapsible: true,
149150
collapsed: true,
150-
link: { type: "doc", id: "evm/connect/reference/json-rpc-methods/index" },
151+
link: { type: "doc", id: "evm/connect/reference/json-rpc-api/index" },
151152
items: [],
152153
},
153154
],
@@ -165,10 +166,10 @@ const sdkSidebar = {
165166
collapsed: false,
166167
items: [
167168
'starknet/guides/connect-to-starknet',
168-
'starknet/guides/manage-starknet-accounts',
169-
'starknet/guides/manage-starknet-networks',
170-
'starknet/guides/send-starknet-transactions',
171-
'starknet/guides/sign-starknet-data',
169+
'starknet/guides/manage-user-accounts',
170+
'starknet/guides/manage-networks',
171+
'starknet/guides/send-transactions',
172+
'starknet/guides/sign-data',
172173
'starknet/guides/troubleshoot',
173174
],
174175
},
@@ -187,7 +188,7 @@ const sdkSidebar = {
187188
collapsible: false,
188189
collapsed: false,
189190
items: [
190-
'starknet/tutorials/create-a-simple-starknet-dapp',
191+
'starknet/tutorials/create-simple-starknet-dapp',
191192
],
192193
},
193194
{
@@ -196,7 +197,7 @@ const sdkSidebar = {
196197
collapsible: false,
197198
collapsed: false,
198199
items: [
199-
'starknet/reference/starknet-snap-api',
200+
'starknet/reference/snap-api',
200201
],
201202
},
202203
],

sdk/about.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ With MetaMask Wallet SDK, you can connect your dapp to MetaMask in the following
99

1010
The following table expands on the SDK's connection methods:
1111

12-
| Dapp location | User wallet location | Connection method | MetaMask SDK | Other SDKs |
12+
| Dapp location | User wallet location | Connection method | MetaMask Wallet SDK | Other SDKs |
1313
|---------------|-------------|------------------|--------------------------|--------------------------|
1414
| Desktop web | Wallet browser extension | Automatic connection via browser extension | Supported | Supported |
1515
| Desktop web | Wallet mobile app | QR code scan with wallet mobile app | Supported | Limited |
@@ -29,6 +29,6 @@ We recommend using services like [MetaMask Developer](https://developer.metamask
2929

3030
<p align="center">
3131

32-
![SDK architecture](_assets/web3-architecture.png)
32+
![SDK architecture](_assets/architecture.png)
3333

3434
</p>

sdk/evm/connect/get-started/javascript.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
description: Quickstart guide for using the MetaMask SDK with a JavaScript dapp.
2+
description: Quickstart guide for using MetaMask Wallet SDK with a JavaScript dapp.
33
sidebar_label: JavaScript
44
keywords: [connect, MetaMask, JavaScript, SDK, dapp, Wallet SDK]
55
---
@@ -9,7 +9,7 @@ import TabItem from "@theme/TabItem";
99

1010
# Connect to MetaMask using JavaScript
1111

12-
Get started with MetaMask SDK in your JavaScript dapp.
12+
Get started with MetaMask Wallet SDK in your JavaScript dapp.
1313
You can [download the quickstart template](#set-up-using-a-template) or [manually set up the SDK](#set-up-manually) in an existing dapp.
1414

1515
<p align="center">
@@ -27,7 +27,7 @@ You can [download the quickstart template](#set-up-using-a-template) or [manuall
2727

2828
## Set up using a template
2929

30-
1. Download the [MetaMask SDK JavaScript template](https://github.com/MetaMask/metamask-sdk-examples/tree/main/quickstarts/javascript):
30+
1. Download the [MetaMask Wallet SDK JavaScript template](https://github.com/MetaMask/metamask-sdk-examples/tree/main/quickstarts/javascript):
3131

3232
```bash
3333
npx degit MetaMask/metamask-sdk-examples/quickstarts/javascript metamask-javascript
@@ -46,7 +46,7 @@ You can [download the quickstart template](#set-up-using-a-template) or [manuall
4646
`degit` is a tool that enables cloning only the directory structure from a GitHub repository, without retrieving the entire repository.
4747

4848
Alternatively, you can use `git clone`, which will download the entire repository.
49-
To do so, clone the MetaMask SDK examples repository and navigate into the `quickstarts/javascript` directory:
49+
To do so, clone the MetaMask Wallet SDK examples repository and navigate into the `quickstarts/javascript` directory:
5050

5151
```bash
5252
git clone https://github.com/MetaMask/metamask-sdk-examples
@@ -80,7 +80,7 @@ You can [download the quickstart template](#set-up-using-a-template) or [manuall
8080
pnpm dev
8181
```
8282

83-
You've successfully set up MetaMask SDK.
83+
You've successfully set up MetaMask Wallet SDK.
8484
8585
## Set up manually
8686
@@ -136,8 +136,8 @@ const MMSDK = new MetaMaskSDK({
136136
137137
These examples configure the SDK with the following options:
138138
139-
- [`dappMetadata`](../reference/sdk-options.md#dappmetadata) - Ensures trust by showing your dapp's `name`, `url`, and `iconUrl` during connection.
140-
- [`infuraAPIKey`](../reference/sdk-options.md#infuraapikey) - Enables read-only RPC and load‑balancing.
139+
- [`dappMetadata`](../../../reference/options.md#dappmetadata) - Ensures trust by showing your dapp's `name`, `url`, and `iconUrl` during connection.
140+
- [`infuraAPIKey`](../../../reference/options.md#infuraapikey) - Enables read-only RPC and load‑balancing.
141141
Set this option to your [Infura API key](/developer-tools/dashboard/get-started/create-api).
142142

143143
### 3. Connect and use provider
@@ -159,16 +159,16 @@ console.log("eth_accounts result:", result)
159159

160160
`MMSDK.connect()` handles cross-platform connection (desktop and mobile), including deeplinking.
161161
162-
Use `provider.request()` for arbitrary [JSON-RPC requests](/wallet/reference/json-rpc-methods) like `eth_chainId` or `eth_getBalance`, or for [batching requests](../guides/batch-requests.md) via `metamask_batch`.
162+
Use `provider.request()` for arbitrary [JSON-RPC requests](../reference/json-rpc-api/index.md) like `eth_chainId` or `eth_getBalance`, or for [batching requests](../guides/batch-requests.md) via `metamask_batch`.
163163
164164
## Common SDK methods at a glance
165165
166166
| Method | Description |
167167
| --------------------------------------------------------------------------------- | -------------------------------------------------------- |
168-
| [`connect()`](../reference/sdk-methods.md#connect) | Triggers wallet connection flow |
169-
| [`connectAndSign({ msg: "..." })`](../reference/sdk-methods.md#connectandsign) | Connects and prompts user to sign a message |
170-
| [`getProvider()`](../reference/sdk-methods.md#getprovider) | Returns the provider object for RPC requests |
171-
| [`provider.request({ method, params })`](/wallet/reference/provider-api/#request) | Calls any Ethereum JSON‑RPC method |
168+
| [`connect()`](../reference/methods.md#connect) | Triggers wallet connection flow |
169+
| [`connectAndSign({ msg: "..." })`](../reference/methods.md#connectandsign) | Connects and prompts user to sign a message |
170+
| [`getProvider()`](../reference/methods.md#getprovider) | Returns the provider object for RPC requests |
171+
| [`provider.request({ method, params })`](../reference/provider-api.md#request) | Calls any Ethereum JSON‑RPC method |
172172
| [Batched RPC](../guides/batch-requests.md) | Use `metamask_batch` to group multiple JSON-RPC requests |
173173
174174
## Usage example

sdk/evm/connect/get-started/javascript-rainbowkit.md renamed to sdk/evm/connect/get-started/rainbowkit.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
2-
description: Quickstart guide for using the MetaMask SDK with a JavaScript and RainbowKit dapp.
2+
description: Quickstart guide for using MetaMask Wallet SDK with a JavaScript and RainbowKit dapp.
33
toc_max_heading_level: 2
44
sidebar_label: JavaScript + RainbowKit
55
keywords: [connect, MetaMask, JavaScript, RainbowKit, SDK, dapp, Wallet SDK]
66
---
77

88
# Connect to MetaMask using JavaScript + RainbowKit
99

10-
Get started with MetaMask SDK in a JavaScript and RainbowKit dapp.
10+
Get started with MetaMask Wallet SDK in a JavaScript and RainbowKit dapp.
1111
You can [download the quickstart template](#set-up-using-a-template) or [manually set up the SDK](#set-up-manually) in an existing dapp.
1212

1313
<p align="center">
@@ -25,7 +25,7 @@ You can [download the quickstart template](#set-up-using-a-template) or [manuall
2525

2626
## Set up using a template
2727

28-
1. Download the [MetaMask SDK RainbowKit template](https://github.com/MetaMask/metamask-sdk-examples/tree/main/quickstarts/rainbowkit):
28+
1. Download the [MetaMask Wallet SDK RainbowKit template](https://github.com/MetaMask/metamask-sdk-examples/tree/main/quickstarts/rainbowkit):
2929

3030
```bash
3131
npx degit MetaMask/metamask-sdk-examples/quickstarts/rainbowkit metamask-rainbowkit
@@ -44,7 +44,7 @@ You can [download the quickstart template](#set-up-using-a-template) or [manuall
4444
`degit` is a tool that enables cloning only the directory structure from a GitHub repository, without retrieving the entire repository.
4545

4646
Alternatively, you can use `git clone`, which will download the entire repository.
47-
To do so, clone the MetaMask SDK examples repository and navigate into the `quickstarts/rainbowkit` directory:
47+
To do so, clone the MetaMask Wallet SDK examples repository and navigate into the `quickstarts/rainbowkit` directory:
4848

4949
```bash
5050
git clone https://github.com/MetaMask/metamask-sdk-examples
@@ -82,7 +82,7 @@ You can [download the quickstart template](#set-up-using-a-template) or [manuall
8282

8383
### 1. Install the SDK
8484

85-
Install MetaMask SDK along with its peer dependencies to an existing React project:
85+
Install MetaMask Wallet SDK along with its peer dependencies to an existing React project:
8686

8787
```bash npm2yarn
8888
npm install @rainbow-me/rainbowkit wagmi viem@2.x @tanstack/react-query
@@ -108,7 +108,7 @@ In the following example, replace `<YOUR-PROJECT-ID>` with your WalletConnect pr
108108

109109
```jsx
110110
const config = getDefaultConfig({
111-
appName: "MetaMask SDK RainbowKit Quickstart",
111+
appName: "MetaMask Wallet SDK RainbowKit Quickstart",
112112
projectId: "<YOUR-PROJECT-ID>",
113113
chains: [mainnet, linea, sepolia, lineaSepolia],
114114
wallets: [

sdk/evm/connect/get-started/react-native.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import TabItem from "@theme/TabItem";
99

1010
# Connect to MetaMask using React Native
1111

12-
Get started with MetaMask SDK in your React Native or Expo dapp.
12+
Get started with MetaMask Wallet SDK in your React Native or Expo dapp.
1313

1414
## Steps
1515

sdk/evm/connect/get-started/javascript-wagmi.md renamed to sdk/evm/connect/get-started/wagmi.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
2-
description: Quickstart guide for using the MetaMask SDK with a JavaScript and Wagmi dapp.
2+
description: Quickstart guide for using MetaMask Wallet SDK with a JavaScript and Wagmi dapp.
33
toc_max_heading_level: 2
44
sidebar_label: JavaScript + Wagmi (recommended)
55
keywords: [connect, MetaMask, JavaScript, Wagmi, SDK, dapp, Wallet SDK]
66
---
77

88
# Connect to MetaMask using JavaScript + Wagmi
99

10-
Get started with MetaMask SDK in a JavaScript and Wagmi dapp.
10+
Get started with MetaMask Wallet SDK in a JavaScript and Wagmi dapp.
1111
You can [download the quickstart template](#set-up-using-a-template) or [manually set up the SDK](#set-up-manually) in an existing dapp.
1212

1313
<p align="center">
@@ -24,7 +24,7 @@ You can [download the quickstart template](#set-up-using-a-template) or [manuall
2424

2525
## Set up using a template
2626

27-
1. Download the [MetaMask SDK Wagmi template](https://github.com/MetaMask/metamask-sdk-examples/tree/main/quickstarts/wagmi):
27+
1. Download the [MetaMask Wallet SDK Wagmi template](https://github.com/MetaMask/metamask-sdk-examples/tree/main/quickstarts/wagmi):
2828

2929
```bash
3030
npx degit MetaMask/metamask-sdk-examples/quickstarts/wagmi metamask-wagmi
@@ -43,7 +43,7 @@ You can [download the quickstart template](#set-up-using-a-template) or [manuall
4343
`degit` is a tool that enables cloning only the directory structure from a GitHub repository, without retrieving the entire repository.
4444

4545
Alternatively, you can use `git clone`, which will download the entire repository.
46-
To do so, clone the MetaMask SDK examples repository and navigate into the `quickstarts/wagmi` directory:
46+
To do so, clone the MetaMask Wallet SDK examples repository and navigate into the `quickstarts/wagmi` directory:
4747

4848
```bash
4949
git clone https://github.com/MetaMask/metamask-sdk-examples
@@ -69,7 +69,7 @@ You can [download the quickstart template](#set-up-using-a-template) or [manuall
6969

7070
### 1. Install the SDK
7171

72-
Install MetaMask SDK along with its peer dependencies to an existing React project:
72+
Install MetaMask Wallet SDK along with its peer dependencies to an existing React project:
7373

7474
```bash npm2yarn
7575
npm install @metamask/sdk wagmi viem@2.x @tanstack/react-query
@@ -89,7 +89,7 @@ import { metaMask } from "wagmi/connectors"
8989
### 3. Configure your project
9090
9191
Set up your configuration with the desired chains and connectors.
92-
In the following example, set the [`infuraAPIKey`](../reference/sdk-options.md#infuraapikey) option to your [Infura API key](/developer-tools/dashboard/get-started/create-api) to use for RPC requests:
92+
In the following example, set the [`infuraAPIKey`](../../../reference/options.md#infuraapikey) option to your [Infura API key](/developer-tools/dashboard/get-started/create-api) to use for RPC requests:
9393
9494
```jsx
9595
const config = createConfig({
@@ -179,9 +179,9 @@ const config = createConfig({
179179
180180
After completing the basic setup, you can follow these guides to add your own functionality:
181181
182-
- [Authenticate users](../guides/authenticate-users.md)
182+
- [Manage user accounts](../guides/manage-user-accounts.md)
183183
- [Manage networks](../guides/manage-networks.md)
184-
- [Handle transactions](../guides/handle-transactions.md)
184+
- [Send transactions](../guides/send-transactions/index.md)
185185
- [Interact with smart contracts](../guides/interact-with-contracts.md)
186186
187187
## Live example

0 commit comments

Comments
 (0)