Skip to content

Commit

Permalink
Edit homepage to simplify, shorten, and reduce SDK / API competition
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandratran committed Sep 20, 2024
1 parent 32f3f18 commit 5083184
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 52 deletions.
2 changes: 1 addition & 1 deletion wallet/how-to/access-accounts.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Access a user's accounts and handle changed accounts.
sidebar_position: 2
sidebar_position: 1
---

# Access a user's accounts
Expand Down
2 changes: 1 addition & 1 deletion wallet/how-to/batch-json-rpc-requests.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Batch multiple JSON-RPC requests using MetaMask SDK.
sidebar_position: 7
sidebar_position: 6
tags:
- JavaScript SDK
---
Expand Down
2 changes: 1 addition & 1 deletion wallet/how-to/display/_category_.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"label": "Display in MetaMask",
"position": 8,
"position": 7,
"link": {
"type": "generated-index",
"slug": "how-to/display",
Expand Down
2 changes: 1 addition & 1 deletion wallet/how-to/make-read-only-requests.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 6
sidebar_position: 5
description: Use Infura and custom nodes to make direct, read-only requests in your JavaScript dapp.
tags:
- JavaScript SDK
Expand Down
2 changes: 1 addition & 1 deletion wallet/how-to/manage-networks/_category_.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"label": "Manage networks",
"position": 3,
"position": 2,
"link": {
"type": "generated-index",
"slug": "how-to/manage-networks",
Expand Down
2 changes: 1 addition & 1 deletion wallet/how-to/manage-permissions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Request and revoke permissions to call restricted methods.
sidebar_position: 6
sidebar_position: 8
---

# Manage permissions
Expand Down
2 changes: 1 addition & 1 deletion wallet/how-to/onboard-users.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If it finds an origin, the final confirmation button of the MetaMask onboarding
the user will be redirected back to your dapp.

:::tip
[MetaMask SDK](../how-to/use-sdk/index.md) incorporates the functionality of the MetaMask onboarding library.
[MetaMask SDK](../connect/metamask-sdk/index.md) incorporates the functionality of the MetaMask onboarding library.
You don't need to set up the onboarding library if you use the SDK.
:::

Expand Down
2 changes: 1 addition & 1 deletion wallet/how-to/send-transactions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Send transactions using eth_sendTransaction.
sidebar_position: 5
sidebar_position: 4
---

# Send transactions
Expand Down
2 changes: 1 addition & 1 deletion wallet/how-to/sign-data/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: Sign data using eth_signTypedData_v4 and personal_sign.
sidebar_position: 4
sidebar_position: 3
---

# Sign data
Expand Down
44 changes: 44 additions & 0 deletions wallet/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
title: Introduction
---

# Integrate your dapp with the MetaMask wallet

Integrate your dapp with MetaMask using **MetaMask SDK**, a comprehensive toolkit that simplifies
wallet connectivity across desktop and mobile platforms, and MetaMask's **Wallet API**, which offers
a flexible way to interact with wallets and blockchain networks through standardized JSON-RPC calls.

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

## Why use MetaMask SDK?

**MetaMask SDK** enables a reliable connection from your dapp to the MetaMask browser extension and
MetaMask Mobile, and seamlessly integrates from the platform of your choice, ensuring a
secure and consistent user experience.
It offers the following features:

- **Cross-platform compatibility.** Connect to MetaMask across desktop, iOS, Android, React Native, and other platforms.
- **Persistent and seamless connections.** Reduce reconnections and offer a smoother user experience, especially on mobile.
- **Mobile-first.** Use instant deep links and advanced features for faster wallet interactions.
- **Enhanced functionality.** Batch transactions, RPC access, and [EIP-6963](https://eips.ethereum.org/EIPS/eip-6963) integration for wallet discovery and security.

For dapps that need direct control, the **Wallet API** provides access to Ethereum accounts, signing
data, and other core wallet functions.
Dapps can call Wallet API methods with or without the SDK installed.

## Where do I start?

- [**Connect to MetaMask**](connect/index.md) – Learn more about and get started with the different
connection options.
- [**Wallet API reference**](/wallet/reference/json-rpc-api) – See the full list of JSON-RPC methods.
- If you're new to integrating dapps with MetaMask, see the following topics:
- [**About the Wallet API**](concepts/wallet-api.md)
- [**Create a simple dapp tutorial**](tutorials/javascript-dapp-simple.md)

## Questions?

For more support, connect with the MetaMask team and community on [Consensys Discord](https://discord.gg/consensys).

:::note MetaMask user support
For MetaMask user support, visit the [MetaMask Help Center](https://support.metamask.io/).
:::
43 changes: 0 additions & 43 deletions wallet/index.mdx

This file was deleted.

0 comments on commit 5083184

Please sign in to comment.