Thanatos Protocol

Prize winner, Starknet Redefine

Thanatos Protocol
when
Mar 2026 · 2 AD
where
online

what it is

Thanatos Protocol is a dead man's switch for crypto inheritance on Starknet. The owner of a vault proves they are alive at regular intervals with a zero-knowledge proof. If the proofs stop, the vault activates and the beneficiary can claim it, without any party being linked to a wallet address on-chain.

The owner generates a Semaphore identity in the browser, registers its commitment together with a vault commitment and a check-in interval, and deposits ERC-20 tokens along with a sealed beneficiary. Each check-in is a proof generated locally in the browser, which takes about 30 seconds.

After a set number of missed intervals (3 by default), any keeper can report the miss and the vault activates. The beneficiary, who receives the vault commitment and a claim key off-band, can then claim the funds.

Privacy holds on three layers: the owner's wallet never appears on-chain, the beneficiary stays sealed as a Poseidon commitment of address and salt until the claim, and individual check-ins cannot be correlated with each other. The absence of a proof is the signal, and it does not reveal who failed to check in.

It is a solo project. The contracts are unaudited and run on testnet only.

how it's made

The protocol combines three ZK pieces: a Cairo-native Semaphore group for anonymous liveness attestation, a Noir circuit verified on-chain through Garaga, and a Poseidon-committed beneficiary.

The liveness circuit is written in Noir and compiled with Barretenberg UltraHonk. Garaga generates the calldata and the Cairo verifier (UltraKeccakZKHonk), which is deployed on Starknet Sepolia. Nullifiers are bound to an epoch as Poseidon2(identity_nullifier, epoch), so replay protection is enforced inside the circuit.

  • LivenessRegistry: the Semaphore Merkle group (BN254 Poseidon2 tree, depth 20), ZK check-ins and missed-count tracking
  • VaultController: ERC-20 escrow, vault activation and the beneficiary claim
  • KeeperRegistry: STRK staking for the keepers who report missed check-ins

The frontend is a Next.js 15 app that generates proofs in the browser with @aztec/bb.js and the garaga npm package.