A system that fairly distributes event tickets based on how big of a fan someone is. It:
Install Node.js 18+
nvm install 18
nvm use 18
Clone and install
git clone https://github.com/team-somehow/ticket
cd fan-score-protocol
npm install
Create .env
in the root directory:
TRUE_NETWORK_SECRET_KEY=your_key
FIREBASE_API_KEY=your_key
VITE_WC_PROJECT_ID=your_key
Start frontend
cd frontend
npm run dev
In a new terminal, start Firebase
cd web3-interactions
firebase emulators:start
// Calculate score based on:
Top artist ranking
Tracks in playlists
Following status
Genre overlap
// Automatic distribution based on:
Fan score threshold
Stake amount
Time of application
// Secure ticket trading with:
Score verification
Automated transfers
Price limits
That’s it! You’re ready to start building with Fan Score Protocol. 🎉