Skip to content

Commit 3214817

Browse files
Document Solana dapp developer support (#1940)
* Document Solana wallet standard support * update what's new * update whats new * add third-party libraries and devnet * update what's new description * devnet only supported on flask * add extension only note * highlight native solana support
1 parent 2cdc6b3 commit 3214817

File tree

6 files changed

+64
-10
lines changed

6 files changed

+64
-10
lines changed

docs/whats-new.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ of the [MetaMask developer page](https://metamask.io/developer/).
1111

1212
## May 2025
1313

14+
- Documented [Solana](/wallet/how-to/use-non-evm-networks/solana) dapp support via the Wallet Standard and third-party libraries.
15+
([#1940](https://github.com/MetaMask/metamask-docs/pull/1940))
1416
- Documented [MetaMask SDK + Web3Auth SDK integration](/sdk/quickstart/javascript-web3auth).
1517
([#2029](https://github.com/MetaMask/metamask-docs/pull/2029))
1618
- Documented [how to use the Snaps sandbox](/snaps/how-to/test-a-snap/#test-in-the-sandbox).

wallet-sidebar.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,14 @@ const sidebar = {
108108
collapsed: true,
109109
link: { type: "doc", id: "how-to/use-non-evm-networks/index" },
110110
items: [
111+
{
112+
type: "doc",
113+
label: "Solana",
114+
id: "how-to/use-non-evm-networks/solana"
115+
},
111116
{
112117
type: "category",
113-
label: "Use Starknet",
118+
label: "Starknet",
114119
link: { type: "doc", id: "how-to/use-non-evm-networks/starknet/index" },
115120
items: [
116121
{

wallet/how-to/use-non-evm-networks/index.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,29 @@ import CardList from "@site/src/components/CardList"
66

77
# Use non-EVM networks
88

9-
You can interact with users' accounts on non-EVM networks by connecting to existing
10-
[MetaMask Snaps](https://metamask.io/snaps/).
11-
129
Non-EVM networks are blockchain networks that are not compatible with the Ethereum Virtual Machine (EVM).
13-
Non-EVM dapps and MetaMask can't directly interact with each other.
14-
By connecting to dedicated non-EVM Snaps, you can extend the functionality of MetaMask and integrate non-EVM networks into your existing MetaMask workflow.
10+
MetaMask provides different types of support for some non-EVM networks:
11+
12+
- **Native support** - MetaMask implements a standard interface for [Solana](solana.md) dapps to natively connect to MetaMask.
13+
Several third party libraries for Solana also detect and handle MetaMask by default.
14+
- **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.
15+
For example, you can connect to [Starknet](starknet/index.md) in this way.
1516

16-
MetaMask provides Snaps for the following networks:
17+
MetaMask supports the following non-EVM networks:
1718

1819
<CardList
1920
items={[
21+
{
22+
href: "solana",
23+
title: "Solana",
24+
description:
25+
"High-performance non-EVM network. MetaMask natively supports connecting to Solana.",
26+
},
2027
{
2128
href: "starknet",
2229
title: "Starknet",
2330
description:
24-
"Layer 2 network for Ethereum using ZK rollups.",
31+
"Layer 2 network for Ethereum using ZK rollups. MetaMask supports connecting to Starknet via a Snap.",
2532
},
2633
]}
2734
/>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
description: Interact with users' Solana accounts in MetaMask.
3+
---
4+
5+
# Solana
6+
7+
[Solana](https://solana.com/) is a high-performance, non-EVM network that provides fast transaction speeds and low fees.
8+
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.
9+
10+
:::note Supported Solana networks
11+
MetaMask supports Solana Mainnet.
12+
Solana Devnet is only supported on [MetaMask Flask](/snaps/get-started/install-flask).
13+
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.
14+
:::
15+
16+
:::info Extension only
17+
Connecting your dapp to Solana in MetaMask is currently only available on the extension.
18+
Mobile support is coming soon.
19+
:::
20+
21+
## Wallet Standard
22+
23+
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).
24+
25+
Learn more in Solana's [Interact With Wallets](https://solana.com/developers/courses/intro-to-solana/interact-with-wallets) documentation.
26+
27+
:::note
28+
With the Wallet Standard, MetaMask does not appear as a connection option for users that don't already have MetaMask installed.
29+
Ask the MetaMask team on [Discord](https://discord.gg/consensys) if you need support for a custom integration.
30+
:::
31+
32+
## Third-party libraries
33+
34+
Several third-party libraries for Solana dapps detect and handle MetaMask out-of-the-box, including:
35+
36+
- [Dynamic](https://docs.dynamic.xyz/introduction/welcome)
37+
- [Privy](https://docs.privy.io/welcome)
38+
- [Reown](https://docs.reown.com/overview)

wallet/how-to/use-non-evm-networks/starknet/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Interact with users' Starknet accounts in MetaMask.
33
---
44

5-
# Use Starknet
5+
# Starknet
66

77
[Starknet](https://www.starknet.io/) is a non-EVM Layer 2 network.
88
You can interact with users' Starknet accounts in MetaMask by connecting to the

wallet/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ deeplinking, see the [**MetaMask SDK** documentation](/sdk).
1313
The Wallet API is MetaMask's core interface for web dapps to interact with the MetaMask browser extension.
1414
With the Wallet API, you can:
1515

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

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

25+
MetaMask also supports non-EVM networks, including native support for [Solana](how-to/use-non-evm-networks/solana.md).
26+
2527
[Get started by connecting to MetaMask.](how-to/connect.md)
2628

2729
## Wallet API vs. SDK

0 commit comments

Comments
 (0)