Case study · Maps, Web3 and AI
SuperWorld: a map-based social and Web3 platform, and its AI travel chat
SuperWorld maps virtual real estate onto the whole Earth. People buy plots, check in at real places, chat in location-based Worlds and book creator experiences. I started as a front-end intern, came back as a senior engineer, and in 2025 was the top committer across the web map, the mobile app and the API.
- Role
- Software Engineer → Senior Software Engineer
- When
- · Senior Software Engineer (rehired) · Software Engineer, from front-end intern
- Where
- Remote · California, USA
- Web-map commits in 2025
- 48%
- Top committer on web, mobile and API
- AI chat pipeline
- 5 steps
- Intent, query, Places tool, answer, pins
- Map engine
- deck.gl 8→deck.gl 9
- Plus mapbox-gl 2 and react-map-gl 6
- Creator Program
- ~5.3k lines
- Plus ~33 API routes with Stripe payments
On this page
Architecture
Diagram as text
- Traveler → Intent classifier: message
- Intent classifier → Query extractor: place search
- Query extractor → Foursquare Places: JSON query
- Foursquare Places → Grounded answer: venues
- Grounded answer → Place matcher: named places
- Place matcher → Map: pins
Diagram as text
- Web map → SuperWorld API: REST
- Mobile app → SuperWorld API: REST
- Mobile app → Wallets on Base: sign · pay
- SuperWorld API → Socket.IO: real-time
- SuperWorld API → Stripe: payments
- SuperWorld API → Firebase: notify
Context
SuperWorld is a virtual world laid over the real one. The Earth is split into billions of plots that people can buy, list and trade, and the map doubles as a social network of check-ins, chats and local experiences.
The web map is where most of it happens, so its speed, its wallet flows and its discovery features decide whether people stay.
What I owned
- Frontend
- Maps
- AI
- Web3
- Mobile
- Backend
- Real-time
- Created the V3 web map by porting the app onto Vite and upgrading the whole map stack.
- Designed and built the AI travel chat on web and mobile.
- Built group and location chats, the wallet and payment flows, the move to Base and the Creator Program.
- Started in 2021 as a front-end intern, was promoted to software engineer, and was rehired as a senior engineer in 2025.
What I shipped in 2025 and 2026
- Web map V3: deck.gl overlays on Mapbox, heatmaps, saved places, find friends, check-ins and favorites, place share links and Worlds categories.
- Real-time: Socket.IO group chat with @mentions and geo-located chats, plus Firebase push notifications.
- Web3: Privy embedded wallets, WalletConnect, the move to Base, an ETH to Base bridge, a Base and Farcaster mini app, a Transak fiat on-ramp, plot buy, list, delist and bulk buy, and smart-wallet (EIP-1271) signatures.
- Creator Program: an experiences marketplace with host dashboards, bookings, availability, reviews and Stripe payments, on web and in the API.
- Mobile app: AI chat, group chat and DMs, wallet flows, NFT markers and the Expo 54 iOS and Android build migration.
Hard problems
An AI travel chat that answers with real places
- AI chat pipeline
- 5 steps
- Intent, query, Places tool, answer, pins
Problem
A plain chatbot invents places. Recommendations on a map have to point at real venues the app can pin and fly to.
Approach
- An LLM first classifies intent: a place search or general chat.
- A second call extracts a structured query as JSON: what, city, state and country.
- The app calls the Foursquare Places API as a tool, and an LLM writes the answer grounded in those results.
- gpt-4o-mini matches every place the answer names back to a real Foursquare id, which becomes a map pin and drives fly-to.
- Mentioning
@usernameadds that user's World content as context, and chat history is saved to the profile.
Result
Answers on web and mobile come with pins on the map, built from real venues rather than generated text.
A modern map foundation
- Map engine
- deck.gl 8→deck.gl 9
- Plus mapbox-gl 2 and react-map-gl 6
Problem
The map ran on an older codebase and older map libraries, with rendering issues and console errors that made it feel heavy.
Approach
- Created the V3 repository by porting the app onto Vite.
- Upgraded deck.gl 8 → 9, mapbox-gl 1 → 2 and react-map-gl 5 → 6, then reworked markers, clustering and heatmap layers.
- Fixed rendering issues across the map so panning and zooming stay smooth.
Wallets and payments people can finish
Problem
Buying a plot used to mean owning a crypto wallet, holding the right token and being on the right chain.
Approach
- Added Privy embedded wallets, so people sign in and get a wallet without installing anything.
- Moved the app to Base and built an ETH to Base bridge.
- Added the Transak on-ramp for card payments, and Coinbase smart-wallet signature checks.
Stack
- Frontend
- React
- TypeScript
- Vite
- Redux Toolkit
- RTK Query
- MUI
- Maps
- Mapbox GL
- deck.gl
- react-map-gl
- supercluster
- AI
- OpenAI API
- Foursquare Places API
- Streaming responses
- Web3
- Base
- ethers
- viem
- Privy
- WalletConnect
- Transak
- Backend
- Node.js
- Express
- MongoDB
- Socket.IO
- Firebase
- Stripe
- Mobile
- Expo
- React Native
- @rnmapbox/maps
Outcomes
- The V3 map became the base for every later feature.
- AI chat, group chat, wallets and the Creator Program shipped on both web and mobile.
- Rehired as a senior engineer after my first stint.
What this shows
For teams hiring an AI Engineer or Forward Deployed Engineer:
- Tool-using LLM pipelines with grounding: the model answers from real API results, not memory.
- Owning large product surfaces across web, mobile and API at once.
- Comfort with demanding frontends: maps, real-time chat and wallets.