How tangem/tangem-app-ios works
Tangem for iPhone is a consumer mobile wallet application backed by a multi-chain blockchain SDK and supporting wallet, security, backup, and financial-service modules. Its principal user-facing path is interacting with the app, selecting a wallet, and performing blockchain operations; the README identifies the iPhone app and notes that some networks require API keys. The supplied excerpts show storage and authentication responsibilities, but not the main app-to-wallet transaction flow, so uncertain connections are omitted or marked unverified.
Main entry points: ServicesManager.swift Tangem app · Blockchain.swift Blockchain SDK · UserWalletRepository.swift Wallet repository · Wallet.swift Wallet runtime
Components 18
iPhone App
- Tangem app
Tangem/App/Root/ServicesManager.swift
Wallet Domain
- Wallet model
Tangem/Domain/UserWalletModel/UserWalletModel.swift - Wallet repository
Tangem/Domain/UserWalletModel/UserWalletRepository/UserWalletRepository.swift - Wallet data
Tangem/Domain/UserWalletModel/UserWalletRepository/UserWalletDataStorage.swift
Blockchain SDK
- Blockchain SDK
Modules/BlockchainSdk/Common/Blockchain.swift - Wallet runtime
Modules/BlockchainSdk/Common/Wallet/Wallet.swift - Blockchain data storage
Modules/BlockchainSdk/Common/DataStorage/BlockchainDataStorage.swift - Chain implementations
Modules/BlockchainSdk/Blockchains
Wallet Services
- Private info manager
Modules/TangemMobileWalletSdk/Sources/swift/Storage/PrivateInfoStorageManager.swift - Public info manager
Modules/TangemMobileWalletSdk/Sources/swift/Storage/PublicInfoStorageManager.swift - Encrypted secure storage
Modules/TangemMobileWalletSdk/Sources/swift/Storage/EncryptedSecureStorage.swift - Wallet backup
Modules/TangemMobileWalletBackup/MobileWalletBackupManager.swift - Backend authentication
Modules/TangemBackendAuthentication/Domain/DeviceKey/BackendAuthenticationStorageCleaner.swift - Staking
TangemStaking/Services/StakingManager - Exchange and onramp
TangemExpress/Manager - Tangem Visa
TangemVisa/Activation/VisaActivationManager.swift
Other components
- iPhone user
- Blockchain networks
Connections 16
- iPhone user → Tangem app: uses
- Tangem app → Wallet repository: selects wallets
- Wallet repository → Wallet data: persists wallets
Tangem/Domain/UserWalletModel/UserWalletRepository/UserWalletDataStorage.swift - Wallet model → Wallet repository: managed by
Tangem/Domain/UserWalletModel/UserWalletRepository/UserWalletRepository.swift - Tangem app → Blockchain SDK: requests chain actions
- Blockchain SDK → Wallet runtime: provides wallet types
Modules/BlockchainSdk/Common/Wallet/Wallet.swift - Wallet runtime → Blockchain data storage: uses storage
- Blockchain SDK → Chain implementations: implements chains
- Chain implementations → Blockchain networks: connects to
- Private info manager → Encrypted secure storage: stores encryption keys
Modules/TangemMobileWalletSdk/Sources/swift/Storage/PrivateInfoStorageManager.swift - Public info manager → Encrypted secure storage: uses storage
Modules/TangemMobileWalletSdk/Sources/swift/Storage/PublicInfoStorageManager.swift - Tangem app → Wallet backup: backs up wallets
- Tangem app → Backend authentication: authenticates
- Tangem app → Staking: offers staking
- Tangem app → Exchange and onramp: offers exchange
- Tangem app → Tangem Visa: offers Visa services