Inspiration
my inspiration for the project was a very simple. I wanted to create a dapp that would be simple and accessible to people who are new to crypto while also promoting a more generous crypto culture. so I came up with the idea of creating a space for people to gift eth to others who are also gifting eth.
What it does
By sending people eth within the website you get added to a list of other people. You get to include a name and message with that transaction. once you get added, you may get randomly selected to appear on the website where you get the chance to be shown to other users who may potentially gift you eth as well. The more you gift the higher up on the website you be where your name, message, and address will be shown. This can be a sort of mini social media site where you can use your message as a status update, you can use it as a sort of advertisement spot for your own projects, or simply use it as a way to promote yourself.
How we built it
I first created a prototype by using remix. I took some time to think about what I wanted the contract to do and then started building. Once I had a working contract made I then created a react project with vite and then started to create a usable front-end that I later designed with tailwind. After that it was just tweaking things so they worked properly. Then I deployed to a test net so I can use chainlink's automated services to call the perform upkeep function for my contract.
Challenges we ran into
the main challenge I faced was working with asynchronous data and getting everything to display properly. The other challenge was that I wanted to use tailwind but I didn't have any experience using it. This caused me to waste a lot of time trying to figure out how to use it which could of better gone to polishing the app. The last challenge was I started working on my project very late into the hackathon so managing to put in enough time to create a usable demo was difficult.
Accomplishments that we're proud of
Honestly I'm proud of the whole thing which makes it hard for me to choose one specific thing. I'm most proud of the fact that I didn't just follow a tutorial but instead problem solved and used proper resources like documentation to figure out a solution. This helped me to gain more confidence in my abilities even if the solutions I came up with may not be the most efficient or optimal.
What we learned
I learned a lot from this experience. I learned how to use a tailwind, how to think more like a programmer, and I have a better understanding about how the front end interacts with the back end.
What's next for Gift A Fren
Honestly I'm not entirely sure, it would depend on the kind of feedback that I get. If there is interest in what I have made then I will keep working on it as their were many things that I wanted to add in but I just didn't have time for. I would like to polish the website and make it a more social place while also having NFTs available for top monthly gift givers or earning NFTs by completing challenges.
Built With
- alchemyapi
- chainlink
- hardhat
- javascript
- react
- remix
- solidity
- tailwind
- vite
Log in or sign up for Devpost to join the conversation.