Installation
- Web
- iOS
- Android
- Flutter
- .NET
- Unity
Copy
Ask AI
bash npm npm install @walletconnect/sign-client bash Yarn yarn add @walletconnect/sign-client bash Bun bun add @walletconnect/sign-client bash pnpm pnpm add @walletconnect/sign-clientFor Node.js, the WalletConnect SignClient additionally requires
lokijs to manage storage internally.Copy
Ask AI
bash npm npm install --save @walletconnect/sign-client lokijs@1.x
bash Yarn yarn add @walletconnect/sign-client lokijs@1.x bash Bun bun add --save @walletconnect/sign-client lokijs@1.x bash pnpm pnpm add @walletconnect/sign-client lokijs@1.x- SwiftPackageManager
- Cocoapods
You can add a WalletConnect SDK to your project with Swift Package Manager. In order to do that:
- Open XCode
- Go to File -> Add Packages
- Paste the repo GitHub URL: https://github.com/reown-com/reown-swift
- Tap Add Package
- Select WalletConnect check mark
- Update Cocoapods spec repos. Type in terminal
pod repo update - Initialize Podfile if needed with
pod init - Add pod to your Podfile:
Copy
Ask AI
pod 'WalletConnectSwiftV2'
- Install pods with
pod install
Copy
Ask AI
pod 'WalletConnectSwiftV2', :git => 'https://github.com/reown-com/reown-swift.git', :tag => '1.0.5'
Kotlin implementation of WalletConnect v2 Sign protocol for Android applications. This SDK is developed in Kotlin and usable in both Java and Kotlin files.app/build.gradle.kts
- Android Core
- Sign
Requirements
- Android min SDK 23
- Java 11
Installation
root/build.gradle.kts:Copy
Ask AI
allprojects {
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
}
Copy
Ask AI
implementation("com.walletconnect:android-core:release_version")
implementation("com.walletconnect:sign:release_version")
Install the WalletConnect client package.
Copy
Ask AI
flutter pub add walletconnect_flutter_v2
Platform Specific Setup
Depending on your platform, you will have to add different permissions to get the package to work.MacOS
Add the following to yourDebugProfile.entitlements and Release.entitlements files so that it can connect to the WebSocket server.Copy
Ask AI
<key>com.apple.security.network.client</key>
<true/>
Install via Packages
Install the WalletConnect Sign Client package via Nuget.Copy
Ask AI
dotnet add package WalletConnect.Sign
WalletConnectUnity.Core is a Unity package that provides a client implementation of the WalletConnect v2 protocol. It is built on top of the WalletConnectSharp.Sign library, which provides the core functionality for the WalletConnect protocol.
Prerequisites
- Unity 2021.3 or above
- IL2CPP code stripping level: Minimal (or lower)
Package Installation
- OpenUPM CLI
- Package Manager with OpenUPM
- Package Manager with Git URL
To install packages via OpenUPM, you need to have Node.js and openupm-cli installed. Once you have them installed, you can run the following commands:
Copy
Ask AI
openupm add com.walletconnect.core
- Open
Advanced Project Settingsfrom the gear ⚙ menu located at the top right of the Package Manager’s toolbar - Add a new scoped registry with the following details:
- Name:
OpenUPM - URL:
https://package.openupm.com - Scope(s):
com.walletconnect
- Name:
- Press plus ➕ and then
Savebuttons - In the Package Manager windows open the add ➕ menu from the toolbar
- Select
Add package by name... - Enter the package name:
com.walletconnect.core
- Press
Addbutton
- Open the add ➕ menu in the Package Manager’s toolbar
- Select
Add package from git URL... - Enter the package URL:
Copy
Ask AI
https://github.com/WalletConnect/WalletConnectUnity.git?path=Packages/com.walletconnect.core
- Press
Addbutton
#{version} at the end of the git URL, where #{version} is the git tag of the version you want to use.
For example, to install version 1.0.1 of WalletConnectUnity Modal, use the following URL:Copy
Ask AI
https://github.com/WalletConnect/WalletConnectUnity.git?path=Packages/com.walletconnect.core#core/1.0.1
WebGL
Due to WebGL’s single-threaded nature, certain asynchronous operations likeTask.Run, Task.ContinueWith, Task.Delay, and ConfigureAwait(false) are not natively supported.To enable these operations in WebGL builds, an additional third-party package, WebGLThreadingPatcher, is required. This package modifies the Unity WebGL build to delegate work to the SynchronizationContext, allowing these operations to be executed on the same thread without blocking the main application. Please note that all tasks are still executed on a single thread, and any blocking calls will freeze the entire application.The WebGLThreadingPatcher package can be added via git URL:Copy
Ask AI
https://github.com/VolodymyrBS/WebGLThreadingPatcher.git