Add AlloWallet module for Algorand blockchain wallet connectivity#9
Draft
Add AlloWallet module for Algorand blockchain wallet connectivity#9
Conversation
Co-authored-by: marilene38 <135267736+marilene38@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add mobile and desktop application for Allo Wallet Connection
Add AlloWallet module for Algorand blockchain wallet connectivity
Feb 25, 2026
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.
Adds an
AlloWalletSwift module to the macOS host app providing Algorand blockchain wallet connection, account management, ASA support, and transaction signing — exposed as a new "Allo Wallet" tab in the settings UI.New Module:
Core/Sources/AlloWallet/Models (
AlgorandWallet.swift,AlgorandStandardAsset.swift)WalletType:standard|ledger|rekeyed|watchOnlyWalletAccount: address, µALGO balance with ALGO conversion, rekeyed detection (authAddr ≠ address), held ASAsAlgorandStandardAsset: ASA id, decimals-aware formatted balanceAlgorandSignatureRequest: pending txn signing queue entry (base64 unsigned bytes + signer address)Service (
AlloWalletService.swift) —ObservableObjectwrapping all wallet operationsconnect(address:name:type:)— validates 58-char base32 address, fetches account via AlgoExplorer indexer API, persists toUserDefaultsreconnectAll()— refreshes all persisted wallets concurrently viaTaskGroupdisconnect(walletID:)— removes wallet and updates persistencerequestSignature/resolveSignatureRequest— pending signature queueparseQRCode(_:)— handles plain address oralgorand://<address>URIisTwoFactorEnabled— toggleable 2FA flag surfaced in the connect sheetView (
AlloWalletView.swift) — SwiftUI interfaceConnectWalletSheet: wallet type picker, QR string parser, optional 2FA code fieldIntegration
Core/Package.swift:AlloWalletlibrary product + target;AlloWalletTeststest target;AlloWalletadded asHostAppdependencyTabContainer.swift: "Allo Wallet" tab (tag 3,wallet.passicon) added alongside General / Advanced / MCPTests (
Core/Tests/AlloWalletTests/)15 unit tests covering address validation, rekeyed detection, ASA balance formatting, QR parsing (
plainandalgorand://URI), signature request lifecycle, connect error path (invalidAddress), disconnect, and allAlloWalletErrordescriptions.Original prompt
This pull request was created from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.