Jolocom SmartWallet - An application to manage your digital identity.
Interested in our vision? Take a look at our whitepaper
Setup for development
Setup requires Node.JS to be installed on your computer. If you do not have it please see: https://nodejs.org/en/download/
After cloning the smartwallet-app repository to a directory on your computer, enter the directory and run the following command:
Debug build on a device or simulator
Starting with version
1.2.0, the Jolocom SmartWallet requires
Node.js v10+ to build. Versions prior to
Please set up an android development environment and install the required SDKs.
Set the path to the SDK in
export it to the environment variable
ANDROID_HOME, if that was not already done.
# 1. Bundle app with haul and start development server. yarn bundle:android # 2a. Install and run app on a connected device or simulator in one go. Use a second shell for this. yarn install:android && yarn run:android # 2b. As alternative use: react-native run-android
In case you encounter connectivity errors to haul, restart it with the first command or start the app manually after haul.
Please set up the appropriate XCode development environment.
react-native run-ios --device yarn ios
The first command will run and install a debug build on an attached iOS device. A terminal window may pop up which starts a Metro Bundler, please stop this process. The second command will start the Haul bundler and serve the build on your device if both are running on the same network. If remote debugging is enabled, the debugger-ui will also be available here.
Testing and Cleaning
Testing uses Jest. The following script enables watch and testing coverage display as well.
yarn test --watch --coverage
yarn run to display all scripts, e.g. for cleaning.
Additional documentation can be found at our wiki.
Copyright (C) 2014-2018 JOLOCOM GmbH