Skip to content
Merged
Show file tree
Hide file tree
Changes from 79 commits
Commits
Show all changes
149 commits
Select commit Hold shift + click to select a range
0b79037
SDK new structure PoC
alexandratran Sep 23, 2025
44a6248
edits
alexandratran Sep 24, 2025
f234baf
remove custom reference component
alexandratran Sep 24, 2025
f331654
edits
alexandratran Sep 25, 2025
e2f4b8b
Merge branch 'main' into sdk-new-structure
alexandratran Sep 30, 2025
ef20ee1
fix links, update redirects, "metamask wallet sdk"
alexandratran Sep 30, 2025
39b9b16
Merge branch 'main' into sdk-new-structure
alexandratran Oct 16, 2025
905d9a8
add simplified api reference with two examples
alexandratran Oct 18, 2025
549887c
missing files
alexandratran Oct 18, 2025
1b97b2c
Merge branch 'main' into sdk-new-structure
alexandratran Oct 20, 2025
bb103fb
remove starknet docs
alexandratran Oct 21, 2025
8216d8b
copy over solana docs
alexandratran Oct 21, 2025
34aed2c
Merge branch 'main' into sdk-new-structure
alexandratran Oct 22, 2025
d64e8a4
Merge branch 'main' into sdk-new-structure
alexandratran Oct 23, 2025
e02092a
Update terminology and restructure EVM docs
alexandratran Oct 23, 2025
956c09a
fix broken links
alexandratran Oct 23, 2025
86d2dfc
Merge branch 'main' into sdk-new-structure
alexandratran Nov 4, 2025
f70f940
fix broken links
alexandratran Nov 4, 2025
e1e0008
Add/update Solana Wallet Adapter docs (#2443)
alexandratran Nov 7, 2025
37a4d06
Merge branch 'main' into sdk-new-structure
alexandratran Nov 10, 2025
30d0439
Update mobile products menu
alexandratran Nov 10, 2025
3db005f
Update MM Connect EVM JS code samples with potential new usage (#2454)
alexandratran Nov 12, 2025
d122361
Merge branch 'main' into sdk-new-structure
alexandratran Nov 13, 2025
360383d
Remove ParserOpenRPC component and replace usage in Linea services
alexandratran Nov 14, 2025
98476fe
Merge branch 'main' into sdk-new-structure
alexandratran Nov 18, 2025
c04fb6d
fix broken link
alexandratran Nov 18, 2025
b034e01
Add more multichain info (#2479)
alexandratran Nov 18, 2025
77bb9a9
Merge branch 'main' into sdk-new-structure
alexandratran Nov 27, 2025
b4716d6
Enhance JS section {WIP} (#2450)
shahbaz17 Nov 27, 2025
2a6e4ab
Add view & wagmi options
shahbaz17 Nov 27, 2025
6cf2880
Merge branch 'main' into sdk-new-structure
alexandratran Nov 28, 2025
3027438
Merge branch 'main' into sdk-new-structure
shahbaz17 Jan 28, 2026
cbee9d2
MM Connect ( EVM + SOL ) fixes (#2619)
shahbaz17 Jan 28, 2026
f57cf3e
fix broken link
shahbaz17 Jan 28, 2026
ec33f3e
update MM to MetaMask
shahbaz17 Jan 28, 2026
2ff41c6
fix broken links
shahbaz17 Jan 28, 2026
12cdcea
Merge branch 'main' into sdk-new-structure
shahbaz17 Jan 28, 2026
f55bcfa
Merge branch 'main' into sdk-new-structure
shahbaz17 Feb 20, 2026
9ffb874
MM Connect docs updates (#2720)
shahbaz17 Feb 20, 2026
1aeed98
Reword + One more Option
shahbaz17 Feb 25, 2026
0e289c1
rm connector library page
shahbaz17 Feb 25, 2026
25476c6
connector library link remove
shahbaz17 Feb 25, 2026
2b2cb54
Multichain tutorial
shahbaz17 Feb 25, 2026
ecb3905
Merge branch 'main' into sdk-new-structure
shahbaz17 Feb 26, 2026
1535839
Update sdk/multichain/index.md
shahbaz17 Feb 26, 2026
5c87633
Update sdk/index.md
shahbaz17 Feb 26, 2026
20c1d7e
Update sdk/index.md
shahbaz17 Feb 26, 2026
3c1af87
Update sdk/index.md
shahbaz17 Feb 26, 2026
7bcb8a7
Update sdk/index.md
shahbaz17 Feb 26, 2026
fd1da69
Update sdk/multichain/index.md
shahbaz17 Feb 26, 2026
77c33a3
Update sdk/multichain/connect/guides/connect-to-multichain.md
shahbaz17 Feb 26, 2026
35fc942
Update sdk/index.md
shahbaz17 Feb 26, 2026
a1c7eb3
Update sdk/index.md
shahbaz17 Feb 26, 2026
76e32e2
Update sdk/index.md
shahbaz17 Feb 26, 2026
ce6e68a
Update sdk/index.md
shahbaz17 Feb 26, 2026
880cbfe
Update sdk/index.md
shahbaz17 Feb 26, 2026
621ebbe
Update sdk/index.md
shahbaz17 Feb 26, 2026
4d9e96b
Update sdk/index.md
shahbaz17 Feb 26, 2026
0566218
Update sdk/index.md
shahbaz17 Feb 26, 2026
ff9422f
Update sdk/index.md
shahbaz17 Feb 26, 2026
591788c
Update sdk/index.md
shahbaz17 Feb 26, 2026
774e442
Update sdk/index.md
shahbaz17 Feb 26, 2026
a997779
Update sdk/index.md
shahbaz17 Feb 26, 2026
3ec896a
Update sdk/index.md
shahbaz17 Feb 26, 2026
85eb870
Update sdk/index.md
shahbaz17 Feb 26, 2026
b80db83
Update sdk/multichain/index.md
shahbaz17 Feb 26, 2026
59ff3ef
Update sdk/multichain/index.md
shahbaz17 Feb 26, 2026
fd911a7
Update sdk/multichain/index.md
shahbaz17 Feb 26, 2026
e81b9a6
Update sdk/multichain/index.md
shahbaz17 Feb 26, 2026
fea749b
link fixes
shahbaz17 Feb 26, 2026
80d5f52
broken link fixes
shahbaz17 Feb 26, 2026
cd155dc
Merge branch 'main' into sdk-new-structure
shahbaz17 Feb 26, 2026
fe95892
Merge branch 'main' into sdk-new-structure
shahbaz17 Mar 3, 2026
fec6ea2
Update sdk/multichain/index.md
shahbaz17 Mar 3, 2026
05cedf5
MM Connect Solana 0.2.0 changes updates
shahbaz17 Mar 3, 2026
edfd3d8
solana fixes
shahbaz17 Mar 3, 2026
80aaad8
dep terminate and singleton behaviour
shahbaz17 Mar 4, 2026
ccae864
Updated based on new changes + revamp react native quickstart
shahbaz17 Mar 4, 2026
79c2b8c
Merge branch 'main' into sdk-new-structure
shahbaz17 Mar 4, 2026
f1e7f5f
Update sdk/multichain/connect/tutorials/create-multichain-dapp.md
shahbaz17 Mar 5, 2026
527207b
Update sdk/multichain/connect/tutorials/create-multichain-dapp.md
shahbaz17 Mar 5, 2026
85a3af4
Update sdk/multichain/connect/tutorials/create-multichain-dapp.md
shahbaz17 Mar 5, 2026
e288e17
Update sdk/multichain/connect/tutorials/create-multichain-dapp.md
shahbaz17 Mar 5, 2026
aa547b6
Update sdk/multichain/connect/tutorials/create-multichain-dapp.md
shahbaz17 Mar 5, 2026
dfe5898
Update sdk/multichain/connect/tutorials/create-multichain-dapp.md
shahbaz17 Mar 5, 2026
09ab71b
Solana support via Infura for RPC
shahbaz17 Mar 5, 2026
4b4a622
Merge branch 'main' into sdk-new-structure
shahbaz17 Mar 5, 2026
16e54b1
Edit Solana and EVM. (#2741)
bgravenorst Mar 5, 2026
54ac519
Restructure and complete multichain SDK documentation
shahbaz17 Mar 5, 2026
91579f1
Add Solana SDK methods page + sidebar changes
shahbaz17 Mar 5, 2026
dec9543
EVM fixes
shahbaz17 Mar 5, 2026
0796d03
Solana, Multichian fixes + typos
shahbaz17 Mar 5, 2026
cc2d9c1
fix broken link
shahbaz17 Mar 5, 2026
7317eff
Edits as per feedback
shahbaz17 Mar 6, 2026
5ac4217
reword
shahbaz17 Mar 6, 2026
5ddad43
remove as per feedback
shahbaz17 Mar 6, 2026
6a0792c
Merge branch 'main' into sdk-new-structure
shahbaz17 Mar 10, 2026
f7855a6
Update based on feedback on multichain api page
shahbaz17 Mar 10, 2026
f5daac6
Feat/ai copy button (#2743)
shahbaz17 Mar 11, 2026
6ac476d
Rename SDK docs to MetaMask Connect (#2749)
shahbaz17 Mar 11, 2026
da88575
Fix navbar navigation links
shahbaz17 Mar 11, 2026
b6420ea
Fix build + link inspector
shahbaz17 Mar 11, 2026
3bd3c7b
Throw on broken Markdown links; add wallet redirects
shahbaz17 Mar 11, 2026
c3e5b87
Merge branch 'main' into sdk-new-structure
shahbaz17 Mar 11, 2026
8b2f482
Add arbitrum docs to ignorepattern
shahbaz17 Mar 11, 2026
e17cf17
Update .linkspector.yml
shahbaz17 Mar 11, 2026
c9339c7
Merge branch 'main' into sdk-new-structure
shahbaz17 Mar 16, 2026
2a33f8a
Merge branch 'main' into sdk-new-structure
shahbaz17 Mar 17, 2026
cbaa96b
feat. MM Connect documentation (#2754)
shahbaz17 Mar 17, 2026
ba6fc09
Update in-app browser section
shahbaz17 Mar 17, 2026
ac2ac92
nit
shahbaz17 Mar 17, 2026
1589b44
Update migration guide to include polyfill issue
shahbaz17 Mar 17, 2026
6bc028f
minor edits to overview content for style/simplicity
alexandratran Mar 17, 2026
026520b
browser polyfill not needed
shahbaz17 Mar 17, 2026
0fe09f0
Merge branch 'sdk-new-structure' of https://github.com/MetaMask/metam…
shahbaz17 Mar 17, 2026
8adc20b
fix broken anchor
shahbaz17 Mar 17, 2026
5206519
minor edits to multichain content
alexandratran Mar 17, 2026
989a16c
Update as per newer getInfuraRpcUrls changes
shahbaz17 Mar 18, 2026
b52460b
Merge branch 'main' into sdk-new-structure
alexandratran Mar 18, 2026
c18ac51
some evm edits
alexandratran Mar 18, 2026
7eadc22
edit pass including EVM+Solana
alexandratran Mar 18, 2026
9a0d1ec
Merge branch 'main' into sdk-new-structure
shahbaz17 Mar 19, 2026
2c51a8c
fix build
shahbaz17 Mar 19, 2026
ecd4946
clean up redirects
alexandratran Mar 19, 2026
eb48d72
MetaMask Mobile -> The MetaMask mobile app
alexandratran Mar 19, 2026
71638fd
Add getInfuraRpcUrls for connect-solana + update getInfuraRpcUrls for…
shahbaz17 Mar 19, 2026
0be4311
Merge branch 'sdk-new-structure' of https://github.com/MetaMask/metam…
shahbaz17 Mar 19, 2026
f629577
Add JSON-RPC methods, and related fixes throughout content
alexandratran Mar 19, 2026
d0d15a4
Merge branch 'sdk-new-structure' of github.com:MetaMask/metamask-docs…
alexandratran Mar 19, 2026
283288a
Update Global React Quickstart
shahbaz17 Mar 20, 2026
47b3492
Fix QS for EVM-REACT
shahbaz17 Mar 20, 2026
9e4589a
Fix code higlighter and scroll on QS
shahbaz17 Mar 20, 2026
ca0bb8d
Merge branch 'main' into sdk-new-structure
shahbaz17 Mar 20, 2026
cea4409
Fix CodeQL issues + remove broken link for triton one
shahbaz17 Mar 20, 2026
7383f77
fix broken link
shahbaz17 Mar 20, 2026
a49dc39
Ignore /quickstart/ to check for broken link
shahbaz17 Mar 20, 2026
71827e1
Hide JS template sections
alexandratran Mar 20, 2026
589067e
Merge branch 'main' into sdk-new-structure
alexandratran Mar 20, 2026
035941e
fix JSON-RPC API missing info and styles
alexandratran Mar 20, 2026
e480bf2
revert qs-file-links
alexandratran Mar 20, 2026
9fdef3a
add links to method reference
alexandratran Mar 20, 2026
45bc9a0
Merge origin/main into sdk-new-structure; resolve index.tsx conflict
bgravenorst Mar 23, 2026
b1414fa
Fix merge issue and update card.
bgravenorst Mar 23, 2026
cec9798
Add Wagmi Quickstart back to sidebar with updated package (#2778)
shahbaz17 Mar 25, 2026
961da36
Merge branch 'main' into sdk-new-structure
alexandratran Mar 25, 2026
a01bc37
update preview link of mmc evm-react example
shahbaz17 Mar 25, 2026
4cc9966
minor edits
shahbaz17 Mar 25, 2026
2705a08
Update Multichain + Solana Node.js examples
shahbaz17 Mar 25, 2026
7aa98d1
minor edit
alexandratran Mar 25, 2026
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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ npm-debug.log*
.vercel
.envrc
.env
.integrationBuilderCache
.integrationBuilderCache
.cursor
1 change: 0 additions & 1 deletion .linkspector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ dirs:
- ./sdk
- ./services
- ./snaps
- ./wallet
excludedDirs:
- ./build
- ./.vercel
Expand Down
111 changes: 0 additions & 111 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ guide in some places.
- [Style guide](#style-guide)
- [Format links](#format-links)
- [Add images](#add-images)
- [Update the interactive API reference](#update-the-interactive-api-reference)
- [Update `MetaMask/api-specs`](#update-metamaskapi-specs)
- [Update `ethereum/execution-apis`](#update-ethereumexecution-apis)
- [Test analytics](#test-analytics)

## Contribution workflow
Expand Down Expand Up @@ -154,114 +151,6 @@ When adding a new image, such as a screenshot or diagram, make sure the image ha

Additionally, follow the [Consensys guidelines on adding images](https://docs-template.consensys.net/contribute/add-images).

## Update the interactive API reference

The [Wallet JSON-RPC API reference](https://docs.metamask.io/wallet/reference/json-rpc-api/) uses
an internal plugin to import and parse OpenRPC
specifications from [`MetaMask/api-specs`](https://github.com/MetaMask/api-specs) (MetaMask-specific
methods) and [`ethereum/execution-apis`](https://github.com/ethereum/execution-apis) (standard
Ethereum methods).
The site renders documentation for each method based on the specification, and displays an
interactive module to test the methods in your browser.

### Update `MetaMask/api-specs`

To update documentation for MetaMask-specific JSON-RPC API methods:

1. Fork [`MetaMask/api-specs`](https://github.com/MetaMask/api-specs), clone the forked repository
to your computer, and navigate into it:

```bash
git clone git@github.com:<YOUR-USERNAME>/api-specs.git
cd api-specs
```

2. Follow the repository's [`README.md`](https://github.com/MetaMask/api-specs/blob/main/README.md)
instructions to edit the OpenRPC specification and generate the output file, `openrpc.json`.

3. To test the API updates in the MetaMask doc site's interactive reference:

1. Create and switch to a temporary local branch of the doc site, [`MetaMask/metamask-docs`](https://github.com/MetaMask/metamask-docs).
For example, to create and switch to a branch named `test-api-updates`:
```bash
cd metamask-docs
git checkout -b test-api-updates
```
2. Copy and paste the output file `openrpc.json` into the root directory of `metamask-docs`.
3. Use [`http-server`](https://www.npmjs.com/package/http-server) to serve `openrpc.json` locally.
Install `http-server` if you haven't yet, and start the server:
```bash
npm install --global http-server
http-server
```
The `openrpc.json` file is now served at [`http://127.0.0.1:8080/openrpc.json`](http://127.0.0.1:8080/openrpc.json).
4. In `src/plugins/plugin-json-rpc.ts`, update the following line to point to the locally served `openrpc.json` file:
```diff
- export const MM_RPC_URL = "https://metamask.github.io/api-specs/latest/openrpc.json";
+ export const MM_RPC_URL = "http://127.0.0.1:8080/openrpc.json";
```
5. In a new terminal window, preview the doc site locally:
```bash
cd metamask-docs
npm start
```
6. Navigate to the API reference, and view your updates.

4. Add and commit your changes to `api-specs`, and create a PR.

5. Once your PR is approved and merged, the following must happen to publish the changes to the
MetaMask doc site:

1. A new version of `api-specs` must be released by a user with write access to the repository.
To release, go to the [Create Release Pull Request](https://github.com/MetaMask/api-specs/actions/workflows/create-release-pr.yml)
action, select **Run workflow**, and enter a specific version to bump to in the last text box
(for example, `0.10.6`). This creates a PR releasing a version of `api-specs`.
2. Once the release PR is merged, the [Publish Release](https://github.com/MetaMask/api-specs/actions/workflows/publish-release.yml)
action must be approved by an npm publisher.
You can request an approval in the **#metamask-dev** Slack channel tagging
**@metamask-npm-publishers**.
For example:
> @metamask-npm-publishers `@metamask/api-specs@0.10.6` is awaiting deployment :rocketship:
https://github.com/MetaMask/api-specs/actions/runs/10615788573

### Update `ethereum/execution-apis`

To update documentation for standard Ethereum JSON-RPC API methods:

1. Fork [`ethereum/execution-apis`](https://github.com/ethereum/execution-apis), clone the forked
repository to your computer, and navigate into it:

```bash
git clone git@github.com:<YOUR-USERNAME>/execution-apis.git
cd execution-apis
```

2. Follow the repository's [`README.md`](https://github.com/ethereum/execution-apis/blob/main/README.md)
instructions to edit the OpenRPC specification and generate the output file, `openrpc.json`.

3. To test the API updates in the MetaMask doc site's interactive reference, complete Step 3 in
[Update `MetaMask/api-specs`](#update-metamaskapi-specs).

4. Add and commit your changes to `execution-apis`, and create a PR.

5. Once your PR is approved and merged, the following must happen to publish the changes to the
MetaMask doc site:

1. `api-specs` must import the updated Ethereum API specification.
Go to the [commit history](https://github.com/ethereum/execution-apis/commits/assembled-spec/)
of the `assembled-spec` branch of `execution-apis`.
Copy the full commit hash of the latest commit titled "assemble openrpc.json."
Update the following line in `merge-openrpc.js` of `api-specs` with the updated commit hash,
and create a PR:
```diff
const getFilteredExecutionAPIs = () => {
- return fetch("https://raw.githubusercontent.com/ethereum/execution-apis/ac19b518a2596221cd7cd6421ee3dc654d7ff3b7/refs-openrpc.json")
+ return fetch("https://raw.githubusercontent.com/ethereum/execution-apis/f75d4cc8eeb5d1952bd69f901954686b74c34c9b/refs-openrpc.json")
```
2. Once the change to `merge-openrpc.js` is merged, Step 5 in
[Update `MetaMask/api-specs`](#update-metamaskapi-specs) must be completed to publish the
changes to the MetaMask doc site.

## Test analytics

The [`docusaurus-plugin-segment`](https://github.com/xer0x/docusaurus-plugin-segment) plugin enables
Expand Down
47 changes: 6 additions & 41 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ import fs from 'fs'
require('dotenv').config()
const { themes } = require('prism-react-renderer')
const { REF_ALLOW_LOGIN_PATH } = require('./src/lib/constants')
const {
fetchAndGenerateDynamicSidebarItems,
NETWORK_NAMES,
MM_REF_PATH,
MM_RPC_URL,
} = require('./src/plugins/plugin-json-rpc')
const codeTheme = themes.dracula
const productsDropdown = fs.readFileSync('./src/components/NavDropdown/Products.html', 'utf-8')
const baseUrl = process.env.DEST || '/'
Expand Down Expand Up @@ -135,7 +129,7 @@ const config = {
markdown: {
mermaid: true,
hooks: {
onBrokenMarkdownLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
Comment thread
shahbaz17 marked this conversation as resolved.
Outdated
},
},
themes: ['@docusaurus/theme-mermaid'],
Expand Down Expand Up @@ -261,31 +255,6 @@ const config = {
rehypePlugins,
},
],
[
'@docusaurus/plugin-content-docs',
{
id: 'wallet',
path: 'wallet',
routeBasePath: 'wallet',
editUrl: 'https://github.com/MetaMask/metamask-docs/edit/main/',
sidebarPath: require.resolve('./wallet-sidebar.js'),
breadcrumbs: false,
remarkPlugins,
rehypePlugins,
sidebarItemsGenerator: async function ({ defaultSidebarItemsGenerator, ...args }) {
const sidebarItems = await defaultSidebarItemsGenerator(args)
const dynamicItems = await fetchAndGenerateDynamicSidebarItems(
MM_RPC_URL,
MM_REF_PATH,
NETWORK_NAMES.metamask
)
Comment thread
shahbaz17 marked this conversation as resolved.
if (args.item.dirName === 'reference/json-rpc-methods') {
return [...sidebarItems, ...dynamicItems]
}
return sidebarItems
},
},
],
[
'@docusaurus/plugin-content-docs',
{
Expand Down Expand Up @@ -492,7 +461,7 @@ const config = {
{
name: 'keywords',
content:
'MetaMask, Embedded Wallets, Quickstart, Web3 Development, SDK, Wallet Integration, API, Dapp Development, Blockchain Development, Ethereum Development, Smart Contract, Account Abstraction, Snaps, Crypto Wallet, DeFi, NFT, Infura, Services, Dashboard',
'MetaMask, Embedded Wallets, Quickstart, Web3 Development, SDK, MetaMask Connect, Wallet Integration, API, Dapp Development, Blockchain Development, Ethereum Development, Smart Contract, Account Abstraction, Snaps, Crypto Wallet, DeFi, NFT, Infura, Services, Dashboard',
},
// Twitter-specific meta tags
{
Expand Down Expand Up @@ -611,21 +580,17 @@ const config = {
title: 'Documentation',
items: [
{
label: 'SDK',
label: 'MetaMask Connect',
to: '/sdk',
},
{
label: 'Wallet API',
to: '/wallet',
label: 'Embedded Wallets',
to: '/embedded-wallets',
},
{
label: 'Smart Accounts Kit',
to: '/smart-accounts-kit',
},
{
label: 'Embedded Wallets',
to: '/embedded-wallets',
},
{
label: 'Snaps',
to: '/snaps',
Expand All @@ -652,7 +617,7 @@ const config = {
href: 'https://github.com/MetaMask/metamask-extension/',
},
{
label: 'MetaMask SDK GitHub',
label: 'MetaMask Connect GitHub',
href: 'https://github.com/MetaMask/metamask-sdk/',
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ With MetaMask Flask 13.9.0 or later, Advanced Permissions support automatically
account to a [MetaMask smart account](../../concepts/smart-accounts.md). On earlier versions, upgrade
the user to a smart account before requesting Advanced Permissions.

If the user has not yet been upgraded, you can handle the upgrade [programmatically](/wallet/how-to/send-transactions/send-batch-transactions/#about-atomic-batch-transactions) or ask the
If the user has not yet been upgraded, you can handle the upgrade [programmatically](/sdk/evm/connect/guides/send-transactions/batch-transactions) or ask the
user to [switch to a smart account manually](https://support.metamask.io/configure/accounts/switch-to-or-revert-from-a-smart-account/#how-to-switch-to-a-metamask-smart-account).

:::info Why is a Smart Account upgrade is required?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,4 @@ const userOperationHash = await bundlerClient.sendUserOperation({

- To grant specific permissions to other accounts from your smart account, [create a delegation](../../guides/delegation/execute-on-smart-accounts-behalf.md).
- To quickly bootstrap a MetaMask Smart Accounts project, [use the CLI](../use-the-cli.md).
- You can also [use MetaMask SDK to upgrade a MetaMask account to a smart account](/tutorials/upgrade-eoa-to-smart-account).
- You can also [use MetaMask Connect to upgrade a MetaMask account to a smart account](/tutorials/upgrade-eoa-to-smart-account).
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const sessionAccount = privateKeyToAccount("0x...");
Currently, ERC-7715 does not support automatically upgrading a MetaMask user's account to a [MetaMask smart account](../../concepts/smart-accounts.md). Therefore, you must
ensure that the user is upgraded to a smart account before requesting ERC-7715 permissions.

If the user has not yet been upgraded, you can handle the upgrade [programmatically](/wallet/how-to/send-transactions/send-batch-transactions/#about-atomic-batch-transactions) or ask the
If the user has not yet been upgraded, you can handle the upgrade [programmatically](/sdk/evm/connect/guides/send-transactions/batch-transactions) or ask the
user to [switch to a smart account manually](https://support.metamask.io/configure/accounts/switch-to-or-revert-from-a-smart-account/#how-to-switch-to-a-metamask-smart-account).

:::info Why is a Smart Account upgrade is required?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ With MetaMask Flask 13.9.0 or later, Advanced Permissions support automatically
account to a [MetaMask smart account](../../concepts/smart-accounts.md). On earlier versions, upgrade
the user to a smart account before requesting Advanced Permissions.

If the user has not yet been upgraded, you can handle the upgrade [programmatically](/wallet/how-to/send-transactions/send-batch-transactions/#about-atomic-batch-transactions) or ask the
If the user has not yet been upgraded, you can handle the upgrade [programmatically](/sdk/evm/connect/guides/send-transactions/batch-transactions) or ask the
user to [switch to a smart account manually](https://support.metamask.io/configure/accounts/switch-to-or-revert-from-a-smart-account/#how-to-switch-to-a-metamask-smart-account).

:::info Why is a Smart Account upgrade is required?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ With MetaMask Flask 13.9.0 or later, Advanced Permissions support automatically
account to a [MetaMask smart account](../../concepts/smart-accounts.md). On earlier versions, upgrade
the user to a smart account before requesting Advanced Permissions.

If the user has not yet been upgraded, you can handle the upgrade [programmatically](/wallet/how-to/send-transactions/send-batch-transactions/#about-atomic-batch-transactions) or ask the
If the user has not yet been upgraded, you can handle the upgrade [programmatically](/sdk/evm/connect/guides/send-transactions/batch-transactions) or ask the
user to [switch to a smart account manually](https://support.metamask.io/configure/accounts/switch-to-or-revert-from-a-smart-account/#how-to-switch-to-a-metamask-smart-account).

:::info Why is a Smart Account upgrade is required?
Expand Down
Loading
Loading