Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions docs/whats-new.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ of the [MetaMask developer page](https://metamask.io/developer/).

## May 2025

- Documented [Solana](/wallet/how-to/use-non-evm-networks/solana) dapp support via the Wallet Standard and third-party libraries.
([#1940](https://github.com/MetaMask/metamask-docs/pull/1940))
- Documented [MetaMask SDK + Web3Auth SDK integration](/sdk/quickstart/javascript-web3auth).
([#2029](https://github.com/MetaMask/metamask-docs/pull/2029))
- Documented [how to use the Snaps sandbox](/snaps/how-to/test-a-snap/#test-in-the-sandbox).
Expand Down
7 changes: 6 additions & 1 deletion wallet-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,14 @@ const sidebar = {
collapsed: true,
link: { type: "doc", id: "how-to/use-non-evm-networks/index" },
items: [
{
type: "doc",
label: "Solana",
id: "how-to/use-non-evm-networks/solana"
},
{
type: "category",
label: "Use Starknet",
label: "Starknet",
link: { type: "doc", id: "how-to/use-non-evm-networks/starknet/index" },
items: [
{
Expand Down
21 changes: 14 additions & 7 deletions wallet/how-to/use-non-evm-networks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,29 @@ import CardList from "@site/src/components/CardList"

# Use non-EVM networks

You can interact with users' accounts on non-EVM networks by connecting to existing
[MetaMask Snaps](https://metamask.io/snaps/).

Non-EVM networks are blockchain networks that are not compatible with the Ethereum Virtual Machine (EVM).
Non-EVM dapps and MetaMask can't directly interact with each other.
By connecting to dedicated non-EVM Snaps, you can extend the functionality of MetaMask and integrate non-EVM networks into your existing MetaMask workflow.
MetaMask provides different types of support for some non-EVM networks:

- **Native support** - MetaMask implements a standard interface for [Solana](solana.md) dapps to natively connect to MetaMask.
Several third party libraries for Solana also detect and handle MetaMask by default.
- **Non-EVM Snaps** - MetaMask provides dedicated non-EVM [Snaps](https://metamask.io/snaps/) that dapps can use to interact with users' non-EVM accounts in MetaMask.
For example, you can connect to [Starknet](starknet/index.md) in this way.

MetaMask provides Snaps for the following networks:
MetaMask supports the following non-EVM networks:

<CardList
items={[
{
href: "solana",
title: "Solana",
description:
"High-performance non-EVM network. MetaMask natively supports connecting to Solana.",
},
{
href: "starknet",
title: "Starknet",
description:
"Layer 2 network for Ethereum using ZK rollups.",
"Layer 2 network for Ethereum using ZK rollups. MetaMask supports connecting to Starknet via a Snap.",
},
]}
/>
Expand Down
38 changes: 38 additions & 0 deletions wallet/how-to/use-non-evm-networks/solana.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
description: Interact with users' Solana accounts in MetaMask.
---

# Solana

[Solana](https://solana.com/) is a high-performance, non-EVM network that provides fast transaction speeds and low fees.
You can interact with users' Solana accounts in MetaMask using the [Wallet Standard](#wallet-standard) or [third-party libraries](#third-party-libraries) for Solana dapps.

:::note Supported Solana networks
MetaMask supports Solana Mainnet.
Solana Devnet is only supported on [MetaMask Flask](/snaps/get-started/install-flask).
After adding Solana to MetaMask Flask, [show test networks](https://support.metamask.io/configure/networks/how-to-view-testnets-in-metamask/) to view Solana Devnet.
:::

:::info Extension only
Connecting your dapp to Solana in MetaMask is currently only available on the extension.
Mobile support is coming soon.
:::

## Wallet Standard

Check warning on line 21 in wallet/how-to/use-non-evm-networks/solana.md

View workflow job for this annotation

GitHub Actions / Spelling (.mdx)

[vale] reported by reviewdog 🐶 [Consensys.Headings] 'Wallet Standard' should use sentence-style capitalization. Raw Output: {"message": "[Consensys.Headings] 'Wallet Standard' should use sentence-style capitalization.", "location": {"path": "wallet/how-to/use-non-evm-networks/solana.md", "range": {"start": {"line": 21, "column": 4}}}, "severity": "WARNING"}

MetaMask implements the [Wallet Standard](https://github.com/wallet-standard/wallet-standard), so MetaMask is supported out-of-the-box for Solana dapps that use the Wallet Standard or that integrate Solana's [Wallet Adapter](https://github.com/anza-xyz/wallet-adapter/blob/master/APP.md).

Learn more in Solana's [Interact With Wallets](https://solana.com/developers/courses/intro-to-solana/interact-with-wallets) documentation.

:::note
With the Wallet Standard, MetaMask does not appear as a connection option for users that don't already have MetaMask installed.
Ask the MetaMask team on [Discord](https://discord.gg/consensys) if you need support for a custom integration.
:::

## Third-party libraries

Several third-party libraries for Solana dapps detect and handle MetaMask out-of-the-box, including:

- [Dynamic](https://docs.dynamic.xyz/introduction/welcome)
- [Privy](https://docs.privy.io/welcome)
- [Reown](https://docs.reown.com/overview)

Check failure on line 38 in wallet/how-to/use-non-evm-networks/solana.md

View workflow job for this annotation

GitHub Actions / Spelling (.mdx)

[vale] reported by reviewdog 🐶 [Vale.Spelling] Did you really mean 'Reown'? Raw Output: {"message": "[Vale.Spelling] Did you really mean 'Reown'?", "location": {"path": "wallet/how-to/use-non-evm-networks/solana.md", "range": {"start": {"line": 38, "column": 4}}}, "severity": "ERROR"}
2 changes: 1 addition & 1 deletion wallet/how-to/use-non-evm-networks/starknet/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
description: Interact with users' Starknet accounts in MetaMask.
---

# Use Starknet
# Starknet

[Starknet](https://www.starknet.io/) is a non-EVM Layer 2 network.
You can interact with users' Starknet accounts in MetaMask by connecting to the
Expand Down
4 changes: 3 additions & 1 deletion wallet/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ deeplinking, see the [**MetaMask SDK** documentation](/sdk).
The Wallet API is MetaMask's core interface for web dapps to interact with the MetaMask browser extension.
With the Wallet API, you can:

- Interact with users' Ethereum accounts.
- Interact with users' EVM and non-EVM accounts.
- Send transactions and sign messages.
- Listen to account and network changes.

Expand All @@ -22,6 +22,8 @@ interact with users' EVM accounts, and implements standard interfaces like
[EIP-1193](https://eips.ethereum.org/EIPS/eip-1193) for Ethereum provider methods and
[EIP-6963](https://eips.ethereum.org/EIPS/eip-6963) for wallet detection.

MetaMask also supports non-EVM networks, including native support for [Solana](how-to/use-non-evm-networks/solana.md).

[Get started by connecting to MetaMask.](how-to/connect.md)

## Wallet API vs. SDK
Expand Down
Loading