Inspiration
Initially, we were very interested in looking to build a project that would make use of account abstraction, but we quickly realized that building something of that calibre would probably be very difficult to accomplish given the tight deadline we were to meet. It was also something that there weren't a lot of resources for, so we were practically treading through new waters with our initial idea. That was when we decided to pivot a little and make our project still related to account abstraction, but through a simpler means which is when Gift4U jumped out as the perfect use case for what we wanted to do.
What it does
Gift4U is a DApp that would essentially allow users to send cryptocurrencies to a particular address as a form of a gift voucher for a specific company. They would be able to choose a company from a page full of partnered companies in order to choose what gift card they would want to send someone and upon selecting a company and amount of currency they would want to purchase, the process of assigning the receiver of the gift the authority to only spend at the sender's desired company would all be handled through pre-deployed company smart contracts and access control lists.
How we built it
We took advantage of existing software like Openzeppelin's authority contracts to implement a similar account abstraction feature and attempted to use Axelar's interchain token transferring capabilities in order to make it more convenient for users to make purchases of gifts for others on our platform. The idea was to use the authority contracts to enable the restriction of what smart contracts a receiver of gifts would be able to access and transact on, giving rise to the opportunity for companies to continue to apply promotional strategies exclusive to themselves.
Challenges we ran into
Blockchain technology and development is an area we are knowledgeable in but have yet to apply into making an application. Therefore the planning and execution of potential ideas required more research and time. Additionally, as mentioned above, because we did not have a strong grasp of how to execute our idea, we were not able to foresee the duration that may take for what we were trying to make, thus causing us to later change our idea.
Accomplishments that we're proud of
Many of the software we are currently using in the Gift4U DApp was completely new before coming to this hackathon, so we are proud to have learnt a great amount of knowledge in blockchain technology as well as developing using blockchain technology in a short amount of time. Being involved in a hackathon with strict deadline were able to push us to learn quickly and come together as a team. We were able to learn how to better communicate in a development team and help each other using each of our strengths.
What we learned
We learned that discussing the idea of what you want to create in the beginning and ensuring that everyone is on board with the idea, is incredibly important. This way, there wouldn't be any need to suddenly have to change the idea due to team members leaving, especially given the short time frame of a hackathon. We also learned to be more patient with our computers and to take breaks. There would be times when you simply could not understand why there was an error or bug, but we found that the more angry you were, the harder it was to find it.
What's next for Gift4U
In the future, we plan on implementing more of the backend components into the website app for Gift4U. We also plan on looking into security functions for the gift card balances that would be local to the website. By implementing these two changes, we would be able to see our product truly come to life, witnessing the potential of the app blossom.
Built With
- axelar
- bootstrap
- css
- hardhat
- html
- javascript
- jsx
- metamask
- node.js
- openzeppelin
- react
- solidity
- tsx
- typescript
Log in or sign up for Devpost to join the conversation.