Comments (3)
Running go mod tidy
with go v1.21.1
should solve this, we currently have a PR open
from universal-connectivity.
You can dial the rust peer over QUIC via the CLI and the js-peer over webtransport via the web page. It shouldn't be difficult to add websocket to the go version, I believe adding the transport here should suffice, but feel free to explore the go-libp2p repo for clearer docs.
from universal-connectivity.
That worked, thank you!
I got the go version up and running, but I don't see how to connect it to the rust and browser version.
The only place I can add a multiaddr is on the web page, and all the go version's addresses are quic:
│Listening on: /ip4/127.0.0.1/udp/9095/quic-v1/p2p/12D3KooWHHK4cjPXQ64BdLP4SMDRjgmxQSDtyTsph9jgNQfZfXoo │
│Listening on: /ip4/127.0.0.1/udp/9095/quic-v1/webtransport/certhash/uEiDkbBzN7UzKA9UukoT-qJ58WMsG-WCZuga_eoZV0WHpLA/certhash/uEiAVKuA_YV1zymqLb9dY6QSOAn8j4gQ│
│g9rbwL87hESwVOA/p2p/12D3KooWHHK4cjPXQ64BdLP4SMDRjgmxQSDtyTsph9jgNQfZfXoo │
│Listening on: /ip4/192.168.50.93/udp/9095/quic-v1/p2p/12D3KooWHHK4cjPXQ64BdLP4SMDRjgmxQSDtyTsph9jgNQfZfXoo │
│Listening on: /ip4/192.168.50.93/udp/9095/quic-v1/webtransport/certhash/uEiDkbBzN7UzKA9UukoT-qJ58WMsG-WCZuga_eoZV0WHpLA/certhash/uEiAVKuA_YV1zymqLb9dY6QSOAn8│
│j4gQg9rbwL87hESwVOA/p2p/12D3KooWHHK4cjPXQ64BdLP4SMDRjgmxQSDtyTsph9jgNQfZfXoo
Would it be difficult to add the websocket protocol to the go version? Just a thought, thanks for this library!
from universal-connectivity.
Related Issues (20)
- License? HOT 1
- In React, Uncaught Error: Cannot find module 'interface-datastore/key'
- Compiling rust-peer to wasm HOT 1
- feat: some chat UX improvement ideas HOT 1
- Rust peer is announcing wrong multiaddrs HOT 9
- Rust peer exhausting resources HOT 1
- CI: Introduce tests for JS-peer HOT 2
- Add ability to connect to peers using only PeerID HOT 2
- Failed to started lib2p HOT 2
- browser-to-browser connectivity with webRTC and pubsub (gossipsub) HOT 4
- Update to Rust v0.52
- Enable dependabot HOT 1
- Create a CODEOWNERS file HOT 2
- JS: update stream mgmt in the new way refactored HOT 1
- JS: use js-libp2p-logger instead of `console.log` HOT 1
- Add a Rust WASM peer? HOT 2
- Rust: Allow for stable identities that don't depend on the file-system HOT 1
- Help js browser peers discover each other out of the box HOT 19
- Add CI for Go Peers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from universal-connectivity.