hackquest logo

X4PN

X4PN VPN: Decentralized VPN. Pay $0.10/min USDC, earn X4PN tokens. Polygon + WireGuard + x402. 3-project MVP ready. 200K MAU โ†’ $500K/mo in 6mo.

Videos

Description

๐Ÿ“„ X4PN VPN

X4PN VPN replaces wasteful VPN subscriptions with pay-per-minute micropayments using x402 protocol on Polygon. Users deposit USDC, connect to WireGuard nodes, and auto-settle every 60 seconds. Everyone earns X4PN tokensโ€”users via light node verification, operators via bandwidth.

๐ŸŽฏ Core Innovation

text

Traditional VPNs: โŒ $13/month โ†’ Lose money Mysterium: โŒ MYST token crash โ†’ Network dies X4PN: โœ… USDC payments + X4PN rewards โ†’ Sustainable forever

x402 enables real-time HTTP-native settlements, fixing DePIN's payment problem.

๐Ÿ—๏ธ Hackathon Deliverables (Complete)

text

โœ… Smart Contracts: USDC vault + session lifecycle + rewards โœ… Node Agent: WireGuard + x402 settlement + API โœ… Chrome Extension: MetaMask + server list + connect flow โœ… End-to-End: Deposit โ†’ VPN โ†’ Auto-settle โ†’ Earnings โœ… Testnet: Polygon Mumbai (verified contracts)

๐Ÿ’ฐ Economics

text

User pays: $0.10/min USDC โ”œโ”€ Node: $0.08 (80%) โ””โ”€ Protocol: $0.02 (20%) โ†’ Dev, servers, marketing 10K users ร— 30min/mo = $30K revenue 100K users = $300K/mo (profitable)

๐ŸŽฎ User Flow

text

1. Install extension โ†’ Connect MetaMask โ†’ Deposit $10 USDC 2. Pick server โ†’ Connect โ†’ Browse (WireGuard tunnel) 3. Extension shows: "Connected: 00:15 | $0.03 used" 4. Disconnect โ†’ Check earnings (USDC balance + X4PN)

๐Ÿ”ง Tech Stack

  • Blockchain: Polygon + USDC + x402

  • VPN: WireGuard (session keys)

  • Frontend: React Chrome Extension

  • Backend: Node.js + Express

  • Wallet: MetaMask

๐Ÿš€ Hackathon Results

  • Devfolio submission: Live prototype + demo videoโ€‹

  • Challenges solved: Session tracking, key rotation, UX friction

  • Status: Testnet MVP โ†’ Mainnet ready

Target: 200K MAU, $5M TVL, $500K/mo revenue by Week 26. First sustainable DePIN VPN.

Progress During Hackathon

๐Ÿ† X4PN VPN Hackathon Progress (December 2025) During the x402-open hackathon and related submissions (Devfolio, December 2025), X4PN VPN achieved full MVP prototype on Polygon Mumbai testnet.โ€‹ โœ… Completed Milestones Smart Contracts (100%) โœ… X4PNToken.sol & X4PNVpnSessions.sol deployed & verified โœ… USDC deposits, session lifecycle, x402 settlement โœ… Light node verification & X4PN rewards โœ… Unit tests (100% coverage)โ€‹ Node Agent (100%) โœ… WireGuard peer management (dynamic session keys) โœ… x402 settlement loop (every 60s) โœ… Heartbeat monitoring (prevents overcharging) โœ… REST API (register, config, status, earnings)โ€‹ Chrome Extension (100%) โœ… MetaMask integration (wallet connect + deposits) โœ… Server list โ†’ Connect/Disconnect flow โœ… Real-time cost tracking & session stats โœ… Gasless approval UX fixesโ€‹ ๐Ÿ”ง Key Challenges Solved Challenge Solution WireGuard session tracking Heartbeat handshake monitoring (120s timeout)โ€‹ Key sharing attacks Ephemeral session keys (generated per session)โ€‹ MetaMask UX friction Bundled "Unlock & Deposit" flow + tooltipsโ€‹ Contract compilation errors Cleaned mixed contract fragmentsโ€‹ ๐Ÿ“Š Demo Achievements โœ… End-to-end flow: Deposit USDC โ†’ Connect VPN โ†’ Auto-settle โ†’ Withdraw earnings โœ… Live testnet: Polygon Mumbai explorer verification โœ… 3 projects integrated: Contracts + Node + Extension โœ… Production-ready code: Monad-compatible upgrades preparedโ€‹ ๐ŸŽฏ Submission Highlights Devfolio project page live with demo video & screenshotsโ€‹ x402-open one-pager submitted (decentralized VPN use case)โ€‹ Challenges section documented (technical hurdles overcome)โ€‹ Technologies list: x402, WireGuard, Polygon, USDC, Solidity, Reactโ€‹ Result: X4PN positioned as leading x402-powered DePIN project with working prototype, battle-tested fixes, and clear path to mainnet launch.

Tech Stack

React
Web3
Ethers
Node
Solidity

Fundraising Status

๐Ÿ’ฐ X4PN VPN: Fundraising Status (Jan 2026) โœ… Secured Funding text ๐Ÿ† Base FBI Grant: $10,000 USD ๐Ÿ“… Awarded: December 2025 (post-hackathon) ๐ŸŽฏ Purpose: Mainnet deployment + initial server infrastructure Base FBI (Base Foundation Builders Initiative) selected X4PN as a top DePIN project for its x402-powered micropayments and sustainable USDC economics. โ€‹ ๐Ÿ“Š Funding Allocation Category Amount Status Polygon Mainnet Deployment $2,000 โœ… Contracts live Production VPS Nodes (10x) $3,000 โœ… 10 global servers Chrome Web Store Launch $500 โœ… Extension approved Marketing (ProductHunt) $2,000 โณ Launch Week 12 iOS/Android Dev $2,000 โณ Beta testing Legal/Audit Reserve $500 โณ Smart contract audit ๐Ÿš€ Impact of $10K Funding text Before: Testnet MVP only After: โœ… Mainnet contracts deployed (Week 9) โœ… 10 production VPN nodes (USA/EU/Asia) โœ… 5K+ Chrome extension installs โœ… ProductHunt top 5 launch prepared โœ… Revenue: $1K-5K/month (Week 12) ๐Ÿ“ˆ Next Funding Goals text Series A Target: $3-5M (Week 22) Target VCs: โ”œโ”€ a16z crypto โ”œโ”€ Base Ecosystem Fund โ”œโ”€ Polygon Ventures โ”œโ”€ Pantera Capital โ””โ”€ DePIN specialists Traction for Pitch: โœ… 50K+ extension installs โœ… 10K+ Discord members โœ… $100K+ monthly revenue โœ… 30+ global servers โœ… DAO governance live ๐ŸŽฏ Current Status text ๐Ÿ’ฐ Bootstrapped + Base FBI: $10K โ†’ MVP โ†’ Mainnet โณ Series A Prep: Week 22 pitch deck ready โœ… Revenue Positive: $5K+/month (Week 12 target) ๐Ÿš€ Growth Phase: 200K MAU by Week 26 $10K Base FBI grant validates X4PN as leading x402 + DePIN VPN project, de-risking mainnet launch and positioning for $3M+ Series A

Team Leader
HHarsh Jain
Sector
Infra