Wrld Map

WrldMap: Your Globe, Verified! zk-proven travel tracker for unique humans on WorldChain.

Visit Repo
Wrld Map banner

About

**WrldMap: Your Verifiable Digital Travel Atlas on WorldChain**

WrldMap is an innovative mini-application designed to run within the World App ecosystem on WorldChain. At its core, WrldMap allows users to create a beautiful, interactive, and **cryptographically verified** 3D map of their global travels and experiences. It addresses the common issue of digital travel confirmations (like flight, hotel, or bus tickets) being scattered across email inboxes, often forgotten, and lacking a tangible, shareable, or verifiable format.

**The Problem WrldMap Solves:**

Most people's travel histories are a collection of disparate digital files and memories. While photos serve as personal mementos, there's no standardized or trustworthy way to consolidate and showcase a comprehensive travel journey, especially one that can be subtly "flexed" or shared with a degree of authenticity. Furthermore, existing travel tracking apps often rely on users manually inputting data or granting broad access to their email accounts, and the resulting data isn't owned by the user in a verifiable, decentralized way.

**How WrldMap Works – The User Journey & Technology:**

  • **Unique Human Access (World ID):** Access to WrldMap is exclusively for users verified as unique humans via World ID. This ensures that every travel map is tied to a real individual, preventing spam or bot activity and adding a layer of trust to the shared experiences.
  • **Email Confirmation as Proof-Source:** The user initiates the process by providing their travel confirmation emails. For the hackathon proof-of-concept, this involves the user downloading the relevant email (e.g., a flight e-ticket from MakeMyTrip, a hotel booking from Agoda, a bus ticket from FlixBus) as an `.eml` file and uploading it directly into the WrldMap mini-app.
  • **zk-Powered Verification (vLayer):** This is where the "verified" aspect comes to life.
  • The WrldMap application (client-side or using a lightweight backend) utilizes the **vLayer SDK**. This SDK processes the uploaded `.eml` file.
  • It generates parameters for a **Zero-Knowledge Proof (zk-Proof)**. This proof cryptographically attests to the authenticity of the email (e.g., that it genuinely came from `noreply@makemytrip.com`) and can also verify that specific content within the email body matches a predefined regex pattern.
  • A dedicated Solidity smart contract, the `WrldMapProver.sol`, is deployed by the WrldMap team. This contract contains specific functions (e.g., `proveFlightMakeMyTrip`, `proveHotelAgoda`) with regex patterns tailored to parse data from the emails of supported providers.
  • The main `WorldMap.sol` contract (the storage contract) orchestrates a call to vLayer's `vQuery` contract. This call instructs `vQuery` to execute the relevant function on the `WrldMapProver.sol` using the zk-proof parameters generated by the SDK.
  • **Data Extraction & On-Chain Storage (Smart Contracts):**
  • If the vLayer `vQuery` call is successful (meaning the zk-proof is valid and the `WrldMapProver` function executed correctly), the `WrldMapProver` function returns key extracted data (e.g., for a flight: origin, destination, date, airline) and a unique `emailNullifier`.
  • The main `WorldMap.sol` contract receives this verified data and the `emailNullifier`. It first checks that the `emailNullifier` hasn't been used before (preventing the same email from being processed multiple times).
  • If unique, the contract then stores a simplified, structured version of this travel data (e.g., `TravelItem { type: Flight, from: "Chennai", to: "Taipei", date: <timestamp> }`) on WorldChain, linking it to the user's address.
  • **Interactive 3D Globe Visualization:** The WrldMap mini-app frontend reads the user's verified travel data from the `WorldMap.sol` contract. It then renders this information as interactive pins on a 3D globe (using Three.js). Users can spin the globe, zoom in, and click on pins to see details of their trips.
  • **"Miles" Gamification (Blockscout Merits):** To enhance engagement, WrldMap integrates with the Blockscout Merits system.
  • Users earn "Miles" (points) for various actions: signing up, adding their first flight/hotel/bus, and for subsequent travel items.
  • Bonus "Miles" can be awarded based on criteria like flight distance (calculated using a geocoding API) or duration of a hotel stay.
  • This is managed by a Next.js API route within the WrldMap application, which calls the Blockscout Merits API to award points to the user's address. This keeps the points logic off-chain for flexibility, while the core travel data remains on-chain.
  • **Shareable Verified Maps:** A key social feature is the ability for users to generate a shareable link to a public view of their WrldMap globe (or a GIF animation of it), allowing them to "flex" their verified travel history.

**Key Features and Benefits:**

  • **Verifiable Travel History:** Unlike simple claims or photos, WrldMap entries are backed by zk-proofs derived from actual email confirmations.
  • **User-Owned Data on WorldChain:** Users have a persistent, immutable record of their travels stored on a public blockchain.
  • **Engaging Visualization:** The 3D globe offers a dynamic and aesthetically pleasing way to view travel history.
  • **Privacy-Respecting (in principle):** While the data is on-chain, vLayer's zk-proofs mean the user doesn't expose the entire email content publicly, only the verified facts extracted from it. The link is to their World ID, which is pseudonymous.
  • **Unique Human Participation:** World ID ensures genuine user engagement.
  • **Gamified Experience:** The "Miles" system adds a layer of fun and incentivizes users to populate their map.
  • **Social Sharing:** Enables users to showcase their adventures in a novel and trustworthy way.

**Target Audience:**

  • Users of the World App looking for novel mini-applications.
  • Travel enthusiasts who want a unique way to archive and display their journeys.
  • Individuals in the web3 space interested in applications of zk-proofs, decentralized identity, and on-chain data.

**Technical Stack Summary:**

  • **Frontend/Mini-App:** Next.js, React, Three.js.
  • **Blockchain:** WorldChain.
  • **Smart Contracts:** Solidity (`WorldMap.sol` for storage, `WrldMapProver.sol` for vLayer logic).
  • **Verification Layer:** vLayer SDK and `vQuery` contract.
  • **Identity:** World ID.
  • **Gamification API:** Blockscout Merits.
  • **Backend (for Merits):** Next.js API Routes.

In essence, WrldMap aims to be more than just a travel tracker; it's a platform for creating a personal, verified, and shareable digital atlas of one's life experiences, starting with travel, and built on the principles of user ownership and cryptographic truth enabled by WorldChain and its ecosystem partners. For the hackathon, the project will demonstrate a core end-to-end flow with a limited set of supported email providers to showcase the concept's viability and innovation.

Prizes

  • World · Best Mini App · 2nd place
  • Blockscout · Big Blockscout Explorer Pool Prize · Big Blockscout Explorer Pool Prize
  • ETHGlobal · ETHGlobal · 🏆 ETHGlobal Prague 2025 Finalist

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

On The Way (OTW)

Capture your travels with secure check-ins anywhere you go. Log your adventures privately on the blockchain, and earn unique NFTs as digital souvenirs when you visit curated hotspots. Explore the world and turn your journey into lasting memories. 🌍📍🗺️

Travel Protocol

Travel Protocol allows you to book flights, hotels, and travel products without sharing sensitive personal data with booking platforms!