Hako 箱

Every automation is an ENS name. The contract only pays when the name says so.

ETHGlobal Tokyo 2026Shipped September 25, 2026#payments#identity
Visit Repo
Hako 箱 banner

About

Hako turns recurring token payments into ENSv2 names. Each user gets their own name like alice.hako-箱.eth, and every automation becomes a subname under it, like rent.alice.hako-箱.eth. The task's settings (token, amount, recipient, interval, status) live in the name's text records, its end date is the name's expiry, and deleting the task unregisters the name.

A shared executor contract reads the name onchain before every payment, so a paused, expired or deleted task can never move money, no matter who calls it. Anyone can open a user's name and see exactly what's running on their behalf, with no backend or database. Users own their names, registries and resolvers, so their automations are theirs, not the app's.

How it's made

Built on the ENSv2 beta on Sepolia. hako-箱.eth points to its own UserRegistry, deployed through ENS's Verifiable Factory, and a registrar (adapted from the ENS contract-developer tutorial) issues user names. At sign-up, each user's wallet deploys its own registry and Permissioned Resolver and links them with setSubregistry, so the user holds every role and Hako holds none.

Tasks are registered as subnames in the user's registry, and their settings are written to the resolver with multicall(setText). A hako.tasks record on the user's name indexes their tasks, so the React dashboard (viem + RainbowKit) reads everything straight from ENS.

TaskExecutor (Solidity, Foundry) is callable by anyone. It checks that the user name and task name exist, that the task's owner is the user name's owner, and reads each setting via resolve(name, text(node, key)). Then it checks the status and interval before calling transferFrom. A small Node worker simulates execute for every task each minute and only sends when the simulation passes, so it has no power over funds.

The hardest part: the Sepolia Permissioned Resolver writes with setText(bytes name, …) but only answers reads through ENSIP-10 resolve(); direct text() calls revert. We found this by tracing calls with cast and rebuilt the executor around resolve().

From the public ETHGlobal showcase page. Votes, swipes and the judge score are hackfeed's own.

AI judge

Not judged yet. A free model reads this page, compares it with similar projects and this event's winners, then scores it and says what would make it win.

Still being built?

Not checked yet.

Swipe stats

0upvotes
0skips
0saves

Discussion 0

No comments yet. Ask the team something, or say what you'd use it for.

Posting as a guest. Plain text, 1,000 characters max.

Already built nearby

Closest projects by meaning and shared words. Similar isn't the same as copied: read them.

GhostPass

AI agents can resolve ENS names to unique stealth addresses, ensuring persistent IDs with privacy.

ENS-AR

Platform where autonomous AI agents (deployed as smart contracts or running off-chain with Web3 integrations) can have ENS-based identities, including unique subnames and primary names.