DEV Community

Cover image for Trashcoin - Your Trash for Cash
daraxdray
daraxdray

Posted on

Trashcoin - Your Trash for Cash

This is a submission for the Build Better on Stellar: Smart Contract Challenge : Build a dApp

What I Built

TrashCoin, a gamified recycling dApp on the Stellar network that incentivizes users to recycle and contribute to a cleaner environment. Users earn Trashcoin (TRASH) for verified recycling activities, compete on leaderboards, and potentially earn rewards from partnered businesses.

At Trashcoin, Our mission is to create a global waste recycling system that benefits the planet and the people. Our Vision is to ensure waste is reduced to the barest minimum by Leveraging technology to create a circular economy while lifting communities out of poverty

TRASHCOIN is a digital recycling technology that improves citizen engagement in recycling, to drive operational efficiencies and increase transparency in the supply chain. With our DApp, Users can search for the closest recycling or collection station/hub, take their waste to them, and get paid. Users have the option to exchange their earnings for cash, for mobile Airtime/Data, pay for electricity and Cable TV subscriptions, or pay for University Entrance examination fees like JAMB and WAEC fees.

Recycling companies can register their business locations on our web platform and be seen by users who live nearby.

Demo

Prototype: https://www.figma.com/proto/NcmD6EhA3Rlfhlay8n4XpO/Stellar-Challenge%2FTrashcoin-Blockchain?page-id=132%3A505&node-id=275-2289&viewport=-11150%2C-1073%2C0.28&t=UaefdHClXRId5bVe-1&scaling=scale-down&content-scaling=fixed&starting-point-node-id=275%3A2289

Figma File
https://www.figma.com/design/NcmD6EhA3Rlfhlay8n4XpO/Stellar-Challenge%2FTrashcoin-Blockchain?node-id=132-505&t=506RLq1D3d78DUrS-1

Journey

Journey
In Nigeria, there are no proper Waste Management Systems and waste from people’s home usually look like this:

Image description

When it rains, the streets looks like above, clogged drainages that breeds mosquitoes, which causes malaria and kills more people than HIV.

So, we are left at the mercy of the local waste collectors, but with them we have to wait for so long and pay heavily for our waste to be taken out.

We were inspired to create TrashCoin to address the growing issue of waste management in Nigeria and promote environmentally friendly practices. Leveraging the power of Stellar smart contracts and gamification elements,

TrashCoin aims to:

  • Motivate Recycling: Users earn TRASH for verified recycling, creating a direct incentive to recycle more.
  • Increase Engagement: Gamification through leaderboards and potential rewards from partnered businesses keeps users motivated.
  • Transparency and Trust: The Stellar blockchain ensures a transparent and immutable record of all recycling activity.
  • Expand the Ecosystem: Partnering with waste management companies and NGOs can incentivize large-scale recycling initiatives.
    Smart Contract Integration:
    We designed a smart contract to manage core functionalities:

  • Barcode Verification: The contract validates scanned barcodes against a database of recyclable items.

  • TRASH Reward System: The contract securely awards TRASH tokens to user wallets based on successful verification.

  • Leaderboard Management: (Optional) The contract can maintain leaderboard data, reflecting users' recycling activity.

  • Certificate Generation as a reward for eliminating carbon footprint.

Challenges and Learnings:
Building a dApp involved learning about Stellar smart contracts, integrating with barcode scanning libraries (for mobile apps), and designing engaging game mechanics. While this project is a prototype, it demonstrates the potential of blockchain technology to create positive environmental impact.

Super Sustainable Impact:
Encourages responsible waste management by rewarding recycling efforts.
Creates a transparent and immutable record of recycling activity on the blockchain.
Potential to partner with waste management companies or NGOs to incentivize large-scale recycling initiatives.

Additional Prize Categories: Glorious Game and/or Super Sustainable
Glorious Game and Super Sustainable Categories
This submission is intended for the Super Sustainable Prize Category. TrashCoin directly promotes real-world positive impact by encouraging recycling and creating a transparent record of recycling activity on the blockchain.

  • Tokenization of Recyclables:
    Process: Implement a token system where each plastic bottle recycled is recorded on the blockchain as a unique token. Users receive these tokens, which can be exchanged for rewards like cash, airtime, data, or fees.
    Benefit: Ensures transparent and immutable records of every transaction, preventing fraud and ensuring users are properly rewarded for their contributions.

  • Smart Contracts for Transactions:
    Process: Use smart contracts to automate payments to users, collectors, and recycling companies when certain conditions are met (e.g., verification of bottle collection).
    Benefit: Increases efficiency and reduces the need for intermediaries, ensuring prompt and secure payments.

  • Supply Chain Transparency:
    Process: Track the journey of plastic bottles from collection points to recycling facilities using blockchain. Each step can be logged on the blockchain, creating a transparent supply chain.
    Benefit: Provides real-time visibility and accountability in the recycling process, building trust among stakeholders.

  • Decentralized Identity Management:
    Process: Create decentralized identities for users, collectors, and recycling companies. These identities can be used to verify and authenticate transactions on the platform.
    Benefit: Enhances security and privacy for all participants, reducing the risk of identity theft and fraud.

@phebe
@bigeliot
@davmatics
@osuosiv
@yebo_gana_c81a041d4304243

Top comments (16)

Collapse
 
adepauldami profile image
Adeyemi Paul Damilola

amazing 😍

Collapse
 
daraxdray profile image
daraxdray

Thank you Paul,

Collapse
 
gr1ll profile image
Cyril Kurmann

The idea is very good! Is the platform fully decentralized, or do you still use a backend along with the smart contracts? I’m curious to know how you approached this!

Collapse
 
daraxdray profile image
daraxdray

We still use backend along with the smart contract. Because we've had manual operations for sometime.

Collapse
 
emmaumeh profile image
Emmanuel Umeh

This is a massive innovation, I can't wait to see the success growth of Trashcoin, nice innovation @daraxdray

Collapse
 
daraxdray profile image
daraxdray

Thank you Emmanuel.

Collapse
 
buzzpy profile image
Buzzpy 💡

This is really thoughtful, @daraxdray ! Best of luck!

Collapse
 
daraxdray profile image
daraxdray

Thank you. Really appreciate.

Collapse
 
martinbaun profile image
Martin Baun

When you're really in the zone. Great innovation!

Collapse
 
mujeeb_hammed_2b2d6c0d776 profile image
Mujeeb Hammed

The future is here. What an innovative idea and solution. Earn while you help solve a significant global problem. Thanks TRASHCOIN!!!

Collapse
 
daraxdray profile image
daraxdray

Thank you greatly Mujeeb,

Collapse
 
osuosiv profile image
Osuosiv Loveday

Trashcoin is revolutionising the waste collection and management system in Africa.

Collapse
 
shayee profile image
David Oladunjoye • Edited

This is an intentional innovative project that would foster massive positive change on waste management in Africa... I'm rooting for your success on this project @daraxdray

Collapse
 
daraxdray profile image
daraxdray

Thank you David, its a win for all....

Collapse
 
david_nsimon_9722bad7c14 profile image
DAVID N SIMON

It’s going to be an awesome project that will help in keeping a good environment

Collapse
 
daraxdray profile image
daraxdray

Thank you David, greatly appreciate.