About
THE PROBLEM:
When a crypto holder dies or becomes incapacitated, their assets are often permanently locked on-chain without a documented plan. No bank, no password reset, no next-of-kin override.
THE SOLUTION:
Herit, a crypto inheritance platform, uses ENS subnames as heir slots and a role-based permission system to enforce the inheritance lifecycle without any off-chain coordination.
Herit combines Solidity contracts on Ethereum Sepolia, a World ID verification backend, and a browser frontend to let someone pass their crypto to their next of kin without ever handing over a seed phrase. Herit is a dead-man's switch, but it replaces the two parts of that pattern that are usually fake: proof that the owner is still alive, and the heir's identity.
Ordinary dead-man's-switch contracts treat a timestamp as proof of life. Any transaction refreshes it, which means a bot on a schedule refreshes it, and so does the thief who stole the key. The contract concludes the owner is fine while the estate drains.
Herit instead requires a World ID Selfie Check to check in, which is a live biometric liveness and uniqueness proof. World ID returns a nullifier that is stable for one human and different for everyone else, and the backend salts that into a commitment and signs an EIP-712 attestation that a LivenessAttestor contract on Sepolia verifies. The first check-in binds the estate to that commitment permanently, and every subsequent CONTINUITY check-in must match. A stolen key can sign anything, but it cannot pass a liveness check, so the thief produces a different nullifier, and the transaction reverts.
Selfie Check is used because an inheritance switch needs to know the owner is alive today, not merely that they are a unique person.
The second replacement is the heir. Most inheritance contracts store heirs as addresses in an array, which have no verifiable link to a real person and nothing stopping one human from occupying several heir slots. In Herit, each heir is given a genuine ENSv2 subname, such as son.alice.herit.eth, inside a registry deployed for that one estate through the Verifiable Factory.
The subname carries public text records of the relationship and the share in basis points, so an heir can see their inheritance and read its terms years before they can act on it. What keeps it dormant is a withheld permission rather than a flag in our own database. Herit claims a free slot in ENSv2's Enhanced Access Control role bitmap as a claim role and deliberately does not grant it when the subname is created, so canClaim reads false. Unlocking the estate is a grantRoles call on the real ENS registry, and the claim gate is a hasRoles call, which means anyone can read an heir's permission directly from ENS without touching Herit at all.
Using it works as follows.
- The grantor opens an estate under herit, which is free and avoids making every user buy a .eth name first - The grantor registers their heirs with shares, and deposits ETH or ERC-20 tokens into an opt-in vault rather than exposing their whole wallet. - Then, they pass a Selfie Check to start the clock. Each interval, a continuity Selfie Check resets it. If the interval lapses, anyone at all can poke the contract, and the estate enters a grace period. - The grace period is a real second stage and not a formality, because a single Selfie Check inside grace returns the estate to active. Someone who was simply traveling with no signal can undo the whole thing by proving they are alive. - If grace also lapses, another poke unlocks the estate, and in one transaction the vault freezes its balances so a later deposit cannot change what a share means. - Afterward, the estate name is renewed so no permission lands on an expired name, and each heir's subname is granted the claim role. - Each heir then passes their own Selfie Check, proving they are a distinct living human, and withdraws their share. - One human gets one claim per estate; the grantor cannot claim from their own estate, and the same person cannot claim twice under two different heir names.
Everything described is deployed and verified on Ethereum Sepolia against the frozen ENSv2 hackathon deployment: AccessControlGate, HeritRegistry, HeritVault, ClaimManager, and LivenessAttestor, with herit.eth registered and a grantor registry attached beneath it.
Because Herit targets that frozen hackathon set rather than the regular Sepolia beta set, the names don't appear in the official ENS app and must be read directly from the registry or the dedicated hackathon ENS Explorer(https://hackathon-deployment-portal-app.ens-cf.workers.dev/).
Lastly, in line with Security-minded development, there are 45 passing tests, including fork tests that run against the live ENSv2 registry rather than mocks.
The frontend is a Next.js app using IDKit, wagmi and viem, and the full path runs end to end on Sepolia: open an estate, fund it, check in, miss the window, unlock, and claim.
The Graph makes Herit's history visible. Herit runs a subgraph over all five of its Sepolia contracts, indexing fourteen events across the gate that opens estates and mints heir subnames, the registry that holds the check-in clock, the vault, the claim manager, and the attestor that verifies each Selfie Check.
The subgraph exists because there is no "list every estate" getter on-chain, because an unbounded array in contract storage is gas-intensive. The subgraph builds that list from the EstateOpened event instead: every estate anyone has ever opened, with its label, its grantor, the ENS registry deployed for it, and when it was opened, newest first.
The Graph replays everything that has happened to one estate: configured, checked in, entered grace, unlocked, deposited, withdrawn, claimed, settled, and every Selfie Check attested along the way.
Prizes
- ENS · Best Use of ENSv2 · 1st place
From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.






