Skip to content

Commit

Permalink
Clean up files and placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandratran committed Sep 5, 2024
1 parent 9401571 commit a43f196
Show file tree
Hide file tree
Showing 15 changed files with 50 additions and 43 deletions.
10 changes: 4 additions & 6 deletions wallet/how-to/connect/access-accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ sidebar_position: 3

# Access a user's accounts

:::note

You can access a non-EVM network ... (point to docs section)

:::

User accounts are used in a variety of contexts in Ethereum, including as identifiers and for
[signing transactions](../sign-data/index.md).
To request a signature from a user or have a user approve a transaction, your dapp can
Expand All @@ -30,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
14 changes: 4 additions & 10 deletions wallet/how-to/manage-networks/add-network.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ sidebar_position: 2

# Add a network

:::note

You can add a non-EVM network ... (point to docs section)

:::

In some cases, such as when [interacting with smart contracts](../../concepts/smart-contracts.md),
your dapp must connect a user to a new network in MetaMask.
Instead of the user [adding a new network manually](https://support.metamask.io/hc/en-us/articles/360043227612-How-to-add-a-custom-network-RPC#h_01G63GGJ83DGDRCS2ZWXM37CV5),
Expand All @@ -36,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/use-non-evm-networks/_category_.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"link": {
"type": "generated-index",
"slug": "how-to/use-non-evm-networks",
"description": "You can add non-EVM networks in MetaMask."
"description": "You can interact with users' accounts on non-EVM networks in MetaMask."
}
}

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
description: Connect to the Starknet network in MetaMask.
sidebar_position: 1
---

# Connect to Starknet
8 changes: 8 additions & 0 deletions wallet/how-to/use-non-evm-networks/starknet/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
description: Interact with users' Starknet accounts in MetaMask.
sidebar_position: 1
---

# Starknet

You can interact with users' Starknet accounts in MetaMask by installing the Starknet Snap.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
description: Manage Starknet accounts in MetaMask.
sidebar_position: 2
---

# Manage Starknet accounts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
description: Manage
description: Manage Starknet networks in MetaMask.
sidebar_position: 3
---

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
description: Send Starknet transactions in MetaMask.
sidebar_position: 4
---

# Send Starknet transactions
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
description: Sign Starknet data in MetaMask.
sidebar_position: 5
---

# Sign Starknet data
6 changes: 6 additions & 0 deletions wallet/how-to/use-non-evm-networks/starknet/troubleshoot.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
description: Troubleshoot common Starknet issues.
sidebar_position: 6
---

# Troubleshoot
4 changes: 2 additions & 2 deletions wallet/reference/non-evm-apis/starknet-snap-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import TabItem from "@theme/TabItem";

# Starknet Snap API

With the [Starknet Snap] installed, dapps can use the Starknet Snap API to interact with users'
Starknet accounts.
With the [Starknet Snap](../../how-to/use-non-evm-networks/starknet/index.md) installed, dapps can
use the Starknet Snap API to interact with users' Starknet accounts (for example, to send transactions).

:::note
You can also communicate with the Starknet network using the
Expand Down

0 comments on commit a43f196

Please sign in to comment.