Inspiration
The main task is the fight against counterfeiting
How we built it
- We drew concept UI on paper, and after discuss redraw it in Figma.
- We developed smartphone app for iPhone (Swift) and smart contract (Solidity)in parallel.
- For developing and testing smartphone app we created backend service (node.js) which replied on any query by JSON with constant data, without blockchain communication.
- And when smart contract was done and tested, then we redesigned backend.
Challenges we ran into
- Selection of idea.
- How to build good Web3 application.
Accomplishments that we're proud of
- First time MVP creation.
- First time participating in a hackathon.
What we learned
- How to build project with ChainlLink and Blockchain.
Why we use ChainLink VRF for QR number
We used VRF to generate a product ID which is packed into a QR (although we are aware that this random number can be repeated and can be not unique). But if we use a regular i++ iterator for QR, then a Fake producer will be able to predict ID and produce a batch of counterfeit goods with the correct ID in advance. And if the User scans it, then something will be found in the database. But if we use random numbers, then it's impossible to predict such a number and the application is more likely to alert User that there is no such a product and it can be Fake.
What's next for Product Tracking
- Add processing of the condition "if this random number has already been used"
- Automatically generate QR code and save it on IPFS/Filecoin.
- Modify Login methods to smartphone application.
- Create site for managing of database of types of production and users rights.
Log in or sign up for Devpost to join the conversation.