ethers-io / ethers-cli

Deprecated; please see the `@ethersproject/cli` package instead
https://github.com/ethers-io/ethers.js/tree/ethers-v5-beta/packages/cli
17 stars 13 forks source link

ethers-ens set-content does not support IPNS hash #8

Open wighawag opened 2 years ago

wighawag commented 2 years ago

Describe the bug trying to set an IPNS hash as content fails with Error: Non-base58 character

Reproduction steps ethers-ens set-content name.eth k51qzi5uqu5dmgyzzlivmvyqkhv2zj8zth8vpmvqvihontt72p32aaybc83fqc

Search Terms ipns

ricmoo commented 2 years ago

I do believe it only handles base58 currently. I am moving the cli out into an ancillary package and can make this change then.