Inspiration
Most of the team originated from Indonesia, a country that is mostly within the Pacific Ring of Fire. In addition to devastating earthquakes, volcano eruptions, and tsunamis, major urban areas have large floods at least once a year. Coupled with low government efficiency and a lack of government funding for disaster relief, Indonesia gets devastated by natural disasters constantly. This inspired us to leverage the power of blockchain technology to create Oasis Relief Fund, a platform that can autonomously donate crowdsourced funds to those in need the second a disaster is detected by our system.
What it does
Oasis Relief Fund is a software that allows users to easily donate to different disaster-stricken zones almost instantly. Oasis works by detecting disasters that happen in real time using PredictHQ's API. When a disaster is detected, a percentage of the funds will be autonomously sent to a partner Non-Profit Organization (NPO) in that area. This is written in the smart contract, where we have a list of verified wallet addresses for charities within different regions. This system allows Oasis to be faster and simpler to use compared to other crowdfunding sources, and provide donations based on real-life events instantly.
How we built it
Our smart contract uses the Chainlink network to access real-time information regarding natural disasters. To do this, the contract makes a request to an oracle within the Chainlink network. This oracle forwards our request to our external adapter which serves as a bridge to the PredictHQ Event API. The PredictHQ Event API retrieves information regarding natural disasters which is relayed back through the external adapter and back to the smart contract. With this information, the smart contract can perform a payout of a small share of the pool to the verified charity wallets in the relevant area.
Challenges we ran into
We originally intended to use an API which made use of API keys; however, we were not able to gain permissions to access that API. As a result, we needed to switch to a different API which made use of authorization headers instead of API keys. Consequently, we needed to implement an external adapter to interact with the API. This was tricky because we were not as familiar with the Chainlink network, and we were unsure of how to go about programming and bridging the external adapter.
Accomplishments that we're proud of
We are proud to have built an application using Chainlink for the first time. We are also proud to have designed a platform that provides assistance to those in need and makes the world a better place.
What we learned
During this hackathon, we discovered and learned about different Chainlink services, exploring their potential in various fields. Furthermore, we learned how to use Chainlink to connect external data sources to our smart contract, and the power of connecting real-world information to the blockchain.
What's next for Oasis: Fund Relief
Oasis Relief Fund is hoping to transition into a Decentralized Autonomous Organization (DAO) to become fully decentralized. This will allow our community members and donors to be able to vote on new NPO partners, change the percentage donated, and other factors as well. This voting system will allow our platform to be truly decentralized.
Next, we want to include educational content and workshops, as well as introduce gamification for donors. This will allow us to attract more donors to the platform through badges and rewards, as well as teach new donors about how disaster relief works, and how they can contribute to major world events. We also want our platform to be the central hub for understanding the intersection between Web 3.0 and charity work, and how blockchain technology can bolster relief efforts in the future.

Log in or sign up for Devpost to join the conversation.