Inspiration
Our esteemed teammate Dani originally came up with the idea while we were brainstorming back in march. Our first thought was that it could revolutionize part of the tourism industry. People traveling to popular destinations can now buy location specific NFT’s to prove that they went there. Since people love to show off their travels, this would be a logical next step in the way of social interaction through a gamified NFT search.
What it does
Our proposed functionality is different than our actual functionality. Proposed: Users can travel around the world and open our app to view NFT’s that are around their current location. They can buy these NFT’s only if they are at the specified location. Actual: You can query an IPFS file where location data is stored. You can check to see if that location is within the predetermined location square of that given NFT. You can record your GPS location to a firebase database.
How we built it
We built it using solidity, remix, and android studios. We started with android studios in an attempt to establish the connection between phone GPS data and firebase. Once this connection was established, we moved onto creating a connection with chainlink oracles. This proved harder than originally anticipated, so we downloaded the .json file with the GPS data and uploaded that to IPFS. Once it was on IPFS we could use the chainlink oracle get request more easily. Next, we wrote a smart contract in solidity to use the chainlink oracle, and another smart contract to check the coordinates of the GPS data.
Challenges we ran into
Not knowing what we are doing. We spent a LOT of time learning about chainlink oracles, blockchain structure, remix and hardhat. One of the main challenges that stuck out was connecting the chainlink oracle to firebase. The firebase API was unclear and we could just not figure out the connection. Another challenge was using the kovan testnet in hardhat. For some reason it refused to work and so the chainlink oracle smart contract has to be executed in remix currently.
Accomplishments that we're proud of
Connecting the chainlink oracle to IPFS Learning solidity, Javascript, remix hardhat Navigating the cryptic command line.
What we learned
Shoot high. Although we did not complete the project, we still learned quite a lot. Between solidity, hardhat and JS, my brain was ready to bust. Teamwork. We worked well together and communicated like at team. I think we can all agree we had a good time 😉
What's next for NFT-Hunt
Tie together the back end: Finish the android GPS app, connect the chainlink oracle to firebase, put up an NFT to buy, connect that NFT to the GPS_check _location smart contract. Front end: Create a front end using react.
Built With
- android-studio
- chainlink
- hardhat
- remix
- solidity
Log in or sign up for Devpost to join the conversation.