Skip to content
A decentralized self sovereign identity solution developed by Jolocom.
Branch: develop
Clone or download
Latest commit 959aa6a May 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github default templates moved Dec 4, 2018
android bump version, ios geolocation unlinked May 15, 2019
ios bump version, ios geolocation unlinked May 15, 2019
src Fix status bar icon colours May 16, 2019
tests Update test snapshot May 16, 2019
.babelrc added custom fonts to ios, using ios/android extensions for style, ba… Jun 11, 2018
.eslintrc.js streamline app initialization May 8, 2019
.gitignore Add android keystore-file to .gitignore. Mar 22, 2019
.prettierrc.json Add prettier and ts-eslint recommended rules Apr 5, 2019
.travis.yml removed dependancy from travis tests Mar 13, 2019
CONTRIBUTING.md updated README Nov 24, 2017
LICENSE Updated LICENSE Jan 31, 2018
PRIVACY_POLICY.md updated privacy policy Feb 12, 2019
README.md Remove empty line. Mar 19, 2019
app.json streamline app initialization May 8, 2019
index.ts streamline app initialization May 8, 2019
package.json
tsconfig.json Updated the Credential Share screen Oct 15, 2018
webpack.haul.js streamline app initialization May 8, 2019
yarn.lock

README.md

Dependency StatusBuild Status

Jolocom SmartWallet - An application to manage your digital identity.

Interested in our vision? Take a look at our whitepaper

Gitter chat

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/

Installation

Prerequisites:

After cloning the smartwallet-app repository to a directory on your computer, enter the directory and run the following command:

yarn install

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 1.2.0 require Node.js v8.

Android

Please set up an android development environment and install the required SDKs. Set the path to the SDK in android/local.properties and export it to the environment variable ANDROID_HOME, if that was not already done.

Then:

# 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.

iOS

Please set up the appropriate XCode development environment.

Then:

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

Use yarn run to display all scripts, e.g. for cleaning.

Documentation

Additional documentation can be found at our wiki.

Copyright (C) 2014-2018 JOLOCOM GmbH

You can’t perform that action at this time.