Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

Code of examples/api/service/readme.md is outdated and misleading, since IPFS corenet is deprecated. #85

Open
liuqun opened this issue Jul 20, 2017 · 5 comments

Comments

@liuqun
Copy link

liuqun commented Jul 20, 2017

see: https://github.com/ipfs/examples/tree/master/examples/api/service#making-your-own-ipfs-service

The example code "Making your own ipfs service" is outdated and broken since "go-ipfs/core/corenet" was deprecated during the follow commits: https://github.com/ipfs/go-ipfs/pull/3943/commits of our developer magik6k.

The related article "Roll your own ipfs!" is also posted on the examples page of the official website ipfs.io, see: https://ipfs.io/docs/examples/

I found this issue when I was trying to make my own IPFS service. Since I am not quite experienced in Golang development, I have no idea of what to do to fix the missing package go-ipfs/core/corenet when trying to go run host.go as the example article showed.

I thought @whyrusleeping or @magik6k might be the right person who could help us to update or re-write this tutorial, so that we can help more developers making their own IPFS services.
Thank you very much.

@liuqun liuqun changed the title Code of examples/api/service/readme.md is outdated and misleading Code of examples/api/service/readme.md is outdated and misleading, since IPFS corenet is deprecated. Jul 21, 2017
@wybiral
Copy link

wybiral commented Oct 10, 2017

I just ran into this exact same issue and can't seem to find documentation anywhere else.

@crackcomm
Copy link

I would probably start here since examples can be missing for new implementation.

@W-B-S
Copy link

W-B-S commented Feb 24, 2018

Did anyone solve this problem?

@wybiral
Copy link

wybiral commented Feb 26, 2018

@W-B-S when I looked into it my conclusion was that they were in the midst of a project restructure and that the docs and examples were in flux. I could be wrong and it may have settled down by now, but that's what I gathered at the time.

@magik6k
Copy link

magik6k commented Feb 26, 2018

The current implementation lives in https://github.com/ipfs/go-ipfs/tree/master/p2p, and is exposed via ipfs p2p commands. Both of these things are likely to change in short-to-mid future as new, more stable api - CoreAPI - is being defined.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants