Skip to content

Commit

Permalink
Update the Introduction and further consolidate the text.
Browse files Browse the repository at this point in the history
  • Loading branch information
httpJunkie committed Sep 13, 2024
1 parent c6a7d45 commit 61d71d5
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions wallet/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,39 +4,35 @@ title: Introduction

# MetaMask Integration Overview

MetaMask provides developers with a versatile set of tools to integrate their dapps across all platforms, including mobile and desktop. This guide highlights the capabilities of the **MetaMask SDK** and how it wraps the **MetaMask API** (JSON-RPC), giving developers the power to build seamless, cross-platform experiences.
MetaMask provides developers with tools to integrate their dapps across desktop and mobile platforms. This guide introduces the **MetaMask SDK**, a comprehensive toolkit that simplifies wallet connectivity across platforms, and the **MetaMask API** (JSON-RPC).

## Why Use the MetaMask SDK?

The **MetaMask SDK** is your all-in-one toolkit for connecting dapps to the MetaMask ecosystem, covering both desktop and mobile platforms. It wraps the MetaMask API, providing everything you need for reliable wallet connectivity with additional mobile protocol support.
The **MetaMask SDK** offers reliable wallet connections to MetaMask Extension and MetaMask Mobile from dapps and has additional features for seamless cross-platform integration.

### Key Benefits of the MetaMask SDK
### Key Benefits

- **Cross-Platform Compatibility:** Seamlessly connect to MetaMask on iOS, Android, React Native, and more.
- **Persistent Connections:** Maintain stable, long-term connections (up to 30+ days) to enhance user experience.
- **Mobile-First Focus:** Enjoy instant connections via deep linking, eliminating delays and retries for a faster user experience.
- **Advanced Features:** Batch transactions, RPC access, and EIP-6963 integration for wallet discovery and secure connections.
- **Ideal for Advanced Use Cases:** Perfect for developers building complex dapps for web3 ecosystems such as DeFi, NFTs, gaming, and beyond.
- **Cross-Platform Compatibility:** Connect to MetaMask across desktop, iOS, Android, React Native, and more.
- **Persistent and Seamless Connections:** Reduce reconnections and offer a smoother experience, especially on mobile.
- **Mobile-First:** Utilize instant deep links and advanced features for faster wallet interactions.
- **Enhanced Functionality:** Batch transactions, RPC access, and EIP-6963 integration for wallet discovery and security.

For more details on how the SDK can enhance your dapp, check out the [MetaMask SDK Product Overview](/wallet/connect/sdk/).
For a full overview of features, refer to the [MetaMask SDK Product Overview](/wallet/connect/sdk/).

## The MetaMask API (JSON-RPC API)
## Using the MetaMask API

For developers who need direct access to MetaMask’s core wallet functions, the **MetaMask API** allows you to:
For developers who need direct control, the **MetaMask API (JSON-RPC)** provides access to Ethereum accounts, signing data, and other core wallet functions.

- Interact with users' Ethereum accounts
- Perform actions like signing data, executing transactions, and listening for wallet events
- Build dapp logic directly within MetaMask or other Ethereum-compatible environments

The MetaMask API is wrapped within the SDK, but if you're looking for a simpler integration with fewer features, visit our [API Reference](/wallet/reference/json-rpc-api/) for more information on using the JSON-RPC API directly.
Connect a test wallet and test the JSON-RPC API directly from our docs by choosing a specific API endpoint: [API Reference](/wallet/reference/json-rpc-api/).

## Resources
## Next Steps

- **[🏁 Get Started with the SDK](/wallet/connect/sdk/#steps):** Learn how to integrate the SDK into your dapp.
- **[🛠️ API How-to Guides](/wallet/connect/wallet-api/):** For specific dapp functions like signing data or interacting with the blockchain.
- **[Create a simple dapp](/wallet/tutorials/javascript-dapp-simple.md):** Tutorial on integrating the SDK into a basic JS/TS dapp.
- **[Create a React dapp with Local State](/tutorials/react-dapp-local-state.md):** Integrate the SDK into a React component.
- **[Create a React Dapp with Global State](/tutorials/react-dapp-global-state.md):** Use the SDK within an existing React dapp using the React Context API.
- **[Get Started with the SDK](/wallet/connect/sdk/#steps):** Learn the steps to integrate the SDK into your dapp.
- **[Explore the MetaMask API](/wallet/reference/json-rpc-api/):** Direct access to the core MetaMask wallet features.

## Questions?

Expand Down

0 comments on commit 61d71d5

Please sign in to comment.