Notice: This is a legacy repository and is no longer being supported.
If you have any questions or concerns, please contact XYO Network at email@example.com. Please feel free to visit our ongoing projects at github.com/XYOracleNetwork. Thank you!
Geo User Client
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.
- Ionic Framework
- Download the repository
- Install npm modules:
- Install bower modules:
- Run via
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
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.