Skip to content
CAI
Software that uses CAICheck a score

Tactical-Advantage-Trading/wallet

39.7

Weak · 7 November 2026

16k

lines of production code

Scala

with Java

4

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Add Bitcoin protocol primitives and cryptographic utilities

The repository now includes core Bitcoin protocol implementation files, adding support for Bech32/Bech32m address encoding, block and transaction serialization, cryptographic operations (secp256k1, SHA256, RIPEMD160), deterministic wallet key derivation (BIP32), and script execution flags. This provides the foundational infrastructure for handling Bitcoin addresses, blocks, transactions, and keys within the application.

repository · high confidence

Add FlowLayout and FlowLayoutManager for flexible view arrangement

The app now includes a custom \FlowLayout\ ViewGroup and a \FlowLayoutManager\ for RecyclerViews, allowing child views to wrap automatically to the next line when space is exhausted. This new layout system supports horizontal and vertical orientations, configurable gravity, line weights, and margin handling, providing a flexible alternative to standard linear or grid layouts for arranging UI elements.

app/src/main/scala/org · high confidence

The app now includes a custom CarouselLayoutManager for RecyclerViews, enabling horizontal or vertical carousel-style scrolling with a centered item, optional circular layout, and configurable visible item counts. It also introduces NachoTextView, an editable text view that supports 'chipifying' text segments into styled, removable chips with auto-complete suggestions, customizable terminators, and validation. These components provide new UI capabilities for browsing content in a carousel format and entering multi-tag or multi-select text inputs.

app/src/main/scala/com · high confidence

Added common wire protocol codecs

The \CommonCodecs.scala\ file in the \fr.acinq.eclair.wire\ package has been introduced, providing a suite of serialization and deserialization utilities for the Lightning Network protocol. This includes codecs for variable-length integers (varints), text strings, binary data, cryptographic keys (private and public keys), transaction outpoints, full transactions, key paths, and extended private/public keys. These components form the foundational encoding layer required for constructing and parsing wire messages within the eclair node.

app/src/main/scala/fr/acinq/eclair/wire · high confidence

Initial implementation of core Bitcoin protocol primitives

The application now includes foundational Bitcoin data structures and encoding utilities in the \fr.acinq.bitcoin\ package. This adds support for Base58Check encoding and decoding (used for addresses and private keys), BIP39 mnemonic phrase generation and validation, lexicographical sorting of transaction inputs and outputs (BIP-69), and Merkle tree root computation. Additionally, the package provides helper functions for computing various address types (P2PKH, P2SH-of-P2WPKH, and native SegWit P2WPKH) and handles compact difficulty target encoding.

app/src/main/scala/fr/acinq/bitcoin · high confidence

Introduce Tactical Advantage (TA) wallet module with Bitcoin and eCash support

Adds a new \trading/tacticaladvantage\ module providing a standalone wallet experience for Bitcoin (BTC) and eCash (ECX). This includes a setup flow for creating or importing wallets via mnemonic phrases, a main interface displaying wallet cards with fiat and fee rates, and QR code generation for receiving funds. The implementation introduces a state machine for connection handling, integrates with Electrum for chain synchronization, and adds specific hard-fork enforcement logic for eCash (ECX) to handle bit disparities after a specified height. It also features an emergency crash-reporting activity and a barcode scanner utility for inputting wallet data.

app/src/main/scala/trading/tacticaladvantage · high confidence

Introduces SQLite-based local storage for the Tactical Advantage wallet

This change adds a new SQLite persistence layer for the Tactical Advantage module on Android, replacing or supplementing previous storage mechanisms. It introduces database tables for transactions, wallets, block headers, and generic data, along with the necessary Android-specific database helper and reactive streams to notify UI components of updates. The schema supports storing transaction details, wallet secrets, fee rates, fiat rates, and sidechain hashes, enabling the wallet to persist state locally and recover from reorganizations without freezing.

app/src/main/scala/trading/tacticaladvantage/sqlite · high confidence

Introduces dedicated fee and fiat rate providers for ECX alongside existing BTC support

The app now maintains separate fee and fiat rate data for both BTC and ECX networks. New utility classes (BtcFeeRates, EcxFeeRates, BtcFiatRates, EcxFiatRates) fetch and cache rates independently: BTC uses Esplora and BitGo for fees and CoinGecko or Blockchain.info for fiat, while ECX uses a dedicated Esplora instance for fees and a hardcoded fiat rate. This separation ensures that network-specific cost calculations and currency conversions are accurate for each chain.

app/src/main/scala/trading/tacticaladvantage/utils · high confidence

New UI assets and layout fragments for wallet setup, payments, and emergency handling

The app introduces a new visual layer for core user flows. A setup screen allows users to create or restore wallets, while an emergency activity provides a way to share error logs. Payment interactions are supported by new fragments for input conversion, fee estimation (including a slider for custom rates), and transaction confirmation. The transaction list now uses a dedicated payment line layout featuring logos for Bitcoin and eCash, status indicators, and a Stripe-style animation background for pending states. Additionally, QR code generation and sharing capabilities are added, along with specific drawable assets for icons, backgrounds, and network selection buttons.

app/src/main/res · high confidence

New utility package for cryptographic helpers and address validation

A new \package.scala\ file has been added to the \fr.acinq.eclair\ package, introducing core utility functions for the application. This includes secure random byte generation, constants for maximum MilliSatoshi values, and a robust \addressToPublicKeyScript\ function that validates and converts Bitcoin addresses (Base58 and Bech32) into public key scripts, ensuring they match the specified blockchain context (Mainnet, Testnet, or Regtest). Additionally, implicit classes and numeric instances for \MilliSatoshi\ and \Satoshi\ are provided to simplify arithmetic and type conversions within the codebase.

app/src/main/scala/fr/acinq/eclair · high confidence

Project initialization with Apache 2.0 license and Gradle wrapper

The repository has been initialized with an Apache License 2.0 (LICENSE.md) and a README describing the eWallet as a non-custodial ECX and BTC wallet for Android. The build system is set up using the Gradle wrapper (gradlew, gradlew.bat, and updated .gitignore), allowing users to build the release APK via ./gradlew assembleRelease. Legacy IDE module files (Wallet.iml) have been removed.

(repo-wide) · high confidence

Support for BIP32, BIP44, and BIP84 wallet derivation paths

The Electrum wallet integration now supports three distinct derivation standards: BIP32 (legacy), BIP44 (P2PKH), and BIP84 (Native SegWit). Users can select their preferred wallet type, which determines how private keys are derived from the master seed and how transactions are signed and formatted. BIP44 wallets generate standard P2PKH addresses, while BIP84 wallets use Native SegWit (P2WPKH) for lower fees and improved compatibility. BIP32 provides a basic legacy path. The system automatically handles the correct signing logic and address generation for each selected standard.

app/src/main/scala/fr/acinq/eclair/blockchain · high confidence

Removals

Removal of legacy Bitcoinj-based wallet core and UI

The app has removed the entire legacy wallet implementation located in \app/src/main/java/com/btcontract/wallet\, including the main entry points (\MainActivity\, \WalletActivity\, \TxsActivity\), the underlying \AbstractKit\ and \WalletApp\ infrastructure, and the associated QR scanning (\ScanActivity\) and coin-visualization logic. This deletion eliminates the old Bitcoinj-based architecture and its specific UI components, marking the end of support for this code path.

app/src/main/java · high confidence

Test coverage

Removed legacy ApplicationTest

The legacy \ApplicationTest\ class in the Android instrumentation test suite has been removed. This cleanup eliminates an outdated test file that is no longer part of the active testing strategy.

app/src/androidTest · high confidence

Dependencies

Gradle wrapper upgraded to version 9.6.0

The project's Gradle wrapper has been updated from version 2.2.1 to 9.6.0. This change ensures that builds are executed using the newer Gradle distribution, which may bring performance improvements, new features, and compatibility updates to the build process.

gradle · high confidence

Migrate to Gradle Kotlin DSL and modernize Android build configuration

The project has migrated from the legacy Groovy-based build scripts to the Gradle Kotlin DSL, introducing a version catalog (libs.versions.toml) to manage dependencies. This change updates the Android Gradle Plugin to version 9.4.0, raises the compile SDK to 37, and sets the Java compatibility level to 17. The dependency list has been refreshed with modern versions for libraries such as OkHttp (5.5.0), Web3j (6.0.0), and ZXing (4.3.0), while removing older artifacts like bitcoinj and jbox2d. Additionally, AndroidX is now enforced, and the build configuration enables non-transitive R classes and specific R8 rules to optimize the build.

(dependencies) · high confidence

Housekeeping

Initial project configuration and build setup

The app module is initialized with standard build configuration files. A ProGuard rules file is added to allow for code shrinking and obfuscation during release builds, while legacy IntelliJ IDEA module files and local SDK path configurations are removed to streamline the project structure.

app · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 40 → 40 (-0.4)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.

Lenses

  • Code Health 70 → 70 (+0.0)
  • Architecture 91 → 90 (-1.4)
  • Maturity 45 → 45 (+0.1)
  • Readiness 20 → 17 (-2.3)
  • Security 63 → 63 (+0.0)
  • Performance 80 → 100 (+20.0)

Resolved (173)

  • Documentation: no contributor guidance (README.md)
  • Hotspot: app/src/main/scala/trading/tacticaladvantage/utils/WalletEventsCatcher.scala (app/src/main/scala/trading/tacticaladvantage/utils/WalletEventsCatcher.scala)
  • Outdated (compile): com.chuusai:shapeless_2.11
  • Outdated (compile): com.eed3si9n:shaded-jawn-parser_2.13
  • Outdated (compile): com.eed3si9n:sjson-new-core_2.13
  • Outdated (compile): com.eed3si9n:sjson-new-scalajson_2.13
  • Outdated (compile): com.fasterxml.jackson.core:jackson-annotations
  • Outdated (compile): com.fasterxml.jackson.core:jackson-core
  • Outdated (compile): com.fasterxml.jackson:jackson-bom
  • Outdated (compile): com.github.jnr:jffi
  • Outdated (compile): com.github.jnr:jnr-constants
  • Outdated (compile): com.github.jnr:jnr-enxio
  • Outdated (compile): com.github.jnr:jnr-ffi
  • Outdated (compile): com.github.jnr:jnr-posix
  • Outdated (compile): com.github.jnr:jnr-unixsocket
  • Outdated (compile): com.google.code.gson:gson
  • Outdated (compile): com.google.errorprone:error_prone_annotations
  • Outdated (compile): com.google.guava:failureaccess
  • Outdated (compile): com.google.guava:guava
  • Outdated (compile): com.google.j2objc:j2objc-annotations
  • …and 153 more

New (2)

  • Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
  • Projects may be oversized for their cohesion

Changes since last survey

  • 7 commits — 4 feature/other, 3 fixes

By area

  • app/src — 7 commits

Notable commits

  • fix: Enable minify + UI fixes
  • fix: RBF tx forgery bugfix Verify wallet input signatures in computeTxDelta, identify parent inputs either by key or index if key is missing (e.g. was removed/changed by an attacker in a forged tx).
  • fix: minor UI fix
  • change: Add real ECX price feed
  • change: ECX mainnet
  • change: Minor edits
  • change: Show ECX price along with BTC

Architecture

  • Unchanged — 0 containers · 1 contexts · 0 edges

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

Tactical-Advantage-Trading/wallet was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 7 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit f868f7772fd7664cb6a0362eff93791897a3c0fc — the exact code this score is about.
  • Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-5f8314471808.