Skip to main content

Requirements

  • iOS 13.0+
  • Swift 5.9+

Adding WalletKit to XCode project

  1. Open the project in XCode
  2. Go to FileAdd Package Dependencies
  3. Search for WalletKit package by URL: https://github.com/ton-connect/kit-ios.git
  4. Tap the Add Package button

Adding WalletKit to Swift package

  1. Open the package’s Package.swift manifest file
  2. Add a dependency:
    dependencies: [
        .package(url: "https://github.com/ton-connect/kit-ios.git", .upToNextMajor(from: "0.0.2"))
    ]
    
  3. Add a product to the target:
    .product(name: "TONWalletKit", package: "TONWalletKit")
    
Alternatively, explore the complete demo wallet with WalletKit integration:

Demo wallet, GitHub