Recycling System using IOTA

The full article was originally published by Yehia Tarek on Medium. Read the full article here.

Hello everyone, In the last article I talked about the implementation of a database system using Tangle and IPFS. Today I am going to present a use case for my database. I will create a recycling system. The recycling industry faces a serious challenge, The quantities of recycled materials is inconsistent and hard to estimate. So we will use Blockchain to solve this problem.

Application Scenario

Consumer#A wants to recycle his laptop, smart-phone or watch… whatever. Consumer#A scans his consumed product using NFC on his smartphone and go to our smart Trash. Our smart trash scan the NFC tag and send Consumer#A some MIOTA as rewards for recycling.

How It works

Assume a laptop factory interested in recycling his laptop after consumption by the user.

1- Factory well send all his laptop data and IDs to our system to be saved on our system. (IDs will be the key to access each laptop)

2- All laptops will be saved with states like:’ not found, found by Consumer #a, Found at trash#B’

The database will look like this:

3- All laptops will have NFC tags to write the ID.

4-Now consumer will scan the laptop he wants to recycle. Once you scan the laptop an API call will set the consumer as the owner of the recycled laptop.

Scan product using your phone

5- Whenever the consumer puts his laptop to our trash he will earn tokens as rewards.

The smart Trash scan product and check its owner to give token.

API implementation

First, I will start with the API design it will look like this:

Read the full Article

The full article was originally published by Yehia Tarek on Medium, where people are continuing the conversation by highlighting and responding to this story.

You might also like

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More

Did you know?

Buy in without the stress of trying to time the market

when you setup a savings plan. If you haven’t started a plan yet, head to your Bitpanda account to get started!

Purchasing cryptocurrencies comes with a number of risks.
Never invest money that you can't afford to lose.

You can automatically invest

in IOTA with Bitpanda Savings!