This repository contains the source code for the FlutterApp described at this Medium article.
It uses IOTA MAM for supply chain documentation. The data of the supply chain is stored in the IOTA tangle. Metadata (MAM roots) are exchanged between participants using QR codes. While the scope of the app itself is focused on the transfer of ownership, it also contains functions to generate test-data.
The app is separated into the following parts
-
appState
the global state of the app -
screens
andwidgets
the UI -
MamHandler
publishing / fetching MAM-messages using the MAM Client JS Library -
messages
MAM-messages used by the app -
trytes
encoding / decoding for the tryte-representation used by MAM and IOTA in general -
controllers
algorithms for the "sell" and "buy" sides of a transfer of ownership
The App was developed using Android Studio (with Flutter plugin). It was tested on Android devices using USB debugging for installation.