A fun location-based NFT minting app where you can capture photos and mint them as NFTs with your geographical coordinates embedded!
NFTRek lets you turn your travel memories into unique NFTs. Take a photo anywhere in the world, and we'll automatically capture your location to create a one-of-a-kind geographical NFT on Solana.
- 📸 Camera Integration - Capture photos directly in the app
- 🌍 Automatic Geolocation - Your location gets embedded in the NFT metadata
- ⚡ Compressed NFTs - Cheaper minting on Solana blockchain
- 📱 Mobile Friendly - Works great on phones and tablets
- 🎨 Fun UI - Simpsons-inspired design that's actually enjoyable to use
- 🔗 Multi-Wallet Support - Connect with Phantom, Solflare, and more
-
Clone the repo
git clone https://github.com/yourusername/nftrek.git cd nftrek
-
Install dependencies
npm install
-
Set up environment variables
cp .env.example .env.local # Add your Helius API key to .env.local
-
Run the app
npm run dev
-
Open http://localhost:3000 and start minting!
You'll need at least one API key:
NEXT_PUBLIC_API_URL
- Your Helius RPC endpoint (required for minting)
Optional but recommended:
NEXT_PUBLIC_NFT_STORAGE_KEY
- For reliable image hostingNEXT_PUBLIC_OPENCAGE_API_KEY
- For better location names
- Connect your Solana wallet
- Allow location access when prompted
- Take a photo using the in-app camera
- Hit "Mint NFT" and we'll handle the rest!
Your NFT will include:
- Your captured image
- Exact coordinates (latitude/longitude)
- City/location name
- Timestamp of when it was minted
- Next.js - React framework
- Web3js - For NFT minting
- Compressed NFTs - Cost-efficient NFT storage
- TypeScript - For better code quality
- Tailwind CSS - Styling
Found a bug or want to add a feature? Pull requests are welcome!
MIT License - feel free to fork and make your own version!
"Capture moments, mint memories!" 🍩