In this video, learn how to build an NFT project where an NFT can only be claimed if a user is within a certain geolocation of an NFT. Using the user’s location and setting locations of NFTs around a map, a user can then travel to certain locations and claim an NFT.
Github Repo: https://github.com/thirdweb-example/geolocation-nft-youtube
thirdweb Engine Docs: https://portal.thirdweb.com/engine/getting-started
How to setup local thirdweb Engine: https://youtu.be/HfZ6uVqC9JY
thirdweb API: https://thirdweb.com/dashboard/settings
Creating an API: https://youtu.be/G3bvXfE-OMg
thirdweb Docs: https://portal.thirdweb.com/
Join our Community of over 30,000 Web3 builders: https://discord.gg/thirdweb
thirdweb Official Site: https://thirdweb.com/dashboard
thirdweb Twitter: https://twitter.com/thirdweb
Timestamps:
00:00 Introduction to building an NFT that is claimable based on geolocation
00:45 Demo of the geolocation NFT application
03:10 Deploy an ERC-1155 NFT smart contract with thirdweb
04:45 Create and setup a new project with thirdweb CLI
08:30 Configure and setup embedded wallets to allow email and social sign in
10:15 Create the sign in page for our users to connect a wallet
13:15 Build our map component to display user location
25:45 Mint NFTs to ERC-1155 contract and set the metadata to the location
31:30 Create NFT custom map markers for NFTs
36:30 Create a NFT mint API to confirm location of user and NFT to mint NFT
44:15 Place NFT markers on our map for a user to claim
47:55 Conclusion