Decentralized machine access via smart contracts, wallets, and on-chain payments.
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 hardware
Device-specific smart contract templates
A testnet web app for browsing, renting, and status viewing
Privy-powered account abstraction for seamless onboarding
QR + WalletConnect for real-world interaction
InfraLink 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.
Built a unified network abstraction layer that handles:
# One function to rule them all
def format_native_amount(amount, chain_id, decimals=None):
# Handles HBAR's 8 decimals vs ETH's 18 automatically
Instead 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"
}
}
The Python monitor polls contract state every 10 seconds and updates the UI:
Split 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")
Authentication 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.
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ Web3 App │ │ Smart Contracts│ │ Device Monitor │
│ │ │ │ │ │
│ • User profiles │◄──►│ • Device control│◄──►│ • Real-time UI │
│ • QR scanning │ │ • Payments │ │ • Chain switch │
│ • Payments │ │ • Whitelisting │ │ • Payload exec │
└─────────────────┘ └─────────────────┘ └─────────────────┘
The real magic happens in the seamless integration between: