An app to interface with Nodes to generate Proof of Location signatures
Switch branches/tags
Nothing to show
Clone or download
maryannxy Update README.md
Legacy repo - no longer being supported.
Latest commit 4c816ed Nov 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
hooks
resources
scss
www
.bowerrc
.editorconfig
.gitignore
README.md
bower.json Initial commit Feb 17, 2018
bundle.js
config.xml
gulpfile.js
ionic.config.json
package.json

README.md

Notice: This is a legacy repository and is no longer being supported.

If you have any questions or concerns, please contact XYO Network at developer@xyo.network. Please feel free to visit our ongoing projects at github.com/XYOracleNetwork. Thank you!

Geo User Client

logo

The code for a Geo user client, allowing a user to interface with Nodes to generate a Proof of Location signature. Provides the option to either publicly broadcast the Proof of Location or store locally for later usage.

The app generates a unique Ethereum public / private key using Web3, which is then stored on the device. The public key is sent to the Geo Node when generating a Proof of Location.

Prerequisites

Installation

  1. Download the repository
  2. Install npm modules: npm install
  3. Install bower modules: bower install
  4. Run via ionic serve

Building

The Geo User Client uses Browserify to bundle Web3 into the controller. When making changes to controllers.js, run the following command to build the bundled file:

browserify www/js/controllers.js -o www/js/controller-bundle.js

To build for iOS:

ionic cordova build ios

To run on an iOS device (ensure XCode is installed):

ionic cordova run ios --device

Usage

Once the app is running, users may scan for nearby Geo Nodes. Once one is found, connecting will send the address of the device to the Node to generate a signature.