Skip to content

Add support to ENS's getContentHash for skylinks #2853

Closed

Description

@dghelm

Describe the Feature

The ENS protocol and official frontend support setting a content hash for sia:// URIs, which are used to resolve content on the Skynet decentralized storage network.

The ETH,LIMO team requested this integration while building support for Skynet into their resolver. Loading webapps hosted on Skynet via ENS is already supported by Metamask's browser extension and Cloudflare's eth.link, and we'd love to see further adoption of decentralized storage standards.

The Skynet Labs team would be happy to make a PR, as we have experience dealing with the multi-codec and skylink formats.

Code Example

// for skynet-ens.eth

await resolver.getContentHash();
// 'sia://AQCRuTdTPzCyyU6I82eV7VDFVLPW82LJS9mH-chmjDlKUQ'

Activity

  1. added
    on-deckThis Enhancement or Bug is currently being worked on.
    on May 11, 2022
  2. added a commit that references this issue on May 20, 2022
  3. ricmoo commented on May 21, 2022

    @ricmoo
    Member

    This is now available in 5.6.7. Try it out and let me know if you have any problems. :)

  4. added
    fixed/completeThis Bug is fixed or Enhancement is complete and published.
    and removed
    on-deckThis Enhancement or Bug is currently being worked on.
    on May 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement.fixed/completeThis Bug is fixed or Enhancement is complete and published.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions