ensdomains / ensjs

ENS javascript library for contract interaction
MIT License
123 stars 56 forks source link

chore: export contentHash under `utils` namespace #64

Closed adamazad closed 1 year ago

adamazad commented 1 year ago

We rely heavily on decodeContentHash and encodeContentHash in our project.

LeonmanRolls commented 1 year ago

Hey @adamazad thanks for your submission.

You can actually import functions from utils like this: import { encodeContenthash } from '@ensdomains/ensjs/utils/contentHash'

Will close for now, let us know if you have any problems with this.