Skip to content
ProofRoute

ProofRoute

Don't trust the relay. Verify it.

Created on 8th August 2026

•

ProofRoute

ProofRoute

Don't trust the relay. Verify it.

The problem ProofRoute solves

ProofRoute — Hackathon Submission Description
One-line pitch

ProofRoute is a decentralized accountability layer for blockchain infrastructure: stake-backed relays make cryptographic propagation commitments, independent peers provide handoff evidence, quorum produces verifiable coordination certificates, and relays that provably violate their commitments get slashed and automatically deprioritized — with cryptographic proof, not trust.

The Problem

When you send a blockchain transaction, you never talk directly to the chain. You go through a chain of infrastructure you don't control:

Wallet → RPC → Relay → Peer Network → Builder/Sequencer → Blockchain

If your transaction silently disappears somewhere in that chain, you have no way to prove who dropped it. A centralized RPC can censor you. A relay can quietly ignore your transaction. Different RPC providers can return conflicting information about the same chain state. And as a user, you're left with nothing but "trust me" — no cryptographic evidence of what actually happened to your transaction.

This is a foundational trust gap in how everyone interacts with blockchains today, and it sits exactly at the intersection of censorship resistance and decentralized coordination.

The Solution

ProofRoute creates a permissionless network of stake-backed relays that make cryptographically verifiable promises about transaction propagation — and then produces on-chain proof of whether they kept those promises.

Instead of trusting a relay's word, the user gets proof of what the relay actually did.

How it works, step by step
Relays stake collateral. Any address can permissionlessly become a relay by depositing ETH into RelayRegistry. This makes creating fake relay identities economically expensive and gives honest behavior a real financial incentive.
The user sends a transaction through multiple relays at once. The ProofRoute SDK routes it to several independent relays instead of trusting a single infrastructure provider.
Each relay signs an EIP-712 propagation commitment — a cryptographic promise of the form "I commit to propagating transaction X before deadline Y." Critically, this is not a promise that the transaction will be included in a block (that's outside a relay's control) — it's only a promise about the one thing a relay actually controls: propagation.
The relay proves propagation by handing the transaction to a registered peer, who returns a signed acknowledgement: "I received transaction X from Relay A." Together, the commitment and the acknowledgement form a verifiable handoff proof.
Independent relay observations are aggregated into quorum. If enough relays (e.g. 3-of-5) produce valid commitment + handoff pairs for the same transaction, the network issues an on-chain Coordination Certificate — cryptographic proof that multiple independent parties attest to the same event, rather than one server's word.
If a relay fails or goes offline, the SDK simply routes around it and quorum is still reached with the remaining relays — this is the censorship/failure-resistance property.
If a relay signs a commitment but never produces the handoff (i.e., it lied about propagating), anyone can submit a Fault Proof on-chain. The protocol verifies the relay's own signature against the missed deadline, then automatically slashes a portion of that relay's staked collateral — a bounty goes to whoever submitted the proof, and the rest goes to a treasury vault.
What ProofRoute deliberately does not claim

This boundary is core to the design's integrity: ProofRoute never claims a relay is guilty just because a transaction wasn't included in a block, or because its execution reverted. Inclusion is controlled by builders/sequencers, not relays, and reverts can be unrelated to propagation entirely. ProofRoute only ever enforces the one obligation a relay explicitly signs and actually controls — its propagation commitment. This scoping is what makes the slashing condition objectively provable on-chain, rather than a subjective judgment call.

Why it qualifies for both tracks

Censorship Resistance

Multi-relay transaction routing instead of single-provider trust
Automatic rerouting around offline or unreliable relays
Verifiable, signed propagation commitments
On-chain detection of protocol-defined relay failures
Economic penalties (slashing) for provable violations

Decentralized Coordination

Signed, independent observations from multiple relays and peers
Threshold quorum instead of a single source of truth
On-chain, verifiable coordination certificates
Permissionless participation (anyone can stake and become a relay)
Cryptographic attribution — you know exactly who said what
What We Actually Built

This isn't a slide-deck concept — the full stack is implemented and runnable end-to-end on a live local devnet:

Smart contracts (Solidity / Foundry)

RelayRegistry.sol — permissionless staking, restricted slashing entrypoint
CoordinationManager.sol — EIP-712 domain and signature

Challenges I ran into

Scoping what's actually provable on-chain. The hardest design problem wasn't cryptographic — it was philosophical. My first instinct was to slash a relay if a transaction wasn't included in a block. But inclusion is controlled by builders and sequencers, not relays, and execution can revert for reasons that have nothing to do with propagation. If I slashed on inclusion, I'd be punishing relays for something they don't control — which makes the whole system untrustworthy and un-auditable. I had to pull the scope back repeatedly until I landed on the one thing a relay actually signs and actually controls: the propagation handoff to a peer. That discipline — resisting the urge to make bigger claims than the cryptography can support — shaped almost every other decision in the project.

"Stack too deep" in Solidity. CoordinationManager.submitQuorumCertificate takes six parameters (transaction hash, relay list, deadlines, commitment signatures, peer list, handoff signatures) plus internal loop variables for verification. The default Solidity compiler ran out of stack slots and refused to compile with a Stack too deep error. Fixing it meant switching to the IR-based codegen pipeline (via_ir = true in Foundry config) rather than restructuring the function into something less readable — a good reminder that gas-optimization tooling and readability sometimes pull in different directions.

BigInt serialization silently breaking the API. The backend reads on-chain values like relay stake as native JavaScript BigInts (since Solidity's uint256 doesn't fit safely in a Number). The first version of the status endpoint spread that raw state directly into a JSON response — and JSON.stringify has no idea how to serialize a BigInt, so the endpoint returned a 500 on every single request. It's a small bug, but it's the kind that's completely invisible in casual testing and only surfaces once real values start flowing through the read path — every numeric field touching the chain had to be explicitly converted to a string before it could leave the backend.

Making time-based slashing demoable without lying about the mechanism. The fault-proof condition genuinely requires a deadline to pass — that's not optional, it's the whole point (a relay shouldn't be punishable before it's actually had the chance to fulfill its commitment). On a local Anvil devnet I could cheat time forward with evm_increaseTime and evm_mine to keep a live demo fast-paced. But that's an Anvil-only RPC method that doesn't exist on a real network — so making the same flow work on a public testnet meant reworking the fault-proof path to genuinely wait out a short real deadline instead, rather than assuming the time-travel trick would always be available.

Key management discipline. Anvil's ten default dev accounts are derived from a public, widely-known test mnemonic — perfect for a local demo (zero configuration, funds are meaningless), and actively dangerous anywhere real value is involved. Moving toward testnet deployment meant explicitly separating "local devnet mode" (mnemonic-derived, safe) from "real network mode" (freshly generated private keys the user actually controls), and refusing to start the backend at all if a non-local chain ID was configured without real keys supplied — making the unsafe path structurally hard to fall into by accident.

Environment friction across a fresh machine. A meaningful chunk of actual build time went into things with no cryptography involved at all: foundryup not being on PATH until a new shell session, forge install needing a git init first, a stray shell-escaping issue that silently truncated a contract address by one hex character when it was first typed out, and Node.js not being installed at all. None of these are exotic problems, but they're a good reminder that a genuinely reproducible hackathon demo has to survive someone else's clean machine, not just the one it was built on — small mistakes like a single dropped character in a 42-character address are exactly the kind of thing that's invisible until something breaks downstream.

Tracks Applied (2)

Censorship Resistance

Censorship in blockchain infrastructure rarely looks dramatic — it's not a chain halting or a wallet getting blacklisted...Read More

Decentralized Coordination Layers

Coordination is usually the hidden centralization point in systems that otherwise call themselves decentralized. You can...Read More

Discussion

Builders also viewed

See more projects on Devfolio