• iOS 14.0+


You can install the WalletKit swift package using either Swift Package Manager or CocoaPods.

Swift Package Manager

  1. In Xcode, select “File” → “Swift Packages” → “Add Package Dependency”
  2. Enter


  1. Add pod 'WalletKit' to your Podfile
  2. Run pod install


Setup the client with your Project ID in your AppDelegate. You can find your Project ID in the WalletKit Dashboard.

import UIKit
import WalletKit

class AppDelegate: NSObject, UIApplicationDelegate {
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool {
        let projectID = "WALLET_KIT_PROJECT_ID"
            projectID: projectID,
            environment: .testnet,
            tokenSource: .walletkit

        return true

If you are using SwiftUI, register the app delegate in your App:

import SwiftUI

struct WalletKitDemoApp: App {

    // Register app delegate for WalletKit setup.
    @UIApplicationDelegateAdaptor(AppDelegate.self) var delegate

    var body: some Scene {
        WindowGroup {

At this point, the client is unauthenticated. To authenticate your client, check out the Authentication section.