<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: elo</title>
    <description>The latest articles on DEV Community by elo (@stitcx).</description>
    <link>https://dev.to/stitcx</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3648630%2Fa4efff40-989c-4e88-bfe4-4bc267f5ceaa.jpg</url>
      <title>DEV Community: elo</title>
      <link>https://dev.to/stitcx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/stitcx"/>
    <language>en</language>
    <item>
      <title>🎃 TripX: When AI Meets Blockchain in a Spooky Travel Adventure</title>
      <dc:creator>elo</dc:creator>
      <pubDate>Sat, 06 Dec 2025 00:31:04 +0000</pubDate>
      <link>https://dev.to/stitcx/tripx-when-ai-meets-blockchain-in-a-spooky-travel-adventure-ohb</link>
      <guid>https://dev.to/stitcx/tripx-when-ai-meets-blockchain-in-a-spooky-travel-adventure-ohb</guid>
      <description>&lt;p&gt;How I built a Frankenstein chimera that turns trip planning into a gamified Web3 experience for Kiroween 2025&lt;/p&gt;

&lt;p&gt;Demo video&lt;br&gt;
&lt;a href="https://youtu.be/0KuMA3gEqkI" rel="noopener noreferrer"&gt;https://youtu.be/0KuMA3gEqkI&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Demo app (now free testnet sepolia ethereum and auto accept quests proofs)&lt;br&gt;
&lt;a href="https://tripx-kiroween.bolt.host" rel="noopener noreferrer"&gt;https://tripx-kiroween.bolt.host&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fipmwe0iio8lvuyoq7619.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fipmwe0iio8lvuyoq7619.png" alt=" " width="800" height="357"&gt;&lt;/a&gt;&lt;br&gt;
What Even Is TripX?&lt;br&gt;
TripX is my attempt at creating a Frankenstein chimera of technology. It stitches together seven different domains into one cohesive app:&lt;/p&gt;

&lt;p&gt;🤖 AI — Google Gemini 2.5 Pro generates personalized itineraries&lt;br&gt;
⛓️ Blockchain — Ethereum NFTs and tokens reward your travels&lt;br&gt;
🗺️ Maps — Google Maps + Mapbox for interactive visualization&lt;br&gt;
💾 Backend — Supabase for everything database-related&lt;br&gt;
🎮 Gamification — Quests, badges, XP, and leaderboards&lt;br&gt;
🎨 3D Graphics — Three.js animated cosmos background&lt;br&gt;
👻 Halloween Theme — Premium spooky UI that makes you say "whoa"&lt;/p&gt;

&lt;p&gt;The Technical Journey&lt;br&gt;
Building with Kiro AI&lt;br&gt;
I'll be honest: building this alone in a hackathon timeframe seemed impossible. That's where Kiro AI became my co-pilot. I used:&lt;/p&gt;

&lt;p&gt;Vibe Coding — 12 sessions building components and services&lt;br&gt;
Specs — 8 formal specifications for different features&lt;br&gt;
Steering — Project-wide coding standards and accessibility rules&lt;br&gt;
Hooks — Automated linting, type checking, and testing&lt;/p&gt;

&lt;p&gt;Kiro helped me generate everything from the multi-RPC fallback system for blockchain reliability to GPS anti-spoofing with Haversine distance calculations. Even the 13 custom Halloween SVG icons were AI-generated!&lt;br&gt;
The Tech Stack&lt;br&gt;
Frontend:  React 18 + TypeScript + Vite + TailwindCSS + Framer Motion&lt;br&gt;
AI:        Google Gemini 2.5 Pro&lt;br&gt;
Backend:   Supabase (PostgreSQL, Edge Functions, Auth)&lt;br&gt;
Blockchain: Ethereum Sepolia + wagmi + viem + RainbowKit&lt;br&gt;
Maps:      Google Maps API + Mapbox GL&lt;br&gt;
3D:        Three.js&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe1k9g3se7ryoph0ss566.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe1k9g3se7ryoph0ss566.png" alt=" " width="800" height="355"&gt;&lt;/a&gt;&lt;br&gt;
The Features That Make It Special&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;AI Trip Generator 🤖
You tell TripX where you want to go, how long you'll stay, your budget, and your interests. Within seconds, Google Gemini 2.5 Pro crafts a personalized day-by-day itinerary with:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;4-5 activities per day, properly scheduled&lt;br&gt;
Budget-aware planning with realistic costs&lt;br&gt;
Smart interest matching (Food, Culture, Nature, Nightlife)&lt;br&gt;
Hotel recommendations within your budget&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwqyezndcyvtvl1gg6pc3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwqyezndcyvtvl1gg6pc3.png" alt=" " width="800" height="358"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3g19kjik3bzie256h76q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3g19kjik3bzie256h76q.png" alt=" " width="800" height="365"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Spooky Destinations 👻
I curated 19 haunted locations worldwide: Transylvania, Edinburgh, Salem, Paris Catacombs, Prague, Tower of London, Bran Castle... Each destination has:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A spookiness rating (1-5 skulls 💀)&lt;br&gt;
Unique Halloween-themed quests&lt;br&gt;
XP rewards ranging from 100 to 500&lt;br&gt;
TPX token rewards from 10 to 100&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb5e9dc3j5bhp7gkggiup.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb5e9dc3j5bhp7gkggiup.png" alt=" " width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Quest System 🎮
This is where the gamification gets serious. Complete location-based challenges to earn rewards:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;GPS-verified quest completion with anti-spoofing (you can't fake your location!)&lt;br&gt;
Photo verification using AI&lt;br&gt;
XP and leveling system (Level 1 → Level 5)&lt;br&gt;
Halloween-themed seasonal quests&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8fli422l7xwn9rgr5dz7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8fli422l7xwn9rgr5dz7.png" alt=" " width="800" height="360"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Transit Planner 🚆
Because what good is a trip if you can't get there? I integrated a full public transport planner that:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Finds connections between any two points in Europe&lt;br&gt;
Shows multi-modal routes (train + bus + walk)&lt;br&gt;
Displays real-time schedules and prices&lt;br&gt;
Maps your entire journey on an interactive Mapbox visualization&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F942zhat1epr91wjfzbhs.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F942zhat1epr91wjfzbhs.png" alt=" " width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj9whbwps6dcyycx6e2xq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj9whbwps6dcyycx6e2xq.png" alt=" " width="800" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Web3 Rewards ⛓️
Here's where blockchain enters the chat. Complete trips and quests to earn:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;TokenTypePurpose🪙 TPXERC-20Utility token &lt;/p&gt;

&lt;p&gt;🎫 NFT PassportERC-721&lt;br&gt;
Your unique travel identity&lt;/p&gt;

&lt;p&gt;🏅 Achievement NFTs ERC-721 Collectible badges for milestones&lt;/p&gt;

&lt;p&gt;All deployed on Ethereum Sepolia testnet:&lt;br&gt;
TPX Token:        0x6A19B0E01cB227B9fcc7eD95b8f13D2894d63Ffd&lt;br&gt;
NFT Passport:     0xFc22556bb4ae5740610bE43457d46AdA5200b994&lt;br&gt;
Achievement NFT:  0x110D62545d416d3DFEfA12D0298aBf197CF0e828&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj8cmspe67oyq28hpuq64.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj8cmspe67oyq28hpuq64.png" alt=" " width="800" height="360"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;AI-Powered Trip Creation ✨&lt;br&gt;
Creating a trip is magical. You input your destination (like "Rome, Rzym, Włochy" in my case), select your duration, budget level (Low/Medium/High), and interests.&lt;br&gt;
The AI then generates an itinerary with spooky locations included automatically if you select "Haunted &amp;amp; Spooky" as an interest. It's like having a personal travel agent who's obsessed with Halloween! 🎃&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Halloween Badges 🏆&lt;br&gt;
Earn 12 unique badges by completing various challenges:&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;👻 Ghost Hunter&lt;br&gt;
🎃 Pumpkin Master&lt;br&gt;
🍬 Candy Collector&lt;br&gt;
🧙 Witch's Apprentice&lt;br&gt;
And 8 more...&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;FAQ &amp;amp; Help System 📚
Because nobody wants to be lost, I built a comprehensive FAQ system with searchable categories:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Getting Started&lt;br&gt;
Trip Planning&lt;br&gt;
Spooky Destinations&lt;br&gt;
Quests &amp;amp; Challenges&lt;br&gt;
Web3 &amp;amp; Rewards&lt;br&gt;
Badges &amp;amp; Achievements&lt;br&gt;
Leaderboard&lt;br&gt;
Troubleshooting&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhxoc1fp22icb8pk4q557.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhxoc1fp22icb8pk4q557.png" alt=" " width="800" height="362"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The Profile System 👤&lt;br&gt;
Your profile is your travel identity. It shows:&lt;/p&gt;

&lt;p&gt;Your TPX balance (I'm at 310 tokens! 🎉)&lt;br&gt;
Total XP and level (currently Level 3)&lt;br&gt;
Wallet address (with a cute shortened format)&lt;br&gt;
Quests completed&lt;br&gt;
Tokens earned&lt;br&gt;
Countries visited&lt;br&gt;
Transaction history with blockchain verification&lt;/p&gt;

&lt;p&gt;You can even add TPX tokens directly to MetaMask with one click!&lt;br&gt;
Show Image&lt;br&gt;
The Quest Experience 🗺️&lt;br&gt;
The quests page is where the magic happens. Each quest card shows:&lt;/p&gt;

&lt;p&gt;Quest name and description&lt;br&gt;
Location (with country)&lt;br&gt;
Difficulty level (1/5 to 5/5)&lt;br&gt;
Rewards: XP, TPX tokens, and NFT eligibility&lt;br&gt;
Completion status&lt;/p&gt;

&lt;p&gt;Each with NFT minted on the blockchain! 🎊&lt;/p&gt;

&lt;p&gt;The Admin Dashboard 🛠️&lt;br&gt;
Because I wanted to monitor everything, I built a complete admin dashboard:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxsn7f3a5w67nl85tpkl6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fxsn7f3a5w67nl85tpkl6.png" alt=" " width="800" height="387"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Plus system health monitoring for Database, API, and Blockchain!&lt;/p&gt;

&lt;p&gt;The trips management panel lets me see:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foouzxltfu5rqp8h1d24d.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foouzxltfu5rqp8h1d24d.png" alt=" " width="800" height="371"&gt;&lt;/a&gt;&lt;br&gt;
All user trips with destinations&lt;br&gt;
Duration and dates&lt;br&gt;
Cost breakdowns&lt;br&gt;
Quest assignments&lt;br&gt;
Trip status (active/completed/planned)&lt;br&gt;
Real-time filtering by User ID, Country, and Status&lt;/p&gt;

&lt;p&gt;The Challenges I Faced 😅&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Blockchain Reliability
Sepolia testnet RPC nodes are... unreliable. I implemented a multi-RPC fallback system that tries 5 different providers before giving up. This increased success rates from ~60% to ~95%.&lt;/li&gt;
&lt;li&gt;GPS Anti-Spoofing
People tried to cheat the quest system by spoofing their location! I implemented Haversine distance calculations with tolerance checks. You must be within 100 meters of a quest location to verify it.&lt;/li&gt;
&lt;li&gt;Gasless NFT Minting
Users shouldn't pay gas fees to claim rewards. I set up an admin wallet pattern where the backend signs transactions on behalf of users. Smooth UX, zero friction.&lt;/li&gt;
&lt;li&gt;Responsive Ghost Particles
The floating ghost animations were killing mobile devices. I added device detection that reduces particle count from 20 to 8 on mobile, keeping the app smooth at 60fps.&lt;/li&gt;
&lt;li&gt;Three.js Performance
The cosmos background was beautiful but heavy. I optimized by:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Reducing star count based on device capability&lt;br&gt;
Using BufferGeometry instead of Geometry&lt;br&gt;
Implementing frustum culling&lt;br&gt;
Adding lazy loading for non-critical animations&lt;/p&gt;

&lt;p&gt;What I Learned 🧠&lt;/p&gt;

&lt;p&gt;AI is a force multiplier — Kiro AI helped me build in weeks what would've taken months alone&lt;br&gt;
Accessibility isn't optional — Even spooky themes need to be WCAG compliant&lt;br&gt;
Web3 UX is hard — Hiding blockchain complexity while keeping it trustless is an art&lt;br&gt;
Performance matters — Beautiful animations mean nothing if they stutter&lt;br&gt;
Gamification works — People actually engage more when there are XP and badges&lt;/p&gt;

&lt;p&gt;This project proves that unexpected combinations can work harmoniously when executed thoughtfully.&lt;br&gt;
What's Next? 🔮&lt;br&gt;
If I continue developing TripX:&lt;/p&gt;

&lt;p&gt;🌍 Expand to 100+ spooky destinations worldwide&lt;br&gt;
🎭 Add AR features for quest verification&lt;br&gt;
🏆 Implement seasonal events (Christmas, Easter)&lt;br&gt;
💰 Mainnet deployment with real economic value&lt;br&gt;
🤝 Partner with tourism boards for official quests&lt;br&gt;
📱 Native mobile apps for iOS and Android&lt;/p&gt;

&lt;p&gt;Final Thoughts 💭&lt;br&gt;
Building TripX was a wild ride. I went from "this is impossible" to "holy shit, it actually works" in about two weeks. The combination of AI, blockchain, and Halloween theming created something unique that I'm genuinely proud of.&lt;br&gt;
The best part? Seeing real users create trips, complete quests, and earn tokens. That moment when someone told me "this is actually fun" made all the late nights worth it.&lt;br&gt;
If you're thinking about building something ambitious for a hackathon, my advice is:&lt;/p&gt;

&lt;p&gt;Pick technologies you're excited about&lt;br&gt;
Don't be afraid to combine unexpected domains&lt;br&gt;
Focus on UX over features&lt;br&gt;
Make it accessible from day one&lt;br&gt;
Use AI tools to accelerate development&lt;/p&gt;

&lt;p&gt;Happy coding! 🎃👻🦇&lt;/p&gt;

&lt;p&gt;Built with 🎃 for Kiroween 2025 using Kiro AI&lt;/p&gt;

&lt;h1&gt;
  
  
  kiroween #halloween #web3 #ai #react #typescript #blockchain #ethereum #gamification #travel
&lt;/h1&gt;

</description>
      <category>kiro</category>
      <category>blockchain</category>
      <category>vibecoding</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
