Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Integrates Pubky decentralized identity into Bitkit, allowing users to connect their Pubky profile via Pubky Ring authentication. Once connected, the user's profile name and avatar are displayed on the home screen header, and a full profile page shows their bio, links, and a shareable QR code.
What's included
pubkyauth://) with relay-based session exchange, session persistence in Keychain, and automatic restoration on app launchPubkyService— service layer wrappingpaykit-ffi(profile/contacts/payments) andbitkit-core(auth relay, PKDNS file fetching)PubkyProfileManager— manages auth state, session lifecycle, and profile data with all FFI/Keychain/disk operations offloaded to background threadsPubkyImagecomponent for loadingpubky://URIs with two-tier (memory + disk) cachingNew dependencies
paykit-rs(SPM, branch: master) — Pubky SDK for profile, contacts, and payment operationsCoreBluetoothframework (linker flag, required by paykit-rs)New files
Services/PubkyService.swiftManagers/PubkyProfileManager.swiftModels/PubkyProfile.swiftComponents/PubkyImage.swiftpubky://image loader with disk+memory cacheViews/Profile/ProfileView.swiftViews/Profile/PubkyRingAuthView.swiftModified files
AppScene.swiftPubkyProfileManager, initialize Paykit earlyMainNavView.swiftHeader.swiftSuggestions.swiftQR.swift.task(id:)Info.plistLSApplicationQueriesSchemesforpubkyauth, ATS configKeychain.swiftpaykitSessionentry typeNavigationViewModel.swift.pubkyRingAuthrouteProfileIntro.swiftColors.swiftpubkyBrandcolorLocalizable.stringsTest plan
ScreenRecording_03-04-2026.23-49-21_1.MP4