hackquest logo

INJPASS

InjPass is a dynamic NFT ticketing & autonomous AI hedging ecosystem on Injective using MCP & x402 to enable fraud-proof entry, real-time ticket upgrades, and automated match-risk hedging.

ビデオ

テックスタック

React
Web3
Solidity
Ethers
Node
TypeScript
Injective

説明

InjPass: Autonomous Ticketing & AI-Powered Hedging

Inspiration (The Problem)

Traditional ticketing is broken.

  1. Ticket Scalping & Fraud: Static PDF tickets and QR codes are easily screenshotted, duplicated, and resold on secondary markets by predatory bots.

  2. Disconnected Fan Experience: Once inside the venue, a ticket becomes a dead utility. It doesn't react to what happens on the pitch.

  3. Inefficient Hedging for Fans: Dedicated fans invest significant emotional and financial capital into matches. Hedging their team's outcome currently requires manual setup on complex DeFi perp platforms.

  4. Subscription Bottlenecks for AI: Programmatic AI agents need real-time data feeds but can't easily sign up for monthly SaaS API packages. They need a native way to pay for data per-use.

What It Does (The Solution)

InjPass is a complete, next-generation ticketing and event-hedging ecosystem built on Injective. It combines dynamic NFT ticketing with autonomous AI agents that act on behalf of fans.

  • Dynamic NFT Tickets & Rotating QRs: Fans mint tickets as dynamic NFTs on Injective inEVM. To enter the stadium, the app generates a cryptographic QR code that updates every 15 seconds. If someone screenshots the QR, it expires before it can be scanned.

  • On-Chain Gate Authentication: A secure validator agent reads the dynamic proof at the gate and instantly calls validateGateEntry on the smart contract to check the fan in.

  • x402 Paywalled Oracle Feed: Live sports data is served via an Express API Oracle, monetized natively for AI agents using the x402 Micropayment Protocol ($0.01 USDC per request on Base Sepolia).

  • Poisson-Driven AI Hedging Agent: An autonomous trader agent purchases match telemetry, calculates real-time win probabilities using a Poisson distribution (jstat), and calls the Injective MCP Server to open leveraged perp hedges to protect the fan's stake automatically.

  • Dynamic NFT Upgrades: An AI Fan Engagement Agent listens to match events and automatically updates ticket metadata on-chain—transforming a basic ticket into a rare, sparkling Gold Victory Edition NFT collectible in real time when a team wins.

How We Built It (Architecture & Tech Stack)

We engineered a full-stack Web3 and AI agent loop spanning multiple networks and protocols:

  • Smart Contracts (Solidity):

    • Deployed on Injective (inEVM) to handle dynamic NFT ticket minting, gate status registry, and metadata upgrades.

    • AgenticCupOracleRegistry.sol provides an on-chain audit trail of expected goals (xG) and mathematical win probabilities.

  • Frontend Dashboard (React + TypeScript + Vite + Ethers.js):

    • A high-fidelity dark-mode interface featuring wallet connections, seat selection, dynamic QR code rendering with countdown rings, and live match simulators.

  • Machine-to-Machine Payments (x402 Protocol):

    • Used @x402/express and @x402/evm to secure the Oracle endpoints. If an AI agent attempts to query live stats, it must complete a $0.01 USDC transaction on Base Sepolia per API call, enabling frictionless, high-frequency pay-per-request monetization.

  • AI Agent Loop & Model Context Protocol (MCP):

    • The Autonomous Trader connects to the Injective MCP Server via standard I/O (stdio).

    • It imports the trader's wallet on Injective, polls match statistics, applies the mathematical Poisson probability model, compares it to market odds, and calls MCP tools like market_price and trade_open to execute leveraged long/short positions on Injective's decentralized derivatives exchange.

Accomplishments We're Proud Of

  • Standardizing Agentic Web3: We translated complex decentralized exchange mechanics (leveraged perp trading, signing Cosmos transactions) into standard Model Context Protocol (MCP) tools that any AI LLM or agent can interact with natively.

  • Real-time On-Chain Metadata Mutation: Building a seamless link where a physical/real-world milestone (a goal scored in a stadium) triggers a mathematical calculation that automatically upgrades a Web3 NFT collectible in the user's wallet.

  • True Machine-to-Machine Commerce: Implementing the x402 protocol so that software agents, not humans, handle payments for data feeds autonomously using stablecoins.

Future Upgrades & Full Launch Roadmap

1. The Production Launch Path

  • Mainnet Deployment: Move smart contracts to Injective Mainnet and transition x402 payments to Base Mainnet USDC.

  • Live Sports API Feed: Connect the Express oracle to real sports data feeds (Opta, Sportradar, or Chainlink Oracles) instead of simulated scores.

  • IoT Turnstile Integration: Port the validator agent onto physical Raspberry Pi scanner kits for physical stadium gates.

2. Innovative Future Upgrades

  • Ticket-Collateralized DeFi: Allow the NFT ticket to serve as collateral to secure initial margin for the autonomous perp hedging agent.

  • Agent-to-Agent Marketplace: Enable buyer and seller AI agents to negotiate and trade tickets autonomously using MCP based on demand.

  • ZK-Privacy Access: Use Zero-Knowledge proofs so fans can verify their ticket at the gate without exposing their wallet addresses.

  • Multi-Agent Risk Systems: Deploy coordinate agents to monitor funding rates and dynamically manage perp leverage for advanced hedging.

ハッカソンの進行状況

We built a fully functional end-to-end prototype during the hackathon, moving from conceptual design to working software:

  • Smart Contracts Developed & Deployed: Wrote and compiled Solidity contracts on the Injective EVM (inEVM) testnet to govern ticket ownership, gate check-in, and oracle log history.

  • Built the AI Hedging Agent: Created the node-based statistical trading agent, integrating the jStat Poisson distribution engine and establishing communication with the Injective MCP Server to run live perpetual trades.

  • Oracle Paywall Setup: Programmed the Express API Server with x402 Micropayment integration, securing endpoint access with payment-proof verification.

  • Interactive React Frontend: Developed a polished dashboard featuring ticket minting, 15-second rotating cryptographic QR codes, gate scan simulators, and live telemetry trackers.

  • Fully Integrated Loop: Connected all components so that ticket purchases, check-ins, statistical calculations, perp trades, and live NFT upgrades function in a unified workflow.

資金調達の状況

Fundraising Status

  • Current Status: Bootstrapped / Pre-Seed (Initial Stage)

  • Overview: We are currently self-funded, focusing on product development, AI-to-blockchain integrations, and validation testing.

  • What We Are Seeking: We are actively looking for developer grants, ecosystem accelerator programs, and strategic partnerships (with Injective ecosystem funds, event ticketing platforms, and AI projects) to fund smart contract audits and support our upcoming public testnet launch.

チームリーダー
RRaj Sharma
プロジェクトリンク
エコシステムをデプロイ
InjectiveInjective
業界
SocialFiDeFiNFTAI