Open shazow opened 8 years ago
I'm also missing this. No idea on how to use this project. Does anyone have links to existing projects using this?
go-ipfs uses this. However, stand-alone examples would still be nice.
+1 for an a simple usage example. In fact it's something I'm happy to commit if it makes sense for my experiment:
My goal is to use go-libp2p-kad-dht as a base implementation of S Kademlia for file storage & retrieval, does this package makes sense for that?
I have a very simple example repo that sets up a basic Kademlia DHT using this library. If there's interest, I could clean it up a bit and submit as a PR.
Please do!
yeah @vincentchu that would be wonderful! similarly, the libp2p chat example leverages it, but it'd be nice to have a more focused one 😄 .
Hi :wave:,
I've started with an interactive command tool approach to get deeper into it and to contribute then.
Have a look: https://github.com/stefanhans/go-libp2p-kad-dht/tree/master/examples/cmdtool
I'm new so please give me some feedback 🥺
Cheers, Stefan
Thanks @stefanhans, that's good to see. I'm working on something similar, please report any findings or stumbling blocks you have as this kind of tool should be possible.
Hi @anacrolix, thx for the feedback.
The framework with the commands works well, but the network is not always behaving like expected. 🤔 I guess there is not an explaining document or tutorial?
Yesterday I had a little medical operation. I do feel still a bit k.o. 🤒 Going back to bed.
@stefanhans If it interests you, have a look at https://github.com/libp2p/go-libp2p-kad-dht/tree/dht-cmd, in ./cmd/dht-tool
(inconsistent naming ftw).
@anacrolix great thx
At first sight, I found interesting stuff 👍 I take a closer look at it soon
Any updates on this? I think an example like in libp2p-rust would be good.
Sorry, due to private events (Lebenskrise), I am no longer involved at all since summer 2019. I would love to change that. Maybe next year.
Stand-alone usage examples would be lovely, as godoc snippets or buildable code. :)