GithubHelp home page GithubHelp logo

isabella232 / ethereum-authenticator-app-public Goto Github PK

View Code? Open in Web Editor NEW

This project forked from auth0/ethereum-authenticator-app-public

0.0 0.0 0.0 12.23 MB

Ethereum mobile authenticator app PoC

License: MIT License

JavaScript 17.51% CSS 79.45% HTML 3.03%

ethereum-authenticator-app-public's Introduction

Built with Grunt

Ethereum-mobile

Mobile app used as a Ethereum 2FA token.

Quick Start

Before you start, tools you will need

  • install npm
  • bower and gulp (run the following commands):
npm install -g bower
npm install -g gulp
  • install Android SDK (no need android studio)
https://developer.android.com/studio/index.html#downloads

Packages

Android SDK tools (v.25.2.2 or greater)
Android SDK platform-tools (v.24.0.4 or greater)
Android SDK build-tools (v.24.0.3 or greater)
Android 6.0 (API 23)
	- sdk platform
	- intel x86 atom 64 system image
	- google Apis intel x86 atom_64 System Image
	- Google APIs
Extras
	- Android support repository (v.38)
	- Google play services (v.33)
	- Google repository (v.36)
	- Intel x86 Emulator Accelerator (HAXM installer) (v. 6.0.4)
	- Google usb driver (v.11)
  • Add Platforms
cordova platform add android
cordova platform add browser
  • Create Mobile Emulator

    • open AVD MANAGER
    • click to create
    • fill the fields:
      • target (API 23)
      • CPU/ABI (Google APIs Intel Atom (x86_64))
      • Skin (Skin with dynamic hardware controls)
      • internal storage more than 1024mb or you can divide with in SDcard and internal storage (recommended total 2048M)
      • Ram (1024M)

Running auth0-login-mobile

Configure project:

npm install
bower install

Add generated ethereum-crypto's bundle.js file into the project:

  • generate bundle.js - consult ethereum-crypto/README.md for more details.

  • place generated file into the following folder: /www/js/modules/common

Run project

Run the application without emulation (ngCordova and push notifications do not work).

ionic serve

  • in diferent console execute

gulp watch

Run the appliction with emulator (ngCordova works).

ionic emulate android 
ionic emulate browser

If you want to live reload of js code or html code use this

ionic emulate android --livereload

If you want to live reload of scss you need to open in another console :

gulp watch

Build Project

In root Folder there are a file named google-services.json add this into /platforms/android to emulate or build in android (!important)

ionic build android
ionic build browser

the apk is in folder

/platforms/android/build/outputs/apk/android-debug.apk

ethereum-authenticator-app-public's People

Contributors

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