libp2p / libp2p/cpp-libp2p

It is unclear how to add cpp-libp2p to a new project

Open
#212 2 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
C++
Stars
492
Forks
130
PR merge metrics
No merged PRs in 30d

Description

Hi, building cpp-libp2p from source has worked and all tests have successfully passed, however it is difficult for me to actually add libp2p to a project. The section "Adding cpp-libp2p to the project" is not clear to mel:

1.You put a github link to hunter-simple (btw this link might break at any point in time). From there it still is not clear to me how to add hunter to a project that is not officially supported by hunter. How exactly do we tell hunter to use the existing dependencies to add libp2p to our projects.

  1. Then at the end it says "Example of adding cpp-libp2p to other project can be found here and here", linking to other blobs. These examples did not help me due to lacking context. Please write down a full working example so make it more beginner friendly.

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the documentation section titled "Adding cpp-libp2p to the project", the hunter-simple reference, and the two linked example blobs. Document how a project that is not officially supported by Hunter can use the existing dependencies, and provide a complete working example whose setup and successful libp2p integration are clear.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.