Skip to content
This repository was archived by the owner on Jan 5, 2021. It is now read-only.

buzzer-re/Segments-Android

Repository files navigation

Segments App

Segments is react native app for a university project that envolve Nano Currency for payments using bluetooth as middleware, controlled by a ESP32.

The basic idea behind Segments is to make a prototype of a device that can be used in any place to store the core information that allow client order for some product directly from his app in different places, like a Coffe Shop, Restaurant etc, and pay instantly, removing the need to wait any queue!

Configure your Segments device(ESP32), using bluetooth 4.0(Bluetooth Low Energy) and start to pair and make your requests, everything is proccessed in Nano currency BlockLattice and confirmed in real time, with high security that envolve a cryptocoin.

All nano operations run on top of rai-wallet code used on https://nanowallet.io, and use only the Node to broadcast/retrieve the blocks. Every operation happen in YOUR APP, you have fully control over your money and keys.

Lean more about develop nano applications on their new platform Nano Developers

See the video of the usage or in the video folder.

Setup

You will need rn-nodify in order to compile your project propely. React native doesn't accept some nodejs libraries directly(like crypto or blakejs) this is a hack to use properly.

  npm i 

or

  yarn install

Then apply our hack

  rn-nodify --hack --install 

Make sure to link all native dependecies

  react-native link

Run the app

  react-native run-android

Make sure to setup your hardware before use all functions and the file uploader tool for images.

This was a university project, so i didn't have enough time to make everything nicer on code. you will probably find some nasty things in the source, be free to change!

About

Make payments using Bluetooth + Nano Cryptocurrency

Resources

License

Stars

6 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors