-
Notifications
You must be signed in to change notification settings - Fork 6
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
How to get IPFS addresses for resources? #4
Comments
You need to have some kind of indexing system that matches URLs to URI (Content Addrs) |
Yes, I searched quite a lot for that this week. I started by looking at IPFS' PubSub but I found two problems with that:
The alternative for this to work would be to have put the publisher constantly publishing the same message every Taking that into account I started looking at Orbit, more specifically, Orbit-DB. I made some experiments with it but only got to work when using the ipfs-daemon module. When I switched to the js-ipfs-api it started throwing errors all over the place, even with a super simple use case. Then I saw that Orbit hadn't been updated for a couple months so maybe that's why the errors were coming up. Then I followed your tip on Y.js and the y-ipfs-connector. I looked at it but it only works with js-ipfs, which doesn't have discovery, so that was a no go as well. Finally I settled on a centralized registry. I'm running a server that exposes an API to translate news article id's into the corresponding IPFS links with the claims made about those articles. All the claims are stored on IPFS. The central server is only used to translate addresses, that's why I called it Also, @nuno-santos , creating a key-value store on top of IPFS could be an interesting research topic ⚡️, and it's inline with the objectives for the Clickbait thing. There's a discussion about this on the IPFS forum. |
Hey, @diasdavid, I believe this might be a question for you. As we'd discussed on our Nov 6 meeting, one of the next implementation goals was to store all the application dat on IPFS, so that anyone could run the project without the need for a centralised storage server to be running anywhere.
To better explain my question let's look at this scenario:
Being that the IPFS address of the claim will depend on the claim's content, how can Bob's instance of the application know what IPFS files to retrieve without the existence of a central registry?
The text was updated successfully, but these errors were encountered: