How mytonwallet-org/mytonwallet works
My Wallet is a self-custodial, multichain wallet delivered across web, desktop, mobile, browser extensions, and Telegram. A user enters the wallet, chooses an asset action, reviews and confirms it, and receives a transfer or other wallet result; the sampled iOS send controllers show the review-and-confirm step. The README also documents Agent-assisted actions, swaps, staking, portfolio tracking, dApp connections, and hardware wallets. Those broader branches are represented at their existing source directories; their detailed runtime wiring was not sampled.
Main entry points: App.tsx Wallet app · TokenSendReviewViewController.swift Send review · agentV2RunController.ts Smart Agent · air Native Air
Components 16
Wallet clients
- Wallet app
src/components/App.tsx - Native Air
mobile/android/air
Asset actions
- Send review
mobile/ios/Air/SubModules/UISend/Token/Review/TokenSendReviewViewController.swift - NFT send
mobile/ios/Air/SubModules/UISend/NFT/Review/NftSendReviewViewController.swift - Batch transfers
src/multisend/components/App.tsx - Smart swaps
src - Buy and sell
src
Wallet capabilities
- Smart Agent
src/components/agent/hooks/agentV2RunController.ts - Portfolio tracking
src/portfolio/components/App.tsx - Staking
src - Universal search
mobile/ios/Air/SubModules/UniversalSearchCore/UniversalSearchEngine.swift - dApp sessions
src/api/dappProtocols/storage.ts
Security and storage
- Ledger connection
mobile/android/air/SubModules/Ledger/src/main/java/org/mytonwallet/app_air/ledger/LedgerManager.kt - Secure storage
mobile/android/air/SubModules/WalletContext/src/main/java/org/mytonwallet/app_air/walletcontext/secureStorage/WSecureStorageProvider.java - Account context
mobile/ios/Air/SubModules/WalletCore/Stores/Accounts/AccountContext.swift
Other components
- Wallet user
Connections 15
- Wallet user → Wallet app: opens
- Wallet app → Send review: reviews transfer
- Wallet app → NFT send: reviews NFT send
- Wallet app → Batch transfers: starts batch send
- Wallet app → Smart swaps: starts swap
- Wallet app → Buy and sell: buys or sells
- Wallet app → Smart Agent: uses Agent
- Smart Agent → Send review: can initiate
- Wallet app → Portfolio tracking: tracks holdings
- Wallet app → Staking: stakes assets
- Wallet app → Universal search: searches assets
- Wallet app → dApp sessions: connects dApps
- Wallet app → Ledger connection: connects hardware
- Native Air → Smart Agent: uses shared SDK
- Send review → Account context: uses account
mobile/ios/Air/SubModules/UISend/Token/Review/TokenSendReviewViewController.swift