Skip to content

bitcoinvault/GoldWallet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoldWallet - A Bitcoin Vault mobile wallet

The first ever Bitcoin Vault wallet.

Playstore AppStore

Prerequisites

  • Node.js v.12.14.1 or greater is required
  • For Android:
    • version 8 of the Java SE Development Kit (JDK)
    • Android SDK
    • Android SDK Platform
    • Android Virtual Device
  • For iOS:
  • Supported devices:
    • iOS 14+
    • Android 8+

If you haven't launched any React Native projects before, you should check Setting up the development environment · React Native to set up your local development environment correctly.

Installation

$ git clone https://github.com/bitcoinvault/GoldWallet.git
$ cd GoldWallet
$ yarn install

To run iOS app you also need to install Swift project's dependencies:

$ cd ios
$ pod install

To build a binary of any variant, you must have sentry.properties files created in root, ./ios, and ./android. You can create them by executing create-sentry-properties.sh script with the valid Sentry Auth token:

$ SENTRY_AUTH_TOKEN=${TOKEN} bash ./create-sentry-properties.sh  

But to run the app with Metro server, this step isn't required.

Running the app

You can launch the Android app in two variants - prod and beta:

$ yarn run android:prod
$ yarn run android:beta

as well as iOS:

$ yarn run ios:prod
$ yarn run ios:beta

by default, the app runs in Debug type which means you must run React packager/server first

$ yarn start

Testing

To run unit and integration tests:

$ yarn run test

To run Detox (end-to-end) tests, please follow the Install platform-specific dependencies, tools and dev-kits guideline to make sure you have everything configured correctly. Especially the part about Android (AOSP) Emulators is important.

Build the app for Detox:

$ yarn build:detox -- -c ${CONFIGURATION}

Start react-native packager:

$ yarn start:detox

And then run the tests:

$ yarn test:detox -- -c ${CONFIGRURATION} 

Check .detoxrc.json file to see all available configurations

To control what tests should be executed use the Jest's -t flag:

$ yarn test:detox -- -c ${CONFIGRURATION} -t ${REGEX}

LICENSE

MIT

About

Bitcoin Vault wallet for iOS & Android.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 62.5%
  • JavaScript 36.6%
  • Java 0.5%
  • Objective-C 0.3%
  • Ruby 0.1%
  • Starlark 0.0%