ENSv2 Playground
Try ENSv2 on Sepolia: register a name, set records, create subnames, manage who can do what, and set your primary name. Work top to bottom.
1. Get ready
You need Sepolia ETH for gas (any public faucet), test USDC for registration fees, and your own resolver to hold your records.
2. Register a .eth name
Registration is commit-reveal: you commit to a secret, wait a minute so nobody can front-run you, then register. Fees are paid in test USDC.
3. Your name
Pick or register a name above.
4. Subnames
Pick or register a name above.
5. Access control
Create policies (sets of permissions) and groups (lists of addresses), then grant a policy to a group. Policies and groups are saved in this browser; granting writes the roles on-chain, one transaction per member.
Policies
- Record editor My resolver (records)Set addresses, Set text records, Set content hash
- Avatar only My resolver (records)Set text records (only "avatar")
- Resolver manager A nameChange the resolver
- Subname manager A name's subname registryCreate subnames, Renew subnames, Delete subnames
Roles on your resolver. They apply to every name that uses it.
Groups
No groups yet.
Grant or revoke
On: My resolver (records) · Set addresses, Set text records, Set content hash
6. Primary name
The name apps show for your address. It must resolve back to your address to count.
Your primary name: connect a wallet
7. Look up any name or address
Resolution through the ENSv2 Universal Resolver, plus the registry path it walks.
Resolving…
8. Publish the Petri tree
Write each version's record as text records on its name. One resolver on petri.eth serves every version.
Loading…
From a terminal: npm run ens:publish -- --dry-run, then npm run ens:publish with PETRI_ENS_PRIVATE_KEY in .env.local.