Ark_Vend
Proof of Concept Project -work in progress.
This projects illustrates a vending machine that accepts Ark Cryptocurrency for payment. Basic program flow is working. It approximates the basic features of ArkPay.
Program Features: This program has been tested with ESP32 Adafruit Huzzah however it should also work with ESP8266 modules with minor changes to hardware connections and wifi libraries. This sketch will use the ARK Cpp-Client API to interact with an Ark V2 Devnet node. Ark Cpp Client available from Ark Ecosystem info@ark.io Ark API documentation: https://docs.ark.io/sdk/clients/usage.html
Electronic Hardware Peripherals: Adafruit TFT FeatherWing 2.4" 320x240 Touchscreen
https://youtu.be/sEvz3_K8FPU
Description of the current program flow.
-status/debug info is also regularly sent to serial terminal
- configure peripherals -setup wifi and display connection status and IP address on TFT Screen -setup time sync with NTP server and display current time -check to see if Ark node is synced and display status
- search through all received transactions on wallet. Wallet address is displayed -"searching wallet + page#" will be displayed. text will toggle between red/white every received transaction
- number of transactions in wallet will be displayed
- home screen displayed with option to select 3 products (only first product does something right now)
- select "M&Ms" and QRcode will be displayed. Timer will start
- If timer expires then transaction is cancelled and home screen is displayed
- If payment is received then it will display the received vendor field and display success
- Go back to step 4