DAO House
Voting Architecture & Security

How Snapshot voting works under the hood

Snapshot decouples vote signaling from Layer 1 gas fees by pairing cryptographic EIP-712 signatures with deterministic historical state reads at a fixed snapshot block.

Step-by-step lifecycle of a gasless vote

Unlike an on-chain Governor vote that submits an Ethereum transaction and pays network gas, a Snapshot vote is a signed structured message validated by Snapshot’s Sequencer and pinned to IPFS for public auditability:

  1. Proposal creation: An author whose address meets the space’s proposal validation rule (for example, holding a minimum token threshold or holding an author allowlist role) signs a proposal payload defining the title, body, voting system, start/end timestamps, and a specific historical snapshot block number.
  2. Deterministic power lookup: When a voter opens the proposal, Snapshot evaluates the space’s configured JavaScript strategies against archival RPC nodes at that exact historical block height.
  3. Off-chain signature: The voter signs an EIP-712 typed message specifying the space ID, proposal hash, choice payload, timestamp, and optional voting rationale. No on-chain transaction is broadcast and zero gas is spent.
  4. Sequencer validation & IPFS receipt: Snapshot Sequencer verifies the cryptographic signature, confirms non-zero voting power at the snapshot block, persists the signed JSON receipt to IPFS, and returns a content-addressed IPFS CID as proof of the cast ballot.
  5. Tallying & optional execution: After the closing timestamp, scores are summed deterministically from all valid receipts. Because the vote itself is off-chain, enacting an outcome requires either human multisig signers or a trust-minimized oracle bridge such as Reality.eth + Zodiac or UMA’s oSnap.

EIP-712 typed data vs. EIP-1271 smart-wallet signatures

Snapshot uses EIP-712 (Ethereum Typed Structured Data Hashing and Signing) so wallets display human-readable fields instead of an opaque hex string. Domain separation protects signatures from replay across unrelated protocols.

Conceptual EIP-712 Snapshot vote payload
{
  "domain": { "name": "snapshot", "version": "0.1.4" },
  "types": {
    "Vote": [
      { "name": "from", "type": "address" },
      { "name": "space", "type": "string" },
      { "name": "timestamp", "type": "uint64" },
      { "name": "proposal", "type": "bytes32" },
      { "name": "choice", "type": "uint32" },
      { "name": "reason", "type": "string" },
      { "name": "app", "type": "string" },
      { "name": "metadata", "type": "string" }
    ]
  }
}

For EOAs (hardware wallets or browser wallets controlled by a single private key), signature verification uses standard elliptic curve recovery (ecrecover). For smart-contract accounts such as a Safe multisig, Snapshot validates votes via EIP-1271 (isValidSignature(bytes32, bytes)) on-chain, meaning the multisig owners either sign off-chain through Safe’s message signing flow or confirm a SignMessageLib contract message so Snapshot can verify threshold approval.

Why the snapshot block number matters

Every Snapshot proposal pins a single block number—normally the chain tip at the moment the proposal is created. This design solves two fundamental governance hazards:

Note a subtle operational implication: if you acquire or receive delegated tokens after a proposal’s snapshot block, your new balance will show zero voting power on that specific vote and will only count on proposals created afterward.

How voting strategies calculate voting power

A Snapshot space can combine up to eight strategies in a single configuration, summing their outputs per address. Because strategies run off-chain against archive RPC state, DAOs can count assets that would be prohibitively expensive to aggregate on-chain:

Strategy PatternWhat it reads at the snapshot blockOperational caveat
erc20-balance-ofPlain ERC-20 token balance on one chain.Excludes tokens staked in liquidity pools, vaults, or lending markets unless paired with receipt-token strategies.
delegation / erc20-votesSnapshot Delegate Registry or on-chain IVotes checkpoints.Always verify whether delegation is space-specific or global so delegates know where power applies.
multichainAggregates balances across Ethereum mainnet and L2 networks (Arbitrum, Optimism, Base, Gnosis).Requires aligned block timestamps across chains and reliable archive RPC endpoints.
erc721 / erc1155Membership NFTs, council badges, or role tokens.Useful for one-seat-one-vote committees or bicameral houses alongside token voting.
contract-callArbitrary read-only view function (for example, veToken lock balances or staking contract shares).Must remain deterministic and revert-free for zero-balance addresses at historical blocks.

Spaces can also enable Shutter shielded voting, which encrypts individual ballot choices using threshold encryption until the voting period ends—mitigating last-minute bandwagoning and whale coercion while still revealing full tallies at close.

Pre-vote verification checklist for delegates