Superfans
Decentralized platform for fans to support their favourite content creators
Created on 3rd September 2021
•
Superfans
Decentralized platform for fans to support their favourite content creators
The problem Superfans solves
Superfans
Superfans is a decentralized platform for people to support their favourite content creators. At present, users can support creators on the platform by paying them with stablecoins such as USDC and USDT. Fans who support creators, get fan tokens which are unique for each creator. Creators and Fans with token can better collaborate to create better content which is beneficial for both fans and creators.
Existing solutions
There are centralized platforms which try to solve this same problem. The problem with centralized platforms are the commission fee they take during the transactions. Youtube and patreon take about 30% and 5-12% commission respectively. Payments to the creators are also not instant. The platform can stop the service to a creator if they wish to.
Solution
Superfans tries to solve this problem by building on the decentralized infrastructure provided by Solana. Creators can create an account with their information that is stored on chain.
Creators can link their platforms where they create content to superfans for fans to identify them. Fans can directly send funds to the creators and get fan tokens of the particular creator. Creators can make exclusive content, giveaways or meetups to fans depending on the amount fan-tokens they hold.
How it works?
- Creator makes an Account on the Solana network using his/her wallet. The account contains the information about the creator.
- Users of the app can initiate a transaction to the Program on solana network.
- The program transfers funds from the user's wallet to the creator's wallet and mints fan-token and sends it to the user.
Challenges I ran into
Challenges faced
- Serialization and Deserialization of data to be stored in the account.
- Lack of code examples and developer blogposts.
Overcoming challenges
- Converted string to UTF-8 encoded byte array and added padding to have constant size irrespective of input data
- Read code from github repos of libraries eg: solana-program-library, spl-token, solana-escrow sample repo, etc
Technologies used