Skip to content

Latest commit

 

History

History
53 lines (31 loc) · 1.67 KB

README.md

File metadata and controls

53 lines (31 loc) · 1.67 KB

BITCOIN WALLET

Welcome to Bitcoin Wallet, a standalone Bitcoin payment app for your Android device!

This project contains several sub-projects:

  • wallet: The Android app itself. This is probably what you're searching for.
  • market: App description and promo material for the Google Play app store.

PREREQUISITES FOR BUILDING

You'll need git, a Java 11 SDK and Gradle between 4.4 and 6.9.x for this. We'll assume Ubuntu 22.04 LTS (Jammy Jellyfish) for the package installs, which comes with OpenJDK 11 and Gradle 4.4.1 out of the box.

# first time only
sudo apt install git gradle openjdk-11-jdk

Create a directory for the Android SDK (e.g. android-sdk) and point the ANDROID_HOME variable to it.

Download the Android SDK Tools and unpack it to $ANDROID_HOME/.

Finally, the last preparative step is acquiring the source code. Again in your workspace, use:

# first time only
git clone -b main https://github.com/bitcoin-wallet/bitcoin-wallet.git bitcoin-wallet
cd bitcoin-wallet

BUILDING

You can build all sub-projects in all flavors at once using Gradle:

# each time
gradle clean build

For details about building the wallet see the specific README.

REPRODUCIBLE BUILD

Alternatively, you can build using buildah:

# each time
buildah build --cap-add sys_admin --device /dev/fuse --file build.Containerfile --output build/ .

Access to FUSE and the SYS_ADMIN capability are needed for mounting disorderfs in order to sort the directory entries of the project folder.

The unsigned APKs are written to the specified output directory.