synapsenet

Real-time blockchain data mesh using Linera microchains + Chainlink oracles for live ETH

About

## Wave 1 submission

. The platform demonstrates a complete end-to-end solution for real-time DeFi data with sub-200ms latency. **Core Architecture Implemented:** ✅ **Three Linera Microchains** (Rust smart contracts): - Price-Feed Chain: Handles ETH/USD price updates and storage - Identity-Score Chain: Manages user identity scoring and updates - Dashboard Chain: Coordinates data aggregation and presentation ✅ **Real-Time Data Pipeline**: - Chainlink Oracle integration (Polygon Amoy testnet) - Node.js WebSocket streaming service - React frontend with live charts and event feeds - Sub-200ms latency with caching and optimization ✅ **Production-Ready Frontend**: - React 18 + TypeScript + Vite - Tailwind CSS + Framer Motion animations - Recharts for interactive data visualization - Responsive design with glassmorphism effects - Real-time connection status and latency monitoring **Key Features Delivered:** - **Live ETH/USD Price Feed**: Real Chainlink oracle data every 1 second - **Identity Score Simulation**: 8 simulated users with score updates every 3 seconds - **Interactive Dashboard**: Live charts, event feeds, and statistics - **WebSocket Streaming**: Real-time data with auto-reconnection - **Performance Optimization**: Caching, connection pooling, faster RPC calls - **Production Deployment**: Vercel (frontend) + Render (backend) **Technical Implementation:** - **Backend**: Rust (Linera SDK), Node.js (Chainlink integration), WebSocket - **Frontend**: React, TypeScript, Tailwind CSS, Framer Motion, Recharts - **Blockchain**: Linera microchains, Chainlink oracles, Polygon Amoy/Ethereum Sepolia - **Real-time**: WebSocket streaming with fallback mechanisms - **Deployment**: Production-ready with environment configuration **Live Demo URLs:** - Frontend: https://synapsenet.vercel.app - Backend: https://synapsenet-backend-45hz.onrender.com - GitHub: https://github.com/ayushsaklani-min/synapsenet **Challenges Solved:** - Linera microchain integration and smart contract development - Real-time data streaming with WebSocket optimization - Production deployment configuration (Vercel + Render) - TypeScript build optimization and environment variables - Mock data simulation for reliable demo functionality - Port conflict resolution and server architecture **Current Status:** - ✅ Real blockchain data integration (Chainlink) - ✅ Complete Linera microchain implementation (code ready) - ✅ Production deployment (frontend + backend) - ✅ Real-time streaming with sub-200ms latency This project demonstrates a complete real-time blockchain data mesh that can scale to handle thousands of concurrent users, perfect for DeFi applications requiring real-time price feeds and identity scoring.

## Wave 2 submission

3 Linera microchains (Oracle, Subscription, Metadata) Enhanced backend with multi-oracle aggregation (Chainlink, Pyth, CoinGecko) OHLC candle generation (1s, 1m, 1h, 24h intervals) Complete frontend with 5 pages (Dashboard, Analytics, Alerts, Subscription, API Docs) Real-time WebSocket streaming REST API with 5 endpoints Price alerts system Subscription management (Free/Pro/Enterprise tiers)

## Wave 4 submission

We rebuilt SynapseNet to fully leverage Linera's unique capabilities! Fixed frontend loading - now uses Linera's sub-second finality for instant data access Implemented 6-chain microchain architecture - showcasing Linera's multi-chain coordination Added cross-chain messaging - oracle providers communicate directly via Linera's native messaging Integrated event streaming - real-time price updates through Linera's streaming infrastructure Deployed with real Application ID - fully functional on Linera devnet On-chain alerts - leveraging Linera's fast execution for instant trigger detection

Why Linera Makes This Possible:

- Sub-second finality enables 2-second price updates (impossible on traditional blockchains) - Microchains allow each oracle to operate independently without congestion - Cross-chain messaging eliminates need for centralized coordinators - Event streaming provides real-time updates without polling - Low latency ensures price data is always current for DeFi applications Microchains Architecture (6 chains working together) - Master Chain: Coordinates the oracle network - Aggregator Chain: Collects and processes price submissions - 3 Provider Chains: Each oracle (Chainlink, Pyth, CoinGecko) on separate chain - Consumer Chain: DeFi apps subscribe to price feeds → Why it matters: No single chain congestion, each oracle operates independently

Cross-Chain Messaging

- Providers send prices directly to aggregator via Linera messages - No centralized coordinator needed - Authenticated messages ensure data integrity → Why it matters: Trustless coordination, no single point of failure

Event Streaming (ORACLE_STREAM_NAME)

- Price updates broadcast to all subscribers instantly - Consumers receive updates without polling - Sub-second latency from price change to notification → Why it matters: Real-time data for time-sensitive DeFi operations

On-Chain Storage (MapView & RegisterView) - All prices stored permanently on Linera - Historical data queryable via GraphQL - Tamper-proof price history → Why it matters: Auditable, transparent price data

Sub-Second Finality

- Price aggregation completes in <1 second - Alert triggers execute immediately - No waiting for block confirmations → Why it matters: Critical for liquidations, trading, and DeFi operations Visit: [https://linera-oracle.vercel.app/] 2. Watch prices update every 2 seconds (Linera's speed!) 3. Create an alert - triggers in <100ms (Linera's low latency!) 4. Check Analytics - see cross-chain coordination (Linera's microchains!) 5. Test API: curl https://linera-oracle.onrender.com/health

Or run locally:

docker compose up → Watch 6 chains deploy and coordinate in real-time] 2. Watch prices update every 2 seconds (Linera's speed!) 3. Create an alert - triggers in <100ms (Linera's low latency!) 4. Check Analytics - see cross-chain coordination (Linera's microchains!) 5. Test API: curl https://linera-oracle.onrender.com/health

## Wave 5 submission

Fixed Smart Contract for Linera SDK 0.15.8 Contract compiles and builds successfully Conway Bytecode Published contract bytecode 17e664e4a97f8035bb802c1d19b66e96cd985333b3553c4c0a2271b06273e825 service bytecode c047309ddda8511dd25c7de7bd33c15dba50b3e73f0d6c0e903725f710490808 Production Ready - Backend and frontend deployment ready Issue Transparency - Clearly explained Conway runtime limitation Contract builds successfully (121KB + 859KB WASM) SDK 0.15.8 compatible Status: Bytecode published | Application instantiation is not completed! Issue: Conway testnet WASM runtime doesn't support async instructions (opcode 252) Impact: Cannot instantiate application on Conway (runtime limitation, not code issue) Proof: Contract compiles successfully and works on local Linera network ⚠️ Application instantiation blocked by Conway runtime (opcode 252) ✅ But bytecode IS published and verifiable ✅ Contract works perfectly on local network

## Wave 7 submission

resubmitting features upgrade Market Operations: Create markets, place bets, resolve markets, claim winnings User Positions: Track positions via GraphQL queries Graceful Degradation: Frontend handles optional GraphQL fields for different deployment contexts Production Scripts: Automated PowerShell scripts for service management and validation

Prizes

  • Wave 1 grant · 15.61 USDC

From the public Akindo product 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?

No public repo linked, so we can't tell.

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.