-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Implement IPNS #209
Comments
@pfista currently not. It is not part of js-ipfs milestone one, it will come when we get to move go-libp2p to the new libp2p spec (and then matching in JS) |
Update: Once we have DHT working in js-ipfs (ref: #856), work on IPNS can begin |
I need the IPNS in a project i am working on (i can't proceed until the IPNS is implemented). Can i somehow support you? |
I am very interested in this functionality, which is essential to one of my plans. Is there any news and progress since the issue was last updated? The project I wish to attempt involves a website with user functionality: The site itself would serve as an interface, which people use to create and manage a profile. The profile itself is stored as a json file, containing all of the user's settings and references to other files. When changes are made to the profile, a new json database with fresh settings is generated, and the profile reference is updated to reflect this new file. For such to be possible, two things are needed:
If anyone has more information, please let us know what the current status of this ability is. |
Before IPNS can be implemented, we need the DHT to be finished. And for the DHT to be finished for the browser, we need Circuit-relay to be finished. The DHT is needed so that users can publish changes on IPNS I think if you want to help speed this up, you should look into helping out with the go/js/browser interop here As for your actual implementation, once IPNS is available, your "password" for publishing will be a private key. IPNS lets you publish updates that are tied to a given public key, and those are verified to check that it's using the valid public key. In the meantime, if you want mutable data, you could probably implement something ad-hoc using the pubsub functionality. |
That part's not quite accurate: we can totally have the DHT work without circuit relay. As for the DHT itself, there's a bug that prevents it from working across js-ipfs/go-ipfs boundaries. Within go-ipfs, and within js-ipfs, it works fine, but it doesn't currently interoperate. If you want to get into the ipfs/libp2p stack knee-deep, this would be a great bug to figure out. |
@lgierth So the DHT works in the browser with |
IIRC it's these two failing tests: #856 (comment) It's likely that you'll have to disable transport encryption for the daemon ( It smells a lot like very subtle multiplexer or transport issues, but we don't know for sure. @diasdavid is that accurate? |
Thank you for your responses. I'm still new to IPFS and only an average programmer, I doubt I could contribute code as much as I wish to support this lovely project. I will wait until support for IPNS in js-ipfs is achieved, which I hope isn't too far away. I can see why this is essential for any sites with dynamic content and user accounts, as you can only keep a constant reference to a changing settings file using IPNS given file immutability. |
Complex applications can't work without IPNS! |
The team will start to implement IPNS on Q2. #1281 (comment) |
@diasdavid @camelmasa @vasco-santos per protocol/research#8 (comment) , we'd like to integrate with IPFS and partner with you guys. To do so, we need IPNS (we can hack around it though), is there any status update on this with js-IPFS? |
Hello @amark I am currently implementing With this first step released, I will focus on integrating routing to the IPNS! |
@vasco-santos this is AWESOME and very timely! @mmalmi I know your traveling internationally next week, maybe we should sit down and look at this the week after, like early July (I'll email you directly, just wanted to tag you so you saw the js-ipns commit). @vasco-santos excellent work, keep it up! :) |
Will IPNS at this point use the DHT or Delegated Routing? There used to be Go/JS interop issues with the DHT (#856 (comment)) and I'm wondering whether these got fixed by the recent multiplexer fixes (libp2p/mplex#3). |
@lgierth at this point and in this PR, we are only using the local datastore of the peer. But thanks for reaching out in this issue, because I also want to know if those interop issues that you mentioned above are fixed or not. @diasdavid and @Stebalien do you have information on this? |
I don't know if anyone has tested DHT interop since the fix. |
@vasco-santos can you share a quick update on this thread? |
We divided the implementation of
Regarding Finally, the |
Stay tuned for the next awesome release of |
@vasco-santos looking forward to see a video demo! pretty please 🙏🏽 :D |
Will do it! |
Do you have plans to support ipns publish and resolving?
The text was updated successfully, but these errors were encountered: