Blockwave
Blockwave lets you connect through posts, host events, sell tickets, set NFT profile pics, underhood it uses ERC-721 and ERC-1155 contracts with a backend to store user posts, likes & more
Created on 14th May 2023
•
Blockwave
Blockwave lets you connect through posts, host events, sell tickets, set NFT profile pics, underhood it uses ERC-721 and ERC-1155 contracts with a backend to store user posts, likes & more
The problem Blockwave solves
It makes authentication much easier on a social media website, user does not need to remember their email login or have OAuth. User can login with their metamask wallets in a secure manner. They will stay logged in even on refresh due to the use of Sign in With Ethereum feature that saves cookies on the browser.
It also makes making payments content creators much easier. Other users can pay the creator on their profile page with "Send Matic" button.
It takes away the risks of storing user generated media on centralized services like S3, as they are controlled by a central entity and can be misused or lost if the company shuts down, but here all our media like user posts and NFTs are stored on Filecoin
It helps anyone to host events hassle free with detailed React components showing the status of each Event with data like number of tickets sold, event start time, event end time, ticket price, and a form to buy tickets with your crypto which will directly transfer the amount to the host.
In conclusion, it was a re-imagined social media project utilizing the powers of the web3 ecosystem.
Challenges I ran into
It was not a bug, but in my opinion architecting the updation of the profile picture for a user demanded a lot of planning. I had to think about how to handle regular image profile uploads along with NFT image profiles ( just like Twitter has a feature of NFT profiles and regular image profiles ). The next question was if it is an NFT profile, how do we verify if it is genuine ?
Ultimately I decided to call the ownerOf function in ERC-721 on the frontend for double verification and decided to save the NFT id in the database during profile picture changes .
Tracks Applied (3)
Ethereum Track
Polygon
Ethereum + Polygon Track
Polygon
Filecoin
Filecoin
Technologies used
