Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

enssdk — Migrate core types and utilities #1878

Description

@shrugs
  • export the various Label and NameandLiteral*andInterpreted*types and associated helpers fromenssdk`
  • export namehash and labelhash utilities
    • goal: consumers don't need to import from viem
  • re-export the viem Address and Hex types
    • adjust all imports in the ensnode monorepo to use the enssdk-exported types instead of importing from viem
    • perhaps viem needs to be moved from a peer dep to a dep? otherwise all consumers will need to also add viem to their deps. but if we make it a dep and apps also want to access viem (common) they'd perhaps have to juggle versions
  • consider moving constants like ADDR_REVERSE_NODE and ROOT_NODE?
  • TokenId as well
  • packages/ensnode-sdk/src/ens/names.ts

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

devopsDevOps related

Type

Projects

  • Status
    Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions