Skip to content

SneakersAgencyLLC/wallet-android

 
 

Repository files navigation

Tari Android mobile wallet

Build instructions

This wallet requires the rust wallet library to be placed in the jniLibs folder for the architecture you are targeting.

32-bit versions of the library are included in the git source tree, but they are probably out of date and, well, for 32-bit systems.

To get 64-bit versions of the libraries, download the relevant archive (and hash checksum file) from the Tari website, into the jniLibs folder and extract them:

.../jniLibs $ tar -xzvf arch.tar.gz

You should verify the binaries against their hashes:

.../jniLibs $ sha256sum -c hashes.txt

wallet.h: OK
    arm64-v8a/libsqlite3.a: OK
    arm64-v8a/libwallet_ffi.a: OK
    arm64-v8a/libzmq.a: OK
    armeabi-v7a/libsqlite3.a: OK
    armeabi-v7a/libwallet_ffi.a: OK
    armeabi-v7a/libzmq.a: OK
    x86/libsqlite3.a: OK
    x86/libwallet_ffi.a: OK
    x86/libzmq.a: OK
    x86_64/libsqlite3.a: OK
    x86_64/libwallet_ffi.a: OK
    x86_64/libzmq.a: OK

Tracking private builds

To build and install a build that does not contain Matomo events tracking, Sentry crash reporting and backend app interaction for iOS push notifications support and initial Tari enrollment, then, assuming that:

  • the terminal's current working directory is the project's root;
  • at least Java 8 is installed on the build machine;
  • Tari native libraries are present in the working directory. Run ./gradlew -PbinariesVersion=?.?.? jniBinaries with the latest version provided instead of ?.?.? (it is available on this page) to fetch them;
  • Install via USB option is being enabled through the device's Developer options settings (you can consult your vendor's documentation or just simply search for it with any search engine);
  • your phone is connected to the build machine via USB;
  • keystore for application signing is created and Gradle's signing config is bound to this keystore (the details can be found in app/build.gradle - just follow SIGNING: marks);

type the following: ./gradlew assemblePrivacyRelease installPrivacyRelease. A release private build should be installed to your device afterwards.

About

The Tari Wallet application for Android

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 90.5%
  • C++ 9.4%
  • CMake 0.1%