Coder Social home page Coder Social logo

amb3rlight / smartwallet-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jolocom/smartwallet-app

0.0 0.0 0.0 49.99 MB

A decentralized self sovereign identity solution developed by Jolocom.

Home Page: https://jolocom.io

License: Other

JavaScript 7.14% TypeScript 87.88% Java 0.83% Objective-C 0.69% Ruby 2.99% Starlark 0.35% Shell 0.13%

smartwallet-app's Introduction

Dependency StatusBuild Status

Jolocom SmartWallet - An application to manage your digital identity.

Interested in our vision? Take a look at our whitepaper

Gitter chat

Prerequisites

  • Set-up requires Node.js to be installed on your computer.
    • Starting with version 1.2.0 of the Jolocom SmartWallet, Node.js v10+ is required to build the project. Versions prior to 1.2.0 require Node.js v8.
  • We use Yarn as our package manager.

Installation

  1. Clone the smartwallet-app repository to your computer.
  2. cd into the directory and run yarn or yarn install from your terminal to install the required packages.

Running a debug version for development

Android

  • Please set up an Android development environment and install the required SDKs.
    • The Getting Started guide for React Native may come in handy.
    • Look for the instructions under React Native CLI Quickstart.
  • Connect an Android device and enable USB debugging OR start an Android AVD emulator
  • Run yarn run:android to install the application and run it.
    • NOTE: this will start a metro bundler server automatically, with stdout/stderr discarded. You can close this and run yarn start to manually start the bundler and receive more detailed output.

iOS

  • Please set up an appropriate Xcode development environment.
    • The Getting Started guide for React Native may come in handy.
    • Look for the instructions under React Native CLI Quickstart.
  • Run yarn build:ios to assemble the application bundle.
  • Run yarn run:ios to install and run the application in an emulator.
    • This will default to an iPhone X emulator.
    • The device can be specified by adding --simulator and the device name.
      • e.g. yarn run:ios --simulator "iPhone SE"
    • NOTE: this will start a metro bundler server automatically, with stdout/stderr discarded. You can close this and run yarn start to manually start the bundler and receive more detailed output.

A debug build can also be built through Xcode.

Running a build on a physical device requires the appropriate code signing certificates.

Testing

We use Jest for unit tests, and detox + Jest for end-to-end tests.

To run unit tests, with watch and testing coverage display enabled:

yarn test --watch --coverage

To run e2e tests, first make sure to start a bundling server using yarn start

To run e2e tests on device:

yarn e2e:android

To run e2e tests on emulator/simulator:

yarn e2e:android:emu
yarn e2e:ios:sim

Code Style and Formatting

  • We use ESLint and Prettier to keep a consistent style across the codebase.
    • There are plugins available for a range of IDEs and text editors; automatic formatting on save is also supported in some editors.
  • yarn format will format files automatically as much as possible.

Copyright (C) 2014-2019 JOLOCOM GmbH

smartwallet-app's People

Contributors

axelchalon avatar charleenfei avatar chunningham avatar clauxx avatar cyphergothic avatar dcooksey avatar dependabot[bot] avatar deskagebunshin avatar exulansis avatar fgro avatar flixow avatar hamedsaidi avatar isbl16 avatar joachim16 avatar jolocom-dev avatar katszwn avatar mnzaki avatar nataschaberg avatar pagebakers avatar palinka avatar pkourouklidis avatar rawild avatar reederz avatar saifahn avatar shishkabab avatar tobiaswermuth avatar volkerschiewe avatar xmxanuel 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.