#barcode #substrate #pallet #product #2d #system #scanner

no-std substrate-barcode-scanner-pallet

Substrate based 2D barcode scanner pallet

1 stable release

2.0.0 Dec 15, 2020

#45 in #barcode

Apache-2.0

10KB
171 lines

substrate-barcode-scanner-pallet

This substrate based pallet scans 2D barcode of the product which is tied to a Blockchain system.

This pallet is based on a Substrate-Pallet-Template.

What is Barcode Scanner?

Every popular brand has fake manufacturers selling a counterfeited item at cheaper rates. Even the company experts may not be able to distinguish between fake ones and real ones. What if the original manufacturer has embedded a 2D barcode on the product which is tied to a blockchain system. You can scan the 2D barcode using your smartphone, and your smartphone will tell you whether the product is fake or not.

For now, this pallet covers only two functionalities:

  1. Add a product in chain and associate with a barcode
  2. Verify a barcode

Dependencies

~6–15MB
~201K SLoC