Blocktrail Mobile Wallet (Cordova iOS + Android App)
Take back control of your Bitcoin!
BlockTrail's Bitcoin wallet features unparalleled security through MultiSignature technology, keeping you in full control of your coins at all time.
Transactions are signed on your device so we never see your private keys.
With our HD wallets you can create an unlimited number of addresses to help protect your privacy without the need for multiple private key backups.
Our system will also generate new addresses for change and fund requests automatically.
Access your wallet anywhere, anytime; use the mobile app when you're on the go, or log in to the web-interface when at home or in the office.
For the Web Wallet see; https://github.com/blocktrail/blocktrail-webwallet
npm install -g npm # make sure npm is latest version
# engine_strict=false is required because cordova -> cordova-common -> plist -> [email protected]
# next version of plist will use [email protected] which will fix this isse
npm_config_engine_strict=false npm install -g [email protected] [email protected] gulp
npm install
git submodule update --init --recursive # for translations package
cp appconfig.example.json appconfig.json
gulp
ionic cordova run android|ios
Translations for both Web and Mobile Wallet are kept in: https://github.com/blocktrail/blocktrail-wallet-translations
And then submoduled into the projects.
Keep this in mind when adding / updating translations, don't forget to commit them to the translations repo.
It's okay to do PRs without bumping the translations submodule, we'll handle that before doing releases!
mv appconfig.json .appconfig.json
cp appconfig.prod.json appconfig.json
edit config.xml
and bump the version
run ionic cordova prepare
for the version update to take effect and git commit
any and all changes with "vX.Y.Z".
tag the release as well in git at this point.
push the source files to sentryIO, make sure to pass it the right versionnumber and do this on BOTH platforms!
node pushsentryio.js <Android|iOS> <VERSIONNUMBER>
mv appconfig.json .appconfig.json
cp appconfig.prod.json appconfig.json
rm -rf platforms/android/build/outputs/apk/* # clean up old builds
ionic cordova build android --release
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ~/keys/blocktrail.keystore /work/blocktrail-wallet/platforms/android/build/outputs/apk/android-release-unsigned.apk blocktrail
zipalign -v 4 /work/blocktrail-wallet/platforms/android/build/outputs/apk/android-release-unsigned.apk /work/blocktrail-wallet/platforms/android/build/outputs/apk/blocktrail.apk
mv .appconfig.json appconfig.json
mv appconfig.json .appconfig.json
cp appconfig.prod.json appconfig.json
ionic cordova prepare ios
In xCode:
Remember to remove the old signed, zipped APK before running zipalign, it doesn't overrite the file.
The Blocktrail Wallet source code is released under the GNU Affero General Public License.
The Blocktrail Logo and any other images / graphics are not part of this.
See LICENSE.md.