A Wallet for Everyone
Lead Maintainer: Lúcio Rubens
ARK’s mobile wallet is a hybrid application (using the same codebase for Android and iOS which helps with coordinated development).
Download and install Node.js.
Then follow the steps below:
npm install -g @ionic/cli cordova
npm install -g cordova-res native-run
npm install
ionic cordova prepare
Download and install Xcode.
Then make sure the command-line tools are selected for use:
xcode-select --install
And you need to install some utilities:
npm install -g ios-sim
npm install -g ios-deploy
Download and install:
Then install Android SDK (API 28) on Android Studio and configure the environment variables (ANDROID_SDK_ROOT
).
Debug in device:
npm run debug:ios
npm run debug:android
Debug in browser (without Cordova plugins):
npm start
Run the command to create a build for the specific platform:
npm run build:ios
npm run build:android
- Download the
Development
andDistribution
certificates in Apple's member center - Open Xcode and import the workspace file in
/platforms/ios
- Check the
Signing and Capabilities
tab to ensure that theProvisioning Profile
is set correctly - Go to
Product
>Archive
in menu. - Proceed in
Distribute App
wizard. App Store Connect
>Upload
. Then it will be listed on iTunes ConnectApp Store Connect
>Export
to create the.ipa
file
- Open the output directory
cd platforms/android/build/outputs/apk
- Generate a private key to sign the APK (skip this if you already have one):
keytool -genkey -v -keystore release-key.keystore -alias ark -keyalg RSA -keysize 2048 -validity 10000
- Sign the unsigned APK:
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore ./release-key.keystore app-release-unsigned.apk mobile-app
- Optimize the APK:
zipalign -v 4 app-release-unsigned.apk AppRelease.apk
- Open the Google Play Store Developer Console and upload the
AppRelease.apk
npm test
- If you find any bugs, submit an issue or open pull-request, helping us catch and fix them.
- Engage with other users and developers on ARK Slack.
- Contribution bounties.
- Help translate.
If you discover a security vulnerability within this package, please send an e-mail to security@ark.io. All security vulnerabilities will be promptly addressed.
This project exists thanks to all the people who contribute.
MIT © ARK Ecosystem