Giter Site home page Giter Site logo

chenhbzl / blocktrail-wallet Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blocktrail/blocktrail-wallet

0.0 2.0 0.0 193.93 MB

Blocktrail Mobile Wallet (Cordova iOS + Android App)

Home Page: https://www.blocktrail.com

License: GNU Affero General Public License v3.0

JavaScript 42.90% Batchfile 0.07% Java 7.39% CSS 2.65% HTML 1.16% Objective-C 5.61% C 24.99% Objective-C++ 0.18% C++ 4.45% Shell 0.12% C# 10.37% TypeScript 0.06% QML 0.02% CoffeeScript 0.04% PowerShell 0.01% Ruby 0.01% Makefile 0.01%

blocktrail-wallet's Introduction

Blocktrail Mobile Wallet

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.

  • 2-of-3 Multisig technology so you always remain in control of your coins
  • HD wallet technology allowing you to create an unlimited number of addresses
  • Send and Receive bitcoin easily with contacts on your phone
  • Live update for new transactions and your balance
  • View your full transaction history with the price at the time of the transaction
  • Personalise your account so your friends can quickly identify you
  • QR code scanning with bitcoin URI support
  • Send requests via email and SMS
  • PIN protection
  • Anonymous accounts, for your privacy
  • Transactions signed locally on your device
  • Backup document incase the worst happens
  • Local currency display using live price updates

Web Wallet

For the Web Wallet see; https://github.com/blocktrail/blocktrail-webwallet

Install

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

Run

ionic run android|ios

Translations

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!

Release Process

Use production config

mv appconfig.json .appconfig.json
cp appconfig.prod.json appconfig.json

Bump Version

edit config.xml and bump the version

Ionic prepare

run ionic 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 to SentryIO

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>

Android

mv appconfig.json .appconfig.json
cp appconfig.prod.json appconfig.json

rm -rf platforms/android/build/outputs/apk/* # clean up old builds

ionic 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

iOS

mv appconfig.json .appconfig.json
cp appconfig.prod.json appconfig.json

ionic prepare ios

In xCode:

  • Select "Generic iOS Device" as build target (instead of emulator or connected phone)
  • Product > Archive
  • Select the newest build in the Archives window and choose "Upload to App Store"
  • Follow steps ...

tips

Remember to remove the old signed, zipped APK before running zipalign, it doesn't overrite the file.

License

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.

blocktrail-wallet's People

Contributors

afk11 avatar jjz avatar kirvx avatar lacksfish avatar oacdesigns avatar raymens avatar romaroid avatar rubensayshi avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.