https://github.com/dozyio/gossipsub-simulator
Gossipsub Simulator - playground for libp2p protocols
https://github.com/dozyio/gossipsub-simulator
gossipsub libp2p p2p pubsub
Last synced: 14 days ago
JSON representation
Gossipsub Simulator - playground for libp2p protocols
- Host: GitHub
- URL: https://github.com/dozyio/gossipsub-simulator
- Owner: dozyio
- Created: 2024-11-20T00:03:48.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-04-10T00:15:13.000Z (27 days ago)
- Last Synced: 2025-04-10T01:24:55.991Z (27 days ago)
- Topics: gossipsub, libp2p, p2p, pubsub
- Language: TypeScript
- Homepage:
- Size: 14.1 MB
- Stars: 7
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GossipSub Simulator

## Setup
Require `npm` and `golang`
```sh
cd nodes && npm i
``````sh
cd controller-ui && npm i
```## Usage
### Build Bootstrap/Relay and Gossipsub Nodes
```sh
make build
```### Run UI
```sh
make ui
```### Run Controller
```sh
make controller
```If the controller fails to run, you may need to set the path to the docker socket:
```sh
DOCKER_HOST=unix:///Users/YOUR_USERNAME/.docker/run/docker.sock make controller
```### Stop
```sh
make stop
```### Related Projects and info
* [Gossipsub Specs](https://github.com/libp2p/specs/tree/master/pubsub/gossipsub)
* [Testground](https://github.com/testground/testground)
* [Shadow](https://github.com/shadow/shadow)