iOS
How to install the TON Connect's WalletKit on the iOS platform
Requirements
- iOS 13.0+
- Swift 5.9+
Adding WalletKit to XCode project
- Open the project in XCode
- Go to
File→Add Package Dependencies - Search for WalletKit package by URL:
https://github.com/ton-connect/kit-ios.git - Tap the Add Package button
Adding WalletKit to Swift package
-
Open the package's
Package.swiftmanifest file -
Add a dependency:
dependencies: [ .package(url: "https://github.com/ton-connect/kit-ios.git", .upToNextMajor(from: "0.0.2")) ] -
Add a product to the target:
.product(name: "TONWalletKit", package: "TONWalletKit")
Alternatively, explore the complete demo wallet with WalletKit integration:
Demo wallet, GitHub
Last updated on