-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Skynet support #2866
Add Skynet support #2866
Conversation
Please link to more info on the protocol and any stats on usage, adoption, etc. Also including examples of large projects using it is appreciated. And please do not add dependencies. There is a base64 coder available in ethers already. |
0823e64
to
479acec
Compare
Added more info.
The problem with "@ethersproject/base64" is that it does not support RFC 4648. I couldn't find any unit testing but I manually verified it. Thank you for taking a look! |
Hello! In addition to PJ's edits mentioning Cloudflare and Metamask, making this PR was requested of us by ETH.LIMO who are a team trying to build a more decentralized resolver infrastructure. In addition to working with ENS to get contenthash support, within the ETH ecosystem, 1inch also deploys to Skynet. As for usage and context, the Sia storage network has been active since 2015, and currently stores 2.4 PB. (The network has never incentivized storage for empty or garbage data.) Skynet (launched in 2020) is built by the same team and is an extension of the protocol that pushes it into web-accessible data, with a current focus on decentralized front-ends. |
@ricmoo, should be ready for another 👀 - thanks in advance! |
I don’t use Do you have some test ENS names with skynet content hashes set? |
Here are a few: |
Thanks for doing that @ricmoo we're excited to get this in! |
@ricmoo kind reminder :) |
We're looking forward to this addition! |
I’ve been focused on v6 for the last week, but will be going through the “on-deck” issues next week. :) |
…j/add-skynet-support
…j/add-skynet-support
HI @ricmoo -- please let me know if there's anything we can do from the Skynet side to support finishing up the PR! |
This PR adds support for resolving Skylinks, which are used to resolve content on the Skynet network, much like IPFS. The ENS protocol already supports using a
sia://[skylink]
hash as a content hash and is able to resolve it. Even Metamask's browser extension supports loading web apps hosted on Skynet via ENS, as well as Cloudflare's eth.link.More information on Skynet can be found here.
More stats on the underlying decentralized storage network can be found here
Closes #2853