WalletConnect Modal to Reown AppKit Core
Reown AppKit Core is the upgraded version of WalletConnect Modal. It provides a user-friendly experience while maintaining the familiar QR code functionality for wallet connections. AppKit Core is the base version of Reown AppKit that includes the traditional WalletConnect Modal with QR code functionality.
Please, follow the different sections based on which package you were using before.
@walletconnect/ethereum-provider
@walletconnect/universal-provider
@walletconnect/sign-client
@walletconnect/modal
If your project has @walletconnect/modal
in the package.json
or your project files, you need to remove it and uninstall it. After that, you can refer to the Universal Provider path to setup AppKit Core in your project.
AppKit Core is the most basic version of Reown AppKit which replaces WalletConnect Modal. Please refer to this section if you are starting from scratch.
Installation
You first need to install the AppKit package in order to get started. You can do this by running the command below.
Make sure to use a version equal or greater than v1.7.0
Ethereum Provider
The Ethereum Provider implementation remains the same as before. Projects and developers don’t need to change anything in their configuration; upgrading the Ethereum Provider to latest version is sufficient. Projects will automatically receive the new QR modal UI.
Not all themeVariables
will be compatible with the new UI, as AppKit
uses a different design system than walletConnectModal
Examples
Below are the examples for the corresponding library/programming language.
Universal Provider
First, please uninstall the @walletconnect/modal
package. You should also remove @walletconnect/modal
from your package.json
file.
Then, you can use the following code to configure AppKit with UniversalProvider
.
How to use a Custom Network
WalletConnect Modal has always been chain agnostic. AppKit Core is chain agnostic as well. Hence, you can configure custom networks like Polkadot, Cosmos, etc., using AppKit Core.
Examples
Below are the examples for the corresponding library/programming language.
Sign Client
First, please uninstall the @walletconnect/modal
package. You should also remove @walletconnect/modal
from your package.json
file.
Then, you can use the following code to configure AppKit with SignClient
.
How to use a Custom Network
WalletConnect Modal has always been chain agnostic. AppKit Core is chain agnostic as well. Hence, you can configure custom networks like Polkadot, Cosmos, etc., using AppKit Core.
Examples
Below are the examples for the corresponding library/programming language.
Setting up AppKit Core from scratch
If you are setting up AppKit Core from scratch, you can refer to the “Multichain” section under AppKit “Core” for installation which shows a basic installation of AppKit Core. Click here to learn more.
Examples
Below are the examples for the corresponding library/programming language.