stack_wallet/README.md
sneurlax 41eacf4a4c Document prebuild script use
Put prebuild script before either platform plugin section so future prebuild tasks can be handled here
2022-10-03 21:33:52 -05:00

3 KiB

codecov

Stack Wallet

Stack Wallet is a fully open source cryptocurrency wallet. With an easy to use user interface and quick and speedy transactions, this wallet is ideal for anyone no matter how much they know about the cryptocurrency space. The app is actively maintained to provide new user friendly features.

Playstore

Feature List

Highlights include:

  • 5 Different cryptocurrencies
  • All private keys and seeds stay on device and are never shared.
  • Easy backup and restore feature to save all the information that's important to you.
  • Trading cryptocurrencies through our partners.
  • Custom address book
  • Favorite wallets with fast syncing
  • Custom Nodes.
  • Open source software.

Build and run

Prerequisites

After that download the project and init the submodules

git clone https://github.com/cypherstack/stack_wallet.git
cd stack_wallet
git submodule update --init --recursive

You will need to install all dependencies listed in each of the plugins in the crypto_plugins folder. (eg. Monero, Epic Cash ) as of Sep 8th 2022 that is:

Install Rust

cargo install cargo-ndk
rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android

sudo apt install libc6-dev-i386
sudo apt install build-essential cmake git libgit2-dev clang libncurses5-dev libncursesw5-dev zlib1g-dev pkg-config llvm 
sudo apt install build-essential debhelper cmake libclang-dev libncurses5-dev clang libncursesw5-dev cargo rustc opencl-headers libssl-dev pkg-config ocl-icd-opencl-dev
sudo apt install unzip automake build-essential file pkg-config git python libtool libtinfo5 cmake openjdk-8-jre-headless

Run prebuild script

cd scripts
./prebuild.sh
// when finished go back to the root directory
cd ..

Building plugins for Android

cd scripts/android/
./build_all.sh
// when finished go back to the root directory
cd ../..

Building plugins for testing on Linux

cd scripts/linux/
./build_all.sh
// when finished go back to the root directory
cd ../..

Finally, plug in your android device or use the emulator available via Android Studio and then run the following commands:

flutter pub get
flutter run

Note on Emulators: Only x86_64 emulators are supported, x86 emulators will not work