Introduction
WalletConnectModal is a simple ui library intended for advanced use cases where users manage connections strings and associated WalletConnect API's themselves.
Don't have a project ID?
Head over to WalletConnect Cloud and create a new project now!
Installation
- Web
- iOS
- Android
- Flutter
- React Native
- Unity
Add packages (NPM)
- npm
- Yarn
- Bun
- pnpm
npm install @walletconnect/modal
yarn add @walletconnect/modal
bun add @walletconnect/modal
pnpm add @walletconnect/modal
Add packages (CDN)
WalletConnectModal uses unpkg as its official CDN provider. Instead of using the npm package, you can simply import it from their CDN and use it in the same way.
<script type="module">
import { WalletConnectModal } from 'https://unpkg.com/@walletconnect/modal'
</script>
The WalletConnectModal SDK is currently in Alpha and is not production-ready.
It's public API and associated documentation may still see significant and breaking changes.
SwiftPackageManager
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/WalletConnect/WalletConnectSwiftV2
- Tap Add Package
- Choose the WalletConnectV2 products that you want installed in your app.
Alternatively, add WalletConnectModal to a Package.swift
manifest
To integrate via a Package.swift
manifest instead of Xcode, you can add
WalletConnectModal to the dependencies array of your package:
dependencies: [
.package(
name: "WalletConnectV2",
url: "https://github.com/WalletConnectV2/WalletConnectSwiftV2.git",
.upToNextMajor(from: "1.6.4")
),
// Any other dependencies you have...
],
Then, in any target that depends on a WalletConnectV2 product, add it to the dependencies
array of that target:
.target(
name: "MyTargetName",
dependencies: [
// The product(s) you want (e.g. WalletConnectModal).
.product(name: "WalletConnectModal", package: "WalletConnectV2"),
]
),
The WalletConnectModal SDK is currently in Alpha and is not production-ready.
It's public API and associated documentation may still see significant and breaking changes.
Kotlin implementation of WalletConnectModal for Android applications.
Android Core
WalletConnectModal
Requirements
- Android min SDK 23
- Java 11