Roadmap

Lattice is the foundational SDK for web3 and data. The roadmap isn't about building capabilities — they already exist. It's about making them accessible from every language, every platform, and every use case.

Most blockchains store state as flat key-value bytes. Developers bolt on indexers, provers, and bridges after the fact. Lattice starts from a different premise: state should be verifiable data structures with built-in queries, proofs, encryption, and diffing. Multi-chain scaling shouldn't sacrifice security. Cross-chain transfers shouldn't need bridges. The result is an SDK that serves both web3 builders and anyone who needs verifiable, content-addressed data at scale.

Why Lattice is Structurally Different

These aren't roadmap items. They're already built into the SDK — structural consequences of the architecture that make Lattice the foundation for both web3 and data applications.

State proofs are free

All state is Cashew Merkle trees. Any claim about any state — "Alice's balance at block 50,000 was 1,000" — can be proven with a sparse proof of a few hundred bytes, regardless of total state size. No special prover circuits, no trusted setup.

Others: Ethereum requires MPT proofs ~3KB; Solana has no native state proofs

⦿ Multi-chain without splitting security

Merged mining means one proof of work secures unlimited child chains. Adding a chain adds throughput without dividing hashrate. This isn't a shard, rollup, or sidechain with separate validators — it's structural.

Others: Cosmos zones have independent validator sets; Ethereum L2s rely on fraud/validity proofs

Granular privacy without ZK

Cashew's selective encryption lets you encrypt individual fields in state. Alice's balance encrypted, Bob's public, same tree, same contract. CIDs remain valid for proof verification even when data is encrypted.

Others: Zcash/Aztec require ZK circuits; Ethereum has no native field-level privacy

Indexing is structural

Cashew's diffing computes exact changesets between any two state versions. Subscribe to a root CID, diff against the previous version, get precisely what changed. No external indexer, no event logs, no subgraph.

Others: Ethereum needs The Graph; Solana needs Geyser plugins; all need custom indexers

Cross-chain without bridges

Parent blocks structurally contain child blocks. Cross-chain transfers are verified by Merkle proof against the parent state root — directly, trustlessly. No multisig bridge, no oracle, no escape hatch risk.

Others: Cosmos IBC needs relayers; Ethereum bridges are the #1 hack vector ($2B+ lost)

State syncing is lazy

A new node downloads the state root and lazily loads branches on demand. Access a single account? Load a single branch path. The full trie never needs to be materialized until it's needed.

Others: Ethereum full sync downloads ~1TB; Solana snapshots are ~100GB+

Development Timeline

Phase 0 — Foundation SHIPPED

The foundational SDK. Eight Swift packages that compose into hierarchical blockchains with verifiable Merkle state, tiered content-addressed storage, reputation gating, and Kademlia networking.

Cashew Merkle Structures Dictionaries, arrays, sets with lazy loading, encryption, proofs, diffing, and query language
Acorn CAS Protocol Actor-based content-addressed storage with worker chaining and LFU decay eviction
Memory & Disk Workers ~10ns sync reads (memory), Bloom filter fast rejection (disk), SHA-256 integrity verification
Tally Reputation System Reciprocity scoring, latency EWMA, rate pressure gating, PoW challenges for Sybil resistance
Ivy P2P Networking Kademlia DHT, swift-nio TCP, 8-type wire protocol, local discovery, content routing
Lattice Blockchain Hierarchical PoW, merged mining, cross-chain transfers, parent-anchored fork choice, mempool
Cross-Platform macOS, iOS, tvOS, watchOS, visionOS, and Linux. Swift 6 strict concurrency throughout
IPFS CID Compatibility CIDv1 content identifiers, multicodec, multihash — interoperable with the IPFS ecosystem
Phase 1 — Developer Experience SHIPPED

Make the SDK trivially easy to adopt. A developer should go from zero to running chain in under five minutes, with tooling that feels as polished as Foundry or Cargo.

lattice CLI Init, devnet, keys, status, query. treehauslabs/lattice-cli
Local Devnet lattice devnet spins up a local chain with configurable block time and storage. Part of lattice-cli
RPC Gateway Hummingbird-based JSON-RPC server with 9 endpoints. treehauslabs/lattice-gateway
Block Explorer Web-based explorer with live chain stats, block lookup, key generation, and RPC console. treehauslabs/lattice-explorer
Project Templates Three templates: basic, token, multi-chain. lattice init --template token scaffolds a working Swift project
Interactive Tutorials Four step-by-step guides: first chain, child chains, cross-chain transfers, verified state. View tutorials
Phase 3 — Light Clients & Mobile FUTURE

Every phone is a node. Lattice's lazy state loading makes light clients genuinely lightweight — download roots, verify proofs, load branches on demand.

SPV Light Client Protocol Verify transactions and state claims without downloading the full chain. Block headers + Cashew sparse proofs
iOS / macOS Wallet Framework Native SwiftUI wallet SDK. Key management via Secure Enclave, transaction signing, state browsing
Browser Light Client Lattice compiled to WebAssembly. Full verification in the browser — no RPC trust assumptions
React Native SDK Cross-platform mobile development. Bridged from the Swift SDK with native performance
Phase 4 — Advanced Cryptography FUTURE

Layer zero-knowledge proofs on top of Cashew's existing Merkle infrastructure. Prove state claims without revealing state. Verify chains without replaying history.

ZK State Proofs Prove "I have balance > X" without revealing the balance. Cashew proofs provide the Merkle path; ZK wraps the claim
Recursive Verification Verify an entire child chain's history with a single proof. Compress thousands of blocks into one verifiable statement
Private Transactions Combine Cashew's selective encryption with ZK proofs: encrypted state that validators can verify without decrypting
Threshold Signatures N-of-M signing for multisig wallets, DAO treasuries, and cross-chain validator sets
Phase 5 — Ecosystem & Governance FUTURE

A self-sustaining ecosystem where the community governs protocol evolution, standards emerge organically, and builders have the resources they need.

On-Chain Governance ChainSpec amendments via on-chain voting. Propose, debate, and ratify protocol changes — all on Lattice state
Token Standards Lattice equivalents of ERC-20 (fungible), ERC-721 (NFT), and ERC-1155 (multi-token). Native Merkle state makes them efficient
IPFS Gateway Bidirectional bridge between Lattice CAS and IPFS. Pin Lattice state to IPFS; import IPFS content into Lattice
Decentralized Identity DID documents stored as Cashew structures. Verifiable credentials with Merkle proofs. Self-sovereign identity on Lattice state
Ethereum State Anchoring Periodically anchor Lattice state roots to Ethereum for additional finality guarantees and cross-ecosystem composability
Grant Program Fund builders, researchers, and educators. Bounties for tooling, audits, and integrations

Comparison

How the Lattice SDK compares to existing chains on the features that matter to builders.

Feature Ethereum Solana Cosmos Lattice
State proofs MPT proofs (~3KB) None native IAVL proofs Cashew sparse proofs (bytes)
Multi-chain security L2 fraud/validity proofs Single chain Independent validators Merged mining (shared PoW)
Cross-chain transfers Bridge contracts Wormhole (bridge) IBC relayers Structural Merkle proofs
Field-level privacy None (needs L2) None None Selective encryption per field
State diffing Event logs + indexer Geyser plugins Event logs Structural Merkle diffs
State syncing ~1TB full sync ~100GB+ snapshots State sync module Lazy branch-level loading
Concurrency model Single-threaded EVM Parallel (Sealevel) Single-threaded Swift actors (compile-time safe)
Application logic Solidity / EVM Rust / BPF CosmWasm / Go Client-side apps + state transactions
Multi-language SDKs JS, Go, Rust, Python JS, Rust, Python Go, JS, Rust Phase 2: TS, Python, Go

The Application Model

Lattice separates state from logic. The SDK provides verifiable data infrastructure — applications bring their own logic.

Traditional: Logic On-Chain

On Ethereum, application logic runs inside the EVM. Every node re-executes every contract call. This creates a global computer, but one that's slow, expensive, and constrained by gas limits. The chain stores both state and the code that mutates it.

Lattice: Verifiable Data Layer

On Lattice, the SDK provides a verified state layer. Applications — whether web3 dApps, data pipelines, or traditional backends — define their logic client-side and interact with Cashew Merkle state. The SDK guarantees data integrity, ordering, and cross-chain verifiability. This makes Lattice useful far beyond blockchain:

This makes Lattice the foundational SDK for two converging worlds: web3 applications that need trustless state, and data-intensive systems that need verifiable, content-addressed storage with built-in provenance.

What this enables

Web3: A DEX defines its matching engine client-side and writes order book state through transactions. Any client verifies state via Merkle proofs, subscribes to structural diffs for real-time updates, and reads cross-chain balances — without The Graph or a custom indexer.

Data: An audit system stores compliance records as Cashew Merkle state. Any auditor can independently verify the complete history of any record, prove specific claims without revealing the full dataset, and detect tampering via content addressing — without trusting the system operator.