Installation
Try installing AppKit Skills to get AI-assisted guidance. Your AI coding assistant can help you set up, build, and debug your AppKit integration. To install AppKit Skills, run the following command in your terminal:Custom Installation
- Wagmi
- Ethers v5
- Ethers
- Solana
- Bitcoin
- TON
- TRON
- Others networks (AppKit Core)
Cloud Configuration
Create a new project on Reown Dashboard and obtain a new project ID.Don't have a project ID?
Head over to Reown Dashboard and create a new project.
Implementation
AppKit providers two different approaches on React to initialize it.- AppKitProvider
- createAppKit
Use
AppKitProvider React component for easy integration in React applications. This component wraps your app and provides the AppKit context to all child components.Adapter Configuration
- Wagmi
- Ethers v5
- Ethers
- Solana
- Bitcoin
- TON
- TRON
- Others networks (AppKit Core)
wagmi Example
Check the React wagmi example
createAppKit function with a unified configuration. This automatically applies the predefined configurations for different adapters like Wagmi, Ethers, or Solana, so you no longer need to manually configure each one individually. Simply pass the common parameters such as projectId, chains, metadata, etc., and the function will handle the adapter-specific configurations under the hood.This includes WalletConnect, Coinbase and Injected connectors, and the Blockchain API as a transportOn top of your app set up the following configuration, making sure that all functions are called outside any React component to avoid unwanted rerenders.Importing networks
Reown AppKit use Viem networks under the hood, which provide a wide variety of networks for EVM chains. You can find all the networks supported by Viem within the@reown/appkit/networks path.Looking to add a custom network? Check out the custom networks section.
Trigger the modal
- AppKit
- AppKit Core
To open AppKit you can use our React components or build your own button with AppKit hooks.
Smart Contract Interaction
- Wagmi
- Ethers
- Solana
Wagmi hooks can help us interact with wallets and smart contracts:Read more about Wagmi hooks for smart contract interaction here.
Video Tutorial
Alternative Installation
If you are starting from scratch, you can use the following methods to set up your project with Reown AppKit.AppKit Skills
AppKit Skills
AppKit Skills provide AI-powered assistance for building with Reown AppKit. Once installed, your AI coding assistant can help you set up, build, and debug your AppKit integration.To install AppKit Skills, run the following command in your terminal:After installation, you can ask your AI assistant for help with AppKit setup, implementation, and troubleshooting.
AppKit CLI
AppKit CLI
Reown offers a dedicated CLI to set up a minimal version of AppKit in the easiest and quickest way possible.To do this, please run the command below.After running the command, you will be prompted to confirm the installation of the CLI. Upon your confirmation, the CLI will request the following details:
- Project Name: Enter the name for your project.
- Framework: Select your preferred framework or library. Currently, you have three options: React, Next.js, and Vue.
- Network-Specific libraries: Choose whether you want to install Wagmi, Ethers, Solana, or Multichain (EVM + Solana).
projectId that will only work on localhost.To fully configure your project, please obtain a projectId from the Reown Dashboard and update your project accordingly.Refer to this section for more information.