Skip to main content

iOS Quickstart

Integrate private token transfers into your iOS app with the Swift SDK.
This quickstart gets you running in 5 minutes with minimal explanation. For detailed walkthroughs of each step, see the iOS Getting Started guide. For background on configuration and auth options, see Setup.

Installation

Swift Package Manager

Add to your Package.swift:
Or in Xcode:
  1. File → Add Package Dependencies
  2. Enter the repository URL
  3. Select version and add to your target

Quick Example

1. Create Wallet Delegate

2. Initialize and Use SDK

MnemonicGenerated fires for first-time users. CredentialRequired only fires when persistence with PIN / password / biometric unlock is configured. RecoveryRequired fires when the device has an account record but local keys are missing — prompt for the mnemonic and re-authenticate with .mnemonic(phrase:).

SwiftUI Example

Next Steps

iOS Getting Started

Detailed walkthrough of each integration step

Setup Guide

App ID, configuration, and auth method selection

Wallet Integration

Detailed WalletDelegate implementation

Session Storage

Secure Keychain storage and biometric unlock