← Back to home

InfraLink

Decentralized machine access via smart contracts, wallets, and on-chain payments.

Problem Statement

InfraLink is a universal, decentralized access protocol for physical infrastructure. It lets anyone deploy a smart contract that governs how a device—like an EV charger, vending machine, smart lock, or public utility—can be accessed, paid for, and controlled on-chain.Instead of siloed apps and centralized payment systems, users (or autonomous agents) simply scan a QR code, connect a wallet via WalletConnect, and pay using crypto—all without KYC, bank accounts, or regional restrictions. Smart contracts enforce time limits, usage rights, and revenue splitting. Devices expose programmable access conditions publicly and globally.InfraLink uses a modular stack:A local Python IoT client for hardwareDevice-specific smart contract templatesA testnet web app for browsing, renting, and status viewingPrivy-powered account abstraction for seamless onboardingQR + WalletConnect for real-world interactionInfraLink is live on testnet and designed for DePIN use cases. Future plans include subscription support, a discovery protocol, autonomous agent SDKs, and DePIN partnerships for real-world deployments.

Solution

How It's MadeThe Stack That Powers InfraLinkFrontend Web3 MagicReact + TypeScript - Because we like our code typed and our bugs caught earlyVite - Lightning-fast builds that don't make you wait for coffeeTailwind CSS + shadcn/ui - Beautiful components without the CSS headachesPrivy - Web3 authentication that actually works (email, SMS, socials, wallets)wagmi + viem - Ethereum interactions made simpleTanstack Query - Smart data fetching that caches like a bossSmart ContractsSolidity - The language of money (and IoT devices apparently)Device Contract - Handles payments, sessions, and device controlInfo Contract - Manages user profiles and whitelistingMulti-chain deployment - Works on Hedera, Flow EVM, Zircuit, Ethereum, and moreDevice Monitor (Python)tkinter - Yes, we made desktop GUI cool againWeb3.py - Ethereum client for Python that speaks fluent blockchainNetwork switching - Dropdown to hop between chains like a proReal-time monitoring - Watches device states and user sessionsThe Hacky BitsMulti-Chain Network UtilitiesBuilt a unified network abstraction layer that handles:Different decimal places (HBAR uses 8, ETH uses 18)Chain-specific fee calculationsNetwork-aware currency formattingRPC endpoint management# One function to rule them all def format_native_amount(amount, chain_id, decimals=None): # Handles HBAR's 8 decimals vs ETH's 18 automaticallySmart Contract Address MagicInstead of hardcoding addresses, we use profile-based configuration:NETWORK_PROFILES = { "Hedera Testnet": { "device_contract": "0x...", "info_contract": "0x...", "rpc_url": "https://testnet.hashio.io/api" } }Real-time Device State SyncThe Python monitor polls contract state every 10 seconds and updates the UI:Device online/offline statusCurrent user sessionsWhitelist statusPayment rates (regular vs whitelisted)Payload Script SeparationSplit device control logic into separate script for easy customization:# devicepayload.py - The fun stuff def on_device_enable(): play_sound("song.mp3") run_command("your_custom_enable_script.sh")Partner Tech IntegrationAuthentication handles wallet connections across all chains with email/SMS authentication for Web2 users, embedded wallets for seamless onboarding, and chain switching without the headaches. The blockchain infrastructure provides low fees perfect for IoT micropayments, fast finality for real-time device control, and JSON-RPC compatibility that works with standard Web3 tools across multiple networks.The Architecture┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ │ Web3 App │ │ Smart Contracts│ │ Device Monitor │ │ │ │ │ │ │ │ • User profiles │◄──►│ • Device control│◄──►│ • Real-time UI │ │ • QR scanning │ │ • Payments │ │ • Chain switch │ │ • Payments │ │ • Whitelisting │ │ • Payload exec │ └─────────────────┘ └─────────────────┘ └─────────────────┘Why This Stack RocksMulti-chain from day one - No vendor lock-inWeb2 UX meets Web3 power - Authentication makes onboarding painlessReal devices, real control - Python monitor actually controls hardwareHackathon to production - Built with scale in mindDeveloper friendly - Easy to customize and extendThe Secret SauceThe real magic happens in the seamless integration between:Web3 payments triggering real-world device actionsCross-chain compatibility without user frictionProfessional desktop monitoring for device operatorsFlexible payload system for any IoT use case

Hackathon

ETHGlobal Cannes

2025

Prizes

  • 🏆

    Hedera EVM: Smart Contracts & Cross‑Chain Integrations2nd place

    Hedera

Contributors