Skip to content

Owen621/hacksheffield10

Repository files navigation

hacksheffield10

WARDROBE ODYSSEY

Track every clothing item's journey with on-chain stamps and earn loyalty points

  • Upload clothing
  • Get an NFT "Item passport"
  • Each interaction adds a "journey stamp" (on-chain memo tx)
  • Users earn SPL loyalty tokens for engagement
  • Retailers can plug in later for rewards etc

How to get it running: Prerequisites

  • Python 3.10+
  • Node.js (for minting and token scripts)
  • PostgreSQL or SQLite (for local development)

pip install -r requirements.txt

cd backend/static/js npm install

python app.py

You will need to install phantom on web store to use most functionality:

  1. Install phantom and create account
  2. Go to settings then developer settings and switch sol to devnet
  3. You can fund your wallet at https://faucet.solana.com/ although you won't need to for most functionality
  4. Simply press connect wallet and authenticate the connect

Visit a solana explorer on devnet to view transactions live on chain! Example token account for loyalty tokens on one of my wallets: https://explorer.solana.com/address/FqzcLKPXNEk5859nJUNkH2BLRi37pbV94yuf6gEBwhAS?cluster=devnet

image image image image image image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors