pldespaigne / content-hash

simple tool to encode/decode content hash for EIP 1577 compliant ENS Resolvers
ISC License
44 stars 28 forks source link

Encode Path for ipns #45

Open martinkrung opened 3 years ago

martinkrung commented 3 years ago

I struggled to be able to encode path for ipns, because you need to bs58 encode this first:

https://github.com/cryptonative-ch/ipns-for-ens

Normal people just use the https://app.ens.domains, but DXdao has to set content via an on-chain proposal. An idea would be to implement this or just change your documentation.

Absolute best would be this ending up on https://content-hash.surge.sh/

I may implement this, if you point me to the right place.

pldespaigne commented 3 years ago

Thanks for reporting this issue 😄

I'm not sure to understand your issue. Could write down what are the raw & encoded values, and what do you expect instead ?