Check ENSv2 availability
ENSv2 helpers take a viemPublicClient and a deployment object that holds the contract addresses for mainnet or Sepolia.
true to the deployment getters for Sepolia, and use a Sepolia public client.
ENSv2 helpers
Durations are
bigint seconds.
Hooks
useRegisterENS targets ENSv1, which is retired for registration. For ENSv2 registration, use EnsNameRegistrationForm or the ENSv2 helpers.
Upload an avatar
Other exports
The package also exports the atoms and molecules the forms use, such asButton, Input, Modal, Alert, TokenSelect, and DurationPicker, plus record utilities such as getEnsRecordsDiff, validateEnsRecords, and convertEVMChainIdToCoinType. Their props are in the package’s TypeScript types.
