Private solver mesh powered by Js-libp2p. Intents settled before the chain sees them.
Lattice is a decentralized, private solver mesh where user swap intents are propagated over a js-libp2p GossipSub network, auctioned via a two-phase commit-reveal protocol, and settled on Arbitrum through EIP-712 signed smart contracts — all before touching the public mempool.
Solvers compete in a private RFQ auction; the winning bid executes a Uniswap v3 swap onchain. MEV vectors including timing fingerprinting, auction sniping, front-running, and overpromise slashing are explicitly mitigated at both the p2p and contract layers.
Built on js-libp2p with GossipSub for intent propagation across a tiered solver mesh (public + tier-1 topics). Solvers bid via a custom "/defi/rfq/1.0.0" stream protocol with a two-phase commit-reveal auction (0–60ms commit, 60–80ms reveal) to prevent sniping.
Smart contracts in Solidity 0.8.34 (Foundry):
During Hackathon:I deployed MockIntentSettlement to Arbitrum Sepolia for a fully green demo flow, and hardened mainnet contracts with Safe-guarded treasury, CEI + nonReentrant + SafeERC20, ECDSA.tryRecover, and stored settlementActualOutput for slash-proof overpromise detection. (PoW in demo video)

