Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
e6bd15c
rough skeleton
joaniekube Aug 28, 2024
f8c3685
update menu sidebar
joaniekube Aug 28, 2024
1130adf
Add Starknet Snap API reference docs
alexandratran Aug 31, 2024
9401571
Merge branch 'main' into wip-starknet-snap
alexandratran Sep 5, 2024
a43f196
Clean up files and placeholders
alexandratran Sep 5, 2024
c27a96d
add changes for connect
joaniekube Sep 12, 2024
6bac10a
update branch
joaniekube Sep 12, 2024
473a71d
examples added
joaniekube Sep 12, 2024
25821bb
rewrite of connect section
joaniekube Sep 14, 2024
0251bcc
rough additions of troubleshoot section
joaniekube Sep 14, 2024
3d8ef91
updates with suggestions
joaniekube Sep 18, 2024
b915696
add additional suggestions
joaniekube Sep 18, 2024
5b6e1cf
apply suggestions
joaniekube Sep 19, 2024
f2074ef
more suggestions
joaniekube Sep 19, 2024
455aaec
updates
joaniekube Sep 19, 2024
d832af8
updates
joaniekube Sep 19, 2024
df73570
Merge branch 'main' into wip-starknet-snap
alexandratran Sep 20, 2024
0e4ef69
Edit non-EVM intro and Starknet intro
alexandratran Sep 20, 2024
8e75cb8
Edit Connect to Starknet
alexandratran Sep 20, 2024
8501a8b
Edit About get-starknet
alexandratran Sep 20, 2024
baa2b16
Edit Manage Starknet accounts
alexandratran Sep 20, 2024
f6f30a2
Edit Manage networks, API reference, etc
alexandratran Sep 20, 2024
81d3bb2
add docs
joaniekube Sep 20, 2024
c5f1762
fix table
joaniekube Sep 20, 2024
333cef5
Apply suggestions from code review
joaniekube Sep 24, 2024
5786849
Apply suggestions from code review
joaniekube Sep 24, 2024
8e467fa
update troubleshoot section
joaniekube Sep 25, 2024
151e759
update troubleshoot sections
joaniekube Sep 25, 2024
a1fe114
update text for tutorial
joaniekube Sep 25, 2024
ff7df58
add dual examples
joaniekube Sep 26, 2024
faba7f4
copy edits
joaniekube Sep 26, 2024
1617eab
copy edits
joaniekube Sep 26, 2024
4a64f9b
copy edits
joaniekube Sep 26, 2024
07ad89e
Edit content for style and formatting
alexandratran Sep 26, 2024
0cadd60
Merge and edit branch 'wip-starknet-snap' of github.com:MetaMask/meta…
alexandratran Sep 26, 2024
d432e98
add template text
joaniekube Sep 26, 2024
99839e7
add note
joaniekube Sep 26, 2024
b22b545
updates
joaniekube Oct 3, 2024
7219bc9
Merge branch 'main' into wip-starknet-snap
joaniekube Oct 3, 2024
052b326
remove old instances
joaniekube Oct 4, 2024
e5da758
Apply suggestions from code review
joaniekube Oct 6, 2024
5174774
Merge branch 'main' into wip-starknet-snap
alexandratran Oct 7, 2024
57d3e60
edits
alexandratran Oct 7, 2024
91a5cd8
Update wallet/reference/non-evm-apis/starknet-snap-api.md
joaniekube Oct 7, 2024
5233dad
Update wallet/how-to/use-non-evm-networks/starknet/manage-starknet-ac…
joaniekube Oct 7, 2024
b1dcae9
Merge branch 'main' into wip-starknet-snap
joaniekube Oct 7, 2024
b315361
missed examples
joaniekube Oct 7, 2024
41c9772
update with images
joaniekube Oct 7, 2024
ad2fcaf
wip-starknet-snap
joaniekube Oct 7, 2024
f0b1d42
update table
joaniekube Oct 8, 2024
6a462d7
Merge branch 'main' into wip-starknet-snap
alexandratran Oct 8, 2024
56fe03c
update table
joaniekube Oct 8, 2024
771185c
Merge branch 'main' into wip-starknet-snap
joaniekube Oct 8, 2024
8c076f6
update screenshots and edits
alexandratran Oct 8, 2024
d886822
Merge branch 'wip-starknet-snap' of github.com:MetaMask/metamask-docs…
alexandratran Oct 8, 2024
01d35b8
fix table
alexandratran Oct 8, 2024
94e2599
wip-starknet-snap
joaniekube Oct 9, 2024
c67150d
add note
joaniekube Oct 9, 2024
b99d9b4
Merge branch 'main' into wip-starknet-snap
alexandratran Oct 10, 2024
69e1866
another update
joaniekube Oct 10, 2024
ecc8a19
tutorial edit pass
alexandratran Oct 10, 2024
f6ca718
Merge branch 'wip-starknet-snap' of github.com:MetaMask/metamask-docs…
alexandratran Oct 10, 2024
3662d58
edit notes
alexandratran Oct 11, 2024
2077ee4
edit diagrams
alexandratran Oct 11, 2024
3cebaf4
Updates to code
joaniekube Oct 11, 2024
6c135f4
update code
joaniekube Oct 12, 2024
b3a510d
more updates
joaniekube Oct 12, 2024
8fb366c
updates for starknet docs
joaniekube Oct 15, 2024
6ab86da
Merge branch 'main' into wip-starknet-snap
alexandratran Oct 16, 2024
9c71895
Apply suggestions from code review
alexandratran Oct 16, 2024
f04565b
Merge branch 'wip-starknet-snap' of github.com:MetaMask/metamask-docs…
alexandratran Oct 16, 2024
ce2f148
edit recent updates
alexandratran Oct 16, 2024
c26d1c3
typo
alexandratran Oct 16, 2024
0db437e
add methods updates
joaniekube Oct 16, 2024
bc13128
update to include api methods not included and update to match params
joaniekube Oct 16, 2024
7de41e3
add image for tutorial
joaniekube Oct 16, 2024
33e58b4
Merge branch 'main' into wip-starknet-snap
joaniekube Oct 17, 2024
faa439f
Apply suggestions from code review
joaniekube Oct 17, 2024
232b1ca
update samples
joaniekube Oct 17, 2024
fd1f59c
add div
joaniekube Oct 17, 2024
1ec4259
update table
joaniekube Oct 17, 2024
ca5dc07
update table
joaniekube Oct 17, 2024
87d74d1
table update
joaniekube Oct 17, 2024
c517776
new table and headings
joaniekube Oct 17, 2024
cda26d1
add more screenshots
joaniekube Oct 17, 2024
7eb26f6
make tutorial clearer
joaniekube Oct 17, 2024
4d45e45
updates for clarity
joaniekube Oct 17, 2024
27824a4
Merge branch 'main' into wip-starknet-snap
joaniekube Oct 17, 2024
6a3f2fc
update table to use vertically merged cells
alexandratran Oct 18, 2024
9d38fee
tutorial edits but also hide it
alexandratran Oct 18, 2024
588083d
api fixes
alexandratran Oct 18, 2024
a3b1515
test table links
joaniekube Oct 18, 2024
ed3d0a5
update table and fix links
joaniekube Oct 18, 2024
31af75c
edit instances of EIP6963Provider
joaniekube Oct 18, 2024
7388c12
added some resource links
joaniekube Oct 18, 2024
71808b3
add note on deployment
joaniekube Oct 18, 2024
9b51cd7
Merge branch 'main' into wip-starknet-snap
joaniekube Oct 18, 2024
26406ab
Merge branch 'main' into wip-starknet-snap
alexandratran Oct 18, 2024
14ff23b
Merge branch 'wip-starknet-snap' of github.com:MetaMask/metamask-docs…
alexandratran Oct 18, 2024
0c45838
edits
alexandratran Oct 18, 2024
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
6 changes: 6 additions & 0 deletions wallet-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ const sidebar = {
type: "doc",
id: "reference/sdk-unity-api",
},
{
type: "category",
label: "Non-EVM APIs",
link: { type: "generated-index", slug: "/reference/non-evm-apis" },
items: [{ type: "autogenerated", dirName: "reference/non-evm-apis" }],
},
{
type: "doc",
id: "reference/provider-api",
Expand Down
Binary file added wallet/assets/starknet-dapp-connected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wallet/assets/starknet-metamask-connection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wallet/assets/starknet-token-update.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wallet/assets/starknet-tutorial-connected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wallet/assets/starknet-tutorial-select.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wallet/assets/starknet-tutorial-start-dapp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added wallet/assets/starknet-wallet-modal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions wallet/how-to/access-accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ When accessing a user's accounts:
- **Always** disable the connect button while the connection request is pending.
- **Never** initiate a connection request on page load.

:::note
You can also access users' accounts on some [non-EVM networks](/wallet/how-to/use-non-evm-networks).
:::

## Create a connect button

:::caution Important
Expand Down
8 changes: 4 additions & 4 deletions wallet/how-to/manage-networks/add-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ The confirmations look like the following:
</div>
</div>

:::note

To add a local development network such as [Hardhat](https://hardhat.org) to MetaMask, see [Run a development network](../run-devnet.md).

:::info Development and non-EVM networks
- To add a local development network such as [Hardhat](https://hardhat.org) to MetaMask, see [Run a development network](../run-devnet.md).
- To add a non-EVM network such as [Starknet](../use-non-evm-networks/starknet/index.md) to MetaMask,
see [Use non-EVM networks](/wallet/how-to/use-non-evm-networks).
:::

## Example
Expand Down
2 changes: 1 addition & 1 deletion wallet/how-to/run-devnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Follow these steps to connect MetaMask to Hardhat Network.
1. [Set up a Hardhat project.](https://hardhat.org/hardhat-runner/docs/guides/project-setup)

2. Create a new
[MetaMask seed phrase](<https://support.metamask.io/hc/en-us/articles/360060826432-What-is-a-Secret-Recovery-Phrase-and-how-to-keep-your-crypto-wallet-secure#:~:text=Your%20Secret%20Recovery%20Phrase%20(SRP,are%20connected%20to%20that%20phrase.)>)
[MetaMask seed phrase](https://support.metamask.io/privacy-and-security/what-is-a-secret-recovery-phrase-and-how-to-keep-your-crypto-wallet-secure/)
specifically for development.

:::caution important
Expand Down
32 changes: 32 additions & 0 deletions wallet/how-to/use-non-evm-networks/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
description: Interact with users' accounts on non-EVM networks.
sidebar_position: 9
---

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 Snaps for the following networks:

<CardList
items={[
{
href: "starknet",
title: "Starknet",
description:
"Layer 2 network for Ethereum using ZK rollups.",
},
]}
/>

:::info
See the [full list of available non-EVM Snaps](https://snaps.metamask.io/interoperability).
:::
Loading
Loading