Kotlin Java Other
Clone or download
Latest commit 470fc1e Aug 3, 2018
Permalink
Failed to load latest commit information.
app fix(BIP38): AND-1312 Add Scrypt to :wallet to avoid NoClassDefFoundEr… Aug 1, 2018
balance refactor(ShapeShift): AND-1249 New abstract morph types for quotes an… Jul 30, 2018
buildSrc chore(Version Codes): AND-1317 Increment version codes for public rel… Aug 2, 2018
buysell fix(Refunds): AND-1308 Add refunded status and UI for Coinify (#1068) Jul 31, 2018
buysellui fix(Refunds): AND-1308 Add refunded status and UI for Coinify (#1068) Jul 31, 2018
core fix(ReplaySubject): AND-1306 Fix for issue where ReplaySubject was su… ( Jul 31, 2018
coreui fix(Refunds): AND-1308 Add refunded status and UI for Coinify (#1068) Jul 31, 2018
fastlane chore(Fastlane): AND-1220 Fix faulty path, as staging was left in acc… Jul 13, 2018
githooks chore(consistency): AND-1191 Locally enforced regex based githook for… Jul 6, 2018
gradle chore(consistency): AND-1191 Locally enforced regex based githook for… Jul 6, 2018
kyc feat(kyc): AND-1241 Feature flag and wallet options implementation of… Jul 26, 2018
kycdemoapp feat(kyc): AND-1234 New KYC module and demo/dev app Jul 24, 2018
morph refactor(ShapeShift): AND-1249 New abstract morph types for quotes an… Jul 30, 2018
quality refactor(ShapeShift): AND-1249 Move some general types to Morph (#1063) Jul 27, 2018
scripts chore(Remove flavour): AND-1197 Remove API level flavour dimension Jul 10, 2018
testutils refactor(Balance): AND-1216 Use BalanceReporter adapters and more use… Jul 16, 2018
wallet fix(BIP38): AND-1312 Add Scrypt to :wallet to avoid NoClassDefFoundEr… Aug 1, 2018
.coveralls.yml Token changes Sep 7, 2016
.editorconfig Adam/and 1180 (#984) Jul 6, 2018
.gitignore feat(Coinify): Fixes for edittext stuff May 23, 2018
Gemfile chore(Fastlane): Allow uploading builds to Crashlytics beta Dec 12, 2017
Gemfile.lock chore(Fastlane): Allow uploading builds to Crashlytics beta Dec 12, 2017
LICENSE Add AGPL 3.0 License Jun 19, 2018
README.md chore(consistency): AND-1191 Locally enforced regex based githook for… Jul 6, 2018
build.gradle chore(consistency): AND-1191 Locally enforced regex based githook for… Jul 6, 2018
circle.yml chore(CircleCI): Update config Jun 18, 2018
gradle.properties Adam/and 1180 (#984) Jul 6, 2018
gradlew chore(Gradle): Update to 4.0.1 Jul 14, 2017
gradlew.bat feature(Backup): New backup flow and designs, Gradle 3.1 Sep 22, 2016
settings.gradle refactor(ShapeShift): AND-1249 New modules for Morph abstraction of S… Jul 26, 2018

README.md

My-Wallet-V3-Android

CircleCI

Coverage Status

Next-generation HD (BIP32, BIP39, BIP44) bitcoin, ethereum and bitcoin cash wallet.

Getting started

Install Android Studio: https://developer.android.com/sdk/index.html

Import as Android Studio project.

Run the bootstrap script from terminal via scripts/bootstrap.sh. This will install the Google Java code style as well as the official Android Kotlin code style and remove any file header templates. The script may indicate that you need to restart Android Studio for it's changes to take effect.

Build -> Make Project

If there are build errors, in Android Studio go to Tools -> Android -> SDK Manager and install any available updates.

Contributions and Code Style

All new code must be in Kotlin. We are using the official Kotlin style guide, which can be applied in Android Studio via Preferences -> Editor -> Code Style -> Kotlin -> Set from -> Predefined style -> Kotlin Style Guide. It should be noted that this is not currently the default in Android Studio, so please configure this if you have recently reinstalled AS. Alternatively, simply run the bootstrap script and ktlint will configure your IDE for you.

All code must be tested if possible, and must pass CI. Therefore it must introduce no new Lint errors, and must pass Ktlint. Before committing any new Kotlin code I could recommend formatting your files in Android Studio with CMD + ALT + L and running ./gradlew ktlint locally. You can if you so wish run ./gradlew ktlintFormat which will fix any style violations. Be aware that this may need to be run twice to apply all fixes as of 0.20.

Commit message style

Use git change log style.

Where you have access to Jira, you should apply the git hooks with ./gradlew installGitHooks. This enforces the git change log style with Jira references.

Tests

Unit tests for the project can be run via scripts/ci_unit_tests.sh. This also generates coverage reports.

Security

Security issues can be reported to us in the following venues: