wealdtech / go-ens

Apache License 2.0
90 stars 35 forks source link

Feature Request: Support for non-IPFS content field values, including Skynet skylinks #16

Closed dghelm closed 2 years ago

dghelm commented 2 years ago

Since ENS now officially supports various protocols for a domain's content record, I'd propose extending the functionality of go-ens to support additional protocols.

Specifically, I'm interested in sia:// values as we work with a project using go-ens to better support Skynet.

Would love feedback on the idea and suggestions on where to start with a PR.

mcdee commented 2 years ago

Looks like skynet-ns is a registered multicodec already so you would need to look at updating contenthash.go with the relevant encoding and decoding steps.

mcdee commented 2 years ago

Added in #17