ONIGIRI PROTOCOL
One-click swap, bridge & stake across EVM chains via monad
视频
描述
Onigiri Protocol — Cross-Chain Bridge and Swap with Envio HyperSync Integration
A decentralized cross-chain bridge protocol enabling seamless token swaps between Monad Testnet and Sepolia Testnet, powered by Envio HyperSync for real-time blockchain data indexing, analytics, and monitoring — with MetaMask Delegation Toolkit for gasless, one-click cross-chain operations.
Problem Statement
Cross-chain bridges today face major challenges:
Data Latency: Delayed indexing leads to inaccurate transaction status and degraded user experience.
Operational Complexity: Managing separate monitoring systems for multiple chains increases overhead.
Limited Transparency: Centralized bridge analytics lack verifiable, real-time data visibility.

The Onigiri Solution
Onigiri Protocol introduces a fully decentralized and transparent cross-chain bridge integrating Envio HyperSync and MetaMask Delegation Toolkit, offering:
Real-time cross-chain monitoring across Monad and Sepolia.
Instant analytics dashboard powered by HyperSync data streams.
Gasless, one-click transactions through delegated Smart Accounts.
Developer-friendly APIs for seamless integration and insights.
Why Envio HyperSync?
Envio HyperSync provides real-time blockchain data streaming that powers Onigiri’s analytics and monitoring stack.
It continuously tracks bridge contracts across Monad Testnet and Sepolia Testnet, streaming critical events such as CrossChainTransfer, WETHMinted, and BridgeCompleted in real time.
This data enables:
Live Metrics: Displays total bridge volume, transaction count, and success rates.
Cross-Chain Correlation: Links source and destination transactions instantly.
Liquidity Tracking: Monitors relayer wallet balances and updates available liquidity in the dashboard dynamically.
User Confidence: Ensures users always see up-to-date information about bridge capacity and health.
Envio’s low-latency indexing and decentralized architecture make it the ideal foundation for real-time DeFi infrastructure.
MetaMask Delegation Toolkit with Smart Accounts
The MetaMask Delegation Toolkit enhances user experience by enabling one-click, gasless cross-chain swaps through Smart Account delegation.
When a user activates delegation, they:
Sign a SIWE (Sign-In with Ethereum) message authorizing their Smart Account to call key bridge functions such as
crossChainTransferandcompleteBridge.These permissions are securely stored on-chain, allowing pre-authorized execution without wallet popups on every transaction.
The integration leverages:
Pimlico’s Paymaster — Sponsors gas fees, ensuring all transactions are gasless for users.
Bundler Infrastructure — Executes delegated UserOperations for seamless UX.
This setup transforms the traditional bridging flow into a single-click experience: after initial delegation, users can perform any future cross-chain operation instantly — no repeated signing, no wallet interruptions, and no gas costs.
Envio Bounty Compliance
Onigiri fully meets the Envio HyperSync Bounty criteria:
Functional HyperSync indexer monitoring bridge events in real time
Verified HyperSync API integration across Monad & Sepolia
Envio-powered analytics endpoints
Full documentation and live demonstration
Technical Architecture
On-Chain Components
Monad Bridge Contract (0x790f07dF19F95aAbFAed3BfED01c07724c9a6cca) — Handles WETH minting and outbound transfers.
Sepolia Bridge Contract (0xe564df234366234b279c9a5d547c94AA4a5C08F3) — Manages incoming ETH distributions.
WETH Contract (0xdfd0480D0c1f59a0c5eAeadfDE047840F6813623) — Implements wrapped ETH on Monad.
Off-Chain Components
Envio HyperSync Client: Streams live event data from both networks.
Event Indexer: Correlates cross-chain transactions.
Analytics API: Feeds HyperSync data into the dashboard in real time.
MetaMask Delegation Layer: Executes pre-authorized Smart Account transactions gaslessly.
Dashboard Interface: Visualizes metrics, liquidity, and transaction health.

Consensus and Data Flow
Detection — HyperSync detects bridge contract events (
CrossChainTransfer,WETHMinted).Correlation — Cross-chain match is confirmed with the corresponding
BridgeCompletedevent.Verification — HyperSync validates event integrity and transaction success.
Execution — Delegated Smart Account finalizes the operation via Bundler.
Analytics Update — Dashboard reflects updated liquidity and volume metrics in real time.
Product Features
For Users
Gasless, one-click cross-chain swaps
Real-time transaction tracking and liquidity display
Transparent uptime and bridge reliability metrics
Live notifications of completed transfers
For Developers
HyperSync-powered data endpoints
Modular APIs for analytics and monitoring
Easy integration with existing EVM-based contracts
Complete SIWE + Smart Account delegation workflow
Envio Integration Highlights
Real-time Indexing: Sub-second bridge event streaming from Monad & Sepolia
Cross-chain Correlation: Ensures accurate linkage of paired transactions
Analytics Dashboard: Displays live transaction volume, success rate, and liquidity metrics
API Endpoints: Enables third-party dashboards and bots to query bridge data directly
Reliability: Built on Envio’s fault-tolerant infrastructure for uninterrupted streaming
Installation
# Clone repository
git clone https://github.com/manovHacksaw/onigiri-protocol
cd onigiri-protocol
# Install dependencies
bun install
# Configure environmentcp .env.example .envQuick Start
# Start development server
bun run dev
# Start Envio real-time monitor
bun run envio:monitor
# Start analytics logger
bun run envio:logger
Access points:
Bridge UI: http://localhost:3000/bridge
Analytics Dashboard: http://localhost:3000/analytics
API Endpoint: http://localhost:3000/api/analytics
Envio Integration Architecture
Monad Testnet ───► Envio HyperSync ───► Sepolia Testnet
│ │ │
▼ ▼ ▼
Bridge Contract Event Indexer Bridge Contract
│ │ │
▼ ▼ ▼
Smart Account ◄──► Analytics API ◄──► Dashboard Interface
(MetaMask DTK) │ │
Gasless Ops Live Metrics + UX Liquidity + Alerts
Real-time Monitoring Example
[ENVIO] Real-time Bridge Monitoring Initialized...
Connected to Monad Testnet (Block: 44598643)
Connected to Sepolia Testnet (Block: 9460798)
Monitoring Events:
• CrossChainTransfer
• WETHMinted
• BridgeCompleted
[DELEGATION] Smart Account executing authorized cross-chain transfer
TX: 0x1234567890abcdef...
From: Monad → Sepolia
Gas: Sponsored by Pimlico Paymaster
Status: Completed (1.5 ETH bridged)
Market Opportunity
The cross-chain infrastructure market exceeds $100B in bridged assets, with a growing need for transparent, real-time monitoring and seamless UX.
Onigiri Protocol delivers:
Real-time analytics powered by Envio HyperSync
Gasless UX via MetaMask Delegation Toolkit
Developer-ready architecture for EVM chains
Sub-second transaction tracking and correlation
Live Product
Main App: https://onigiriprotocol.xyz
Analytics Dashboard: https://onigiriprotocol.xyz/analytics
本次黑客松进展
Fully functional cross-chain bridge between Monad and Sepolia Testnets - Real-time blockchain event streaming via Envio HyperSync - Live analytics dashboard for transaction tracking and liquidity monitoring - MetaMask Delegation Toolkit integration enabling one-click, gasless Smart Account transactions - Pimlico Paymaster and Bundler setup for sponsored transaction execution - Cross-chain coordination module for event correlation and verification - RESTful API endpoints for analytics and bridge status - Off-chain indexing layer for event mapping and data persistence - Next.js frontend with integrated bridge and analytics interface - End-to-end deployment demonstrating seamless, real-time cross-chain swaps
技术栈
融资状态
We are planning to onboard more chain , and will be raising funds this Q4 2025