CAKE WALLET + ITS DEPENDENCIES
27 repositories.
Counted line by line.
The wallet and 26 Cake Labs repositories referenced in its dependency lockfile, measured at their pinned revisions.
TOTAL SOURCE LINES
831,615
Across all 27 repository snapshots
The recursive dependency audit identifies additional repositories. The line counts below cover the 27 measured snapshots.
THE FULL BREAKDOWN
One row per repository.
Wallet first, then dependencies by size.
Repository names link to the measured revision.
| Repository | All source | Dart only | Share |
|---|---|---|---|
| cake_wallet | 251,860 | 244,591 | 30.29% |
| blockchain_utils | 243,565 | 242,446 | 29.29% |
| on_chain | 87,475 | 86,338 | 10.52% |
| zkool2 | 84,377 | 41,915 | 10.15% |
| polyseed_dart | 42,634 | 42,634 | 5.13% |
| universal_ble | 26,752 | 9,628 | 3.22% |
| trezor-flutter | 22,316 | 20,439 | 2.68% |
| bitcoin_base | 14,986 | 13,849 | 1.80% |
| modal_bottom_sheet | 12,597 | 12,268 | 1.51% |
| flutter_file_picker | 6,030 | 3,061 | 0.73% |
| sp_scanner | 5,518 | 4,367 | 0.66% |
| flutter_secure_storage | 5,374 | 1,573 | 0.65% |
| ledger-flutter-plus-plugins | 5,029 | 5,029 | 0.60% |
| web3dart | 4,824 | 4,824 | 0.58% |
| nostr_tools | 2,631 | 1,533 | 0.32% |
| bitbox-flutter | 2,398 | 2,261 | 0.29% |
| ens_dart | 2,354 | 2,354 | 0.28% |
| flutter_local_authentication | 2,260 | 362 | 0.27% |
| ledger-flutter-plus | 2,016 | 2,016 | 0.24% |
| ledger-usb-plus | 1,701 | 1,085 | 0.20% |
| qr.flutter | 1,193 | 1,081 | 0.14% |
| trezor_connect | 1,155 | 1,061 | 0.14% |
| uni_links | 735 | 347 | 0.09% |
| bech32 | 647 | 647 | 0.08% |
| google-translator | 432 | 432 | 0.05% |
| sensitive_clipboard | 396 | 158 | 0.05% |
| cake_backup | 360 | 360 | 0.04% |
| 26 dependencies subtotal | 579,755 | 502,068 | 69.71% |
| Combined total | 831,615 | 746,659 | 100% |
“All source” includes Dart, native code, interface definitions, and build scripts. Bars show relative repository size.
RECURSIVE DEPENDENCY AUDIT
The graph extends beyond these 27 repos.
The 26 Cake Labs dependencies already include indirect dependencies. The broader Dart resolution and native build scripts bring in additional projects that are outside the line-count total above.
Already included through other dependencies
Of the original 26 repositories, 16 provide packages declared directly by the app, nine are reached indirectly, and google-translator is a direct development dependency. Examples verified in their package manifests:
cake_wallet → cw_bitcoin → sp_scanner → bitcoin_base → blockchain_utilscake_wallet → ledger_flutter_plus → universal_ble / ledger_usb_pluscake_wallet → ens_dart → web3dart
The nine indirectly referenced repositories
bech32, bitbox-flutter, bitcoin_base, ledger-flutter-plus-plugins, ledger-usb-plus, sp_scanner, universal_ble, web3dart, and zkool2.
Additional Cake Labs dependencies outside the measured total
| Repository | Dependency path and revision |
|---|---|
| rust-silentpayments | sp_scanner → rust-silentpaymentsRust manifest uses the floating master branch. No scanner Cargo lockfile pins its exact revision. |
| reown_flutter | cake_wallet build scripts → reown_flutterPreparation script pins 8a6d79e. Its packages appear as local paths in the Dart lockfile. |
| yttrium | reown_flutter → yttriumNative build script pins 740a251. |
Third-party and native layers
The 195 Git URLs were checked against GitHub repository identities: 15 redirect after renames or transfers, but none duplicate another entry.
The full Dart lockfile has 365 Git packages, 20 local-path packages, eight SDK packages, and three registry packages. The imported Cake package manifests directly name 90 external packages, resolving to 59 external Git repositories. These are overlapping views of the same dependency graph, so their counts should not be added together.
zkool2 has a separate Rust lockfile containing Git-sourced packages from nine external repositories and 872 crates.io package/version entries. That inventory includes optional, test, build, and platform dependencies; it is not a count of packages shipped in the app.
Native build scripts also fetch projects such as monero_c, whose submodules include Monero, Wownero, and Zano. The native dependency set varies by coin and platform.
On iOS, file_picker → DKImagePickerController → DKPhotoGallery → SDWebImage / SwiftyGif adds four native source repositories, as recorded in the wallet’s Podfile.lock. The audit also follows 23 distinct source repositories through the Monero and Zcash wrappers’ submodules; source checkout does not imply that all of their code is compiled into the wallet.
Based on the wallet lockfile, imported Cake package manifests, native manifests, and build scripts. External Dart package manifests were not all fetched recursively, and every native platform or optional feature was not resolved. 831,615 remains the total for the original 27 measured repositories, not the complete recursive dependency tree.
Download the 195-repository inventory ↓ · Download audit evidence ↓
SCOPE & METHOD
What the numbers mean.
These are full repository counts, including packages the wallet may not import. They describe the source trees, not the number of lines shipped in the app.
Download complete JSON data ↓Included
Source code, tests, example apps, checked-in generated code, build scripts, and word lists embedded in source files. Each source file recognized by cloc is counted, including duplicate files.
Excluded
Blank lines, comments, documentation directories, and text, configuration, and asset formats such as Markdown, JSON, YAML, XML, and SVG. Further dependencies outside these 27 repositories are not included.
Pinned and reproducible
Counted with cloc 2.10. The wallet revision is b88fbf3; dependency revisions come from its pubspec.lock. The Ledger plugins repository is counted once, with matching source for the imported packages.
Revision manifest · Detailed methodology · Per-file count results