Libraries
iOS
Use the WalletKit swift package to integrate with the Wallets API in your iOS app
Requirements
- iOS 14.0+
Installation
You can install the WalletKit swift package using either Swift Package Manager or CocoaPods.
Swift Package Manager
- In Xcode, select “File” → “Swift Packages” → “Add Package Dependency”
- Enter https://github.com/usewalletkit/walletkit-ios.git
CocoaPods
- Add
pod 'WalletKit'
to your Podfile - Run
pod install
Setup
Setup the client with your Project ID in your AppDelegate
. You can find your Project ID in the WalletKit Dashboard.
If you are using SwiftUI, register the app delegate in your App
:
At this point, the client is unauthenticated. To authenticate your client, check out the Authentication section.