https://github.com/fission-codes/ipfs-connection-poc
A proof of concept environment for testing IPFS peer connections
https://github.com/fission-codes/ipfs-connection-poc
Last synced: about 1 year ago
JSON representation
A proof of concept environment for testing IPFS peer connections
- Host: GitHub
- URL: https://github.com/fission-codes/ipfs-connection-poc
- Owner: fission-codes
- Created: 2021-10-21T20:34:55.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-29T22:20:25.000Z (over 4 years ago)
- Last Synced: 2025-04-03T04:56:18.331Z (about 1 year ago)
- Language: JavaScript
- Size: 213 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A proof of concept environment for testing IPFS peer connections.
## Setup
Install dependencies
```
npm run install
```
This project depends on a local IPFS node. Start IPFS to determine your local multiaddresses
```
npm run ipfs
```
Copy the three WebSocket entries into the empty `peers` array in `main.js`. These entries have `/ws/` in their multiaddress.
## Run
Start IPFS
```
npm run ipfs
```
Start the app
```
npm run dev
```
Start the app with extra debug logging
```
npm run dev:log
```
Monitor connections in the browser developer tools. Flaky connections can be simulated by stopping and restarting IPFS or by going offline at the OS level.