romariokav.in
  • home
  • timeline
  • projects
  • travel
  • gallery
projects/1 AD · Jun 2025

WrldMap

finalistETHGlobal Prague

✦ highlightFinalist at ETHGlobal Prague

WrldMap, 1 of 4
hackathon
ETHGlobal Prague
when
Jun 2025 · 1 AD
where
Prague · in person
won
  • World Best Mini App · 2nd place
  • Blockscout Big Blockscout Explorer Pool Prize
made with
  • World Chain
  • vlayer
  • World ID
  • Blockscout
  • Solidity
  • TypeScript
  • Foundry
  • Next.js
live demoshowcasesourceon the timeline

what it is

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.
  • 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)

how it's made

How WrldMap Was Built: Integrating for User Value & Verification

WrldMap was architected as a user-centric decentralized application, focusing on seamless integration with partner technologies to deliver a unique, verifiable travel mapping experience on WorldChain. Our development process prioritized leveraging the strengths of World App, vLayer, and Blockscout to create a platform where users not only own their travel data but can also derive future value from it, challenging existing restrictive models.

Becoming a World App Mini App (Targeting: Best Mini App Bounty)

Core Integration: WrldMap is fundamentally designed as a World App Mini App. We utilized the MiniKit SDK extensively. Key MiniKit commands were used for:

User Authentication & Context: Integrating World ID to authenticate users and retrieve their verified wallet address, ensuring every WrldMap belongs to a unique human.

Seamless User Experience: Building upon the MiniKit framework to ensure WrldMap operates smoothly within the World App, providing users with an integrated wallet and the benefit of abstracted transaction fees on WorldChain.

Benefit to WrldMap: This strategy offers WrldMap immediate potential access to World App's large user base. The integrated wallet and user-friendly transaction flow are critical for mainstream adoption, aligning with the bounty's goal of building "a real app reaching millions." Our frontend is built with Next.js and React, providing a modern UI, with Three.js rendering the interactive 3D globe.

Harnessing vLayer Email Proofs (Targeting: Best use of Email Proofs Bounty)

The Verification Engine: vLayer's Email Proofs are the bedrock of WrldMap's "verified" claim, transforming standard Web2 email data into trustless, on-chain Web3 assets. This cryptographic verification underpins the integrity and potential future value of the user's travel data.

Implementation Details

Users upload .eml files. Our client-side JavaScript uses the vLayer SDK to process the email and generate ZK-proof parameters (including headerHash, emailNullifier, regexCommitment).

Our dedicated Solidity smart contract, WrldMapProver.sol, houses functions like proveFlightMakeMyTrip(UnverifiedEmail calldata). These use vLayer's RegexLib to parse key data from the verified email's content (subject, body) based on regex patterns specific to providers, and also verify the sender's email address.

Our main storage contract, WorldMap.sol, orchestrates calls to vLayer's vQuery contract. This call instructs vQuery to execute the relevant function on our WrldMapProver.sol, passing the ZK-proof parameters.

nearby

  • BetterBoxdalso World Chain, vlayer, World ID
  • GnomesAndKnightsalso World ID, Blockscout
  • DeepTruthalso World Chain, World ID
  • CAASalso World Chain, World ID
← earlierBitteCopyCatlater →BetterBoxd