How michaeltchuangllc/algokit-walletsdk-kmp works
AlgoKit Wallet SDK is a multiplatform wallet library: apps embed its UI layer, which uses the headless core for wallet operations. The principal flow is app-driven account onboarding or recovery, followed by account use and transaction signing; Liquid Auth adds peer connection and Liquid Stream session billing. The README also documents passkeys, settings, QR workflows, and Algorand transactions. Several feature paths are represented from the tree and README, but their internal calls were not sampled, so those links are omitted or marked unverified.
Main entry points: wallet-sdk-ui Wallet UI SDK · wallet-sdk-core Wallet Core · LiquidAuthConnectionManager.kt Peer Connection · LiquidStreamBlockConsumptionManager.kt Block Billing
Components 21
Embedded Wallet UI
- Wallet UI SDK
wallet-sdk-ui - Demo Wallet
sharedDemoApp - Theme and Locale
wallet-sdk-ui/src/commonMain/kotlin/com/michaeltchuang/walletsdk/ui/settings
Accounts and Signing
- Account Onboarding
wallet-sdk-core/src/commonMain/kotlin/com/michaeltchuang/walletsdk/core/account - Algorand Transactions
wallet-sdk-core/src/androidMain/kotlin/com/michaeltchuang/walletsdk/core/algosdk/transaction/builders - Passkey Credentials
wallet-sdk-core/src/androidMain/kotlin/com/michaeltchuang/walletsdk/core/passkeys - Passkey Provider
wallet-sdk-ui/src/androidMain/kotlin/com/michaeltchuang/walletsdk/ui/passkeys/PasskeyProviderService.kt
Authentication and Streaming
- Liquid Auth
wallet-sdk-ui/src/commonMain/kotlin/com/michaeltchuang/walletsdk/ui/liquidAuth - Offer View Model
wallet-sdk-ui/src/commonMain/kotlin/com/michaeltchuang/walletsdk/ui/liquidAuth/viewmodels/LiquidAuthOfferViewModel.kt - Peer Connection
wallet-sdk-ui/src/commonMain/kotlin/com/michaeltchuang/walletsdk/ui/liquidAuth/service/LiquidAuthConnectionManager.kt - Signaling Service
wallet-sdk-core/src/androidMain/kotlin/com/michaeltchuang/walletsdk/core/liquidAuth/auth/connect/SignalService.kt - Liquid Stream
wallet-sdk-ui/src/commonMain/kotlin/com/michaeltchuang/walletsdk/ui/liquidStream/domain/manager/MppPaymentViewerManager.kt - Block Billing
wallet-sdk-ui/src/commonMain/kotlin/com/michaeltchuang/walletsdk/ui/liquidAuth/utils/LiquidStreamBlockConsumptionManager.kt - MPP Payment Operations
wallet-sdk-core/src/commonMain/kotlin/com/michaeltchuang/walletsdk/core/railmpp/utils/MppPayments.kt - Escrow Session Vault
wallet-sdk-core/src/commonMain/kotlin/com/michaeltchuang/walletsdk/core/railmpp/smartcontract/EscrowSessionVaultHybridManagerClient.kt
Platform Foundations
- Wallet Core
wallet-sdk-core - Key Encryption
wallet-sdk-core/src/androidMain/kotlin/com/michaeltchuang/walletsdk/core/encryption - Persistent Cache
wallet-sdk-core/src/androidMain/kotlin/com/michaeltchuang/walletsdk/core/foundation/cache
Other components
- Wallet App
- Algorand Network
- Remote Peer
Connections 20
- Wallet App → Wallet UI SDK: embeds
README.md - Wallet App → Wallet Core: uses
README.md - Demo Wallet → Wallet UI SDK: demonstrates
README.md - Wallet UI SDK → Wallet Core: uses
README.md - Wallet Core → Algorand Network: uses SDKs
README.md - Wallet UI SDK → Theme and Locale: provides
- Wallet Core → Account Onboarding: supports
wallet-sdk-core/src/commonMain/kotlin/com/michaeltchuang/walletsdk/core/transaction/signmanager/TransactionSignManager.kt - Account Onboarding → Algorand Transactions: enables signing
- Wallet UI SDK → Passkey Provider: exposes
wallet-sdk-ui/src/androidMain/kotlin/com/michaeltchuang/walletsdk/ui/passkeys/PasskeyProviderService.kt - Passkey Provider → Passkey Credentials: handles credentials
wallet-sdk-ui/src/androidMain/kotlin/com/michaeltchuang/walletsdk/ui/passkeys/PasskeyProviderService.kt - Wallet UI SDK → Liquid Auth: provides
wallet-sdk-ui/src/androidMain/kotlin/com/michaeltchuang/walletsdk/ui/liquidAuth/service/LiquidAuthConnectionManager.android.kt - Liquid Auth → Offer View Model: offers sessions
wallet-sdk-ui/src/commonMain/kotlin/com/michaeltchuang/walletsdk/ui/liquidAuth/utils/LiquidStreamBlockConsumptionManager.kt - Peer Connection → Signaling Service: uses
wallet-sdk-ui/src/androidMain/kotlin/com/michaeltchuang/walletsdk/ui/liquidAuth/service/LiquidAuthConnectionManager.android.kt - Peer Connection → Remote Peer: connects
- Peer Connection → Block Billing: starts billing
wallet-sdk-ui/src/iosMain/kotlin/com/michaeltchuang/walletsdk/ui/liquidAuth/service/LiquidAuthConnectionManager.ios.kt - Liquid Stream → Block Billing: manages payments
wallet-sdk-ui/src/commonMain/kotlin/com/michaeltchuang/walletsdk/ui/liquidStream/domain/manager/MppPaymentViewerManager.kt - Block Billing → MPP Payment Operations: settles vouchers
wallet-sdk-ui/src/commonMain/kotlin/com/michaeltchuang/walletsdk/ui/liquidAuth/utils/LiquidStreamBlockConsumptionManager.kt - MPP Payment Operations → Escrow Session Vault: operates vault
wallet-sdk-core/src/commonMain/kotlin/com/michaeltchuang/walletsdk/core/railmpp/utils/MppPayments.kt - Wallet Core → Key Encryption: provides
- Wallet Core → Persistent Cache: provides