project screenshot 1
project screenshot 2
project screenshot 3

FAN CLUB

Fan Club is a decentralized platform where fans can create, buy, and sell shares in fan clubs for teams like City, PSG, and ARS.

FAN CLUB

Created At

ETHOnline 2024

Project Description

FanClubFactory is a decentralized platform that enables sports fans to create, buy, and sell shares in fan clubs of their favorite teams, such as City, PSG, and ARS, all powered by blockchain technology. It allows users to directly engage with their chosen clubs by owning a stake, represented by shares in the club, which creates a dynamic and active community of shareholders.

How It Works: Fan Club Creation: Users can create a fan club dedicated to a specific team. Each fan club is represented by a unique name, description, and a team image hosted on IPFS (InterPlanetary File System) for secure and decentralized storage.

FanType Tokens: Each fan club is tied to an ERC20 token specific to the team, known as a FanType token (e.g., City tokens for a City fan club). Before creating or interacting with a fan club, users must own these tokens. They function as the currency of the fan clubs.

Token Burn Mechanism: To create a fan club, users must burn 10 FanType tokens as an entry requirement. This ensures that only serious and dedicated fans create clubs, limiting spam and promoting valuable engagement.

Shares System: Fan clubs operate a share-based model where users can buy and sell shares of the club. The price of shares follows a dynamic pricing formula, calculated as:

Share Price = Total Shares^2/400

As more shares are bought, the price increases exponentially, adding a scarcity effect to shares in popular fan clubs.

Buying and Selling Shares: Fans can purchase shares in their preferred fan club using FanType tokens. These shares give them ownership rights in the club. When fans want to sell their shares, they can do so and receive tokens back from the contract. The platform tracks every user’s ownership via an on-chain sharesOwned system, ensuring full transparency.

Shareholders: Each fan club has a list of shareholders—those who own at least one share. This list is public, allowing fans to see the full community of supporters for their favorite team.

How it's Made

Solidity (Smart Contracts):

FanClubFactory is primarily built using Solidity, a programming language for writing smart contracts on the Ethereum blockchain. The smart contract defines the logic for creating and managing fan clubs, handling token transactions, and managing shareholder information. React (Frontend):

The frontend of FanClubFactory is developed using React, a popular JavaScript library for building user interfaces. React helps create an interactive and responsive user experience for interacting with the blockchain. Web3.js / Ethers.js:

For integrating the React frontend with the Ethereum blockchain, we use Web3.js or Ethers.js. These libraries enable communication between the React application and the Ethereum network, allowing users to interact with the smart contract functions, such as creating fan clubs and buying/selling shares. IPFS (InterPlanetary File System):

IPFS is used for storing and retrieving fan club images. IPFS provides decentralized file storage, ensuring that images associated with fan clubs are immutable and accessible without relying on a centralized server.

background image mobile

Join the mailing list

Get the latest news and updates