CODE SIZE REPORTSNAPSHOT / 22 SEP 2026

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

Wallet 30.3%Dependencies 69.7%
Main wallet251,860Source lines in cake_wallet
26 dependencies579,755Source lines across their full repos
Dart throughout746,65989.8% of the combined source count

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.

Source lines, Dart lines, and share of total for the wallet and all 26 dependencies
RepositoryAll sourceDart only
cake_wallet 251,860244,591
blockchain_utils 243,565242,446
on_chain 87,47586,338
zkool2 84,37741,915
polyseed_dart 42,63442,634
universal_ble 26,7529,628
trezor-flutter 22,31620,439
bitcoin_base 14,98613,849
modal_bottom_sheet 12,59712,268
flutter_file_picker 6,0303,061
sp_scanner 5,5184,367
flutter_secure_storage 5,3741,573
ledger-flutter-plus-plugins 5,0295,029
web3dart 4,8244,824
nostr_tools 2,6311,533
bitbox-flutter 2,3982,261
ens_dart 2,3542,354
flutter_local_authentication 2,260362
ledger-flutter-plus 2,0162,016
ledger-usb-plus 1,7011,085
qr.flutter 1,1931,081
trezor_connect 1,1551,061
uni_links 735347
bech32 647647
google-translator 432432
sensitive_clipboard 396158
cake_backup 360360
26 dependencies subtotal579,755502,068
Combined total831,615746,659

“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.

Dart lockfile packages396Runtime packages and development tools
Distinct Git repositories19526 Cake Labs + 169 external repos
More Cake Labs repos found3In native and script-managed dependencies

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_utils
  • cake_wallet → ledger_flutter_plus → universal_ble / ledger_usb_plus
  • cake_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

Additional Cake Labs repositories found through native manifests and build scripts
RepositoryDependency path and revision
rust-silentpaymentssp_scanner → rust-silentpayments
Rust manifest uses the floating master branch. No scanner Cargo lockfile pins its exact revision.
reown_fluttercake_wallet build scripts → reown_flutter
Preparation script pins 8a6d79e. Its packages appear as local paths in the Dart lockfile.
yttriumreown_flutter → yttrium
Native 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.

Scope of this audit

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