libp2p / libp2p/py-libp2p

Decentralized Chat with Peer Reputation

Open
#878 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
624
Forks
256
Avg merge
1d 34m
Merged PRs (30d)
47

Description

Decentralized Chat with Peer Reputation

Problem: Many chat apps lack spam resistance in open groups.

Idea: Implement a chat dApp using gossipsub where nodes use peer scoring (from your PR!) and peerstore to remember which peers were trustworthy across sessions.

Hack Value: Combines NAT traversal (connectivity) + peerstore (identity/reputation persistence) + peer scoring.

Demo Impact: Show how bad actors get down-scored and their messages ignored, while good peers stay connected even after network changes.

Required Outcome: We will add the top 5 implementations at the main py-libp2p repository (new section: product-innovation).

Contributor guide

Open the contributing guide

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 by reading the existing gossipsub peer-scoring, NAT traversal, and peerstore implementations in py-libp2p; the issue does not name specific files or tests. Determine how reputation should persist and affect message handling, then demonstrate bad peers being down-scored and good peers remaining connected after network changes. The stated outcome also requires adding the top five implementations to a new product-innovation section.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
distributed-systems, networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.