Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement peer package to send messages between peers #279

Merged
merged 24 commits into from
Jan 10, 2023
Merged

Conversation

nikugogoi
Copy link
Collaborator

@nikugogoi nikugogoi commented Dec 21, 2022

Part of #289

  • Discover peers
  • Connect between peers and send messages
  • Use peer package in browser react app
  • Send messages between systems in different networks

nikugogoi and others added 14 commits January 3, 2023 11:39
* Add a flag to instantiate Peer for nodejs

* Add a basic chat CLI using peer

* Add a signal server arg to chat CLI

* Add instructions for chat CLI
* Fix build issues in util package

* Update eslint TS plugins

* Scope react app package name

* Convert cli package back to CJS and dynamically import ESM

* Upgrade ts-node version

* Fix tests
* Add a script to setup a relay node

* Use pubsub based peer discovery

* Add peer multiaddr to connection log
prathamesh0 and others added 2 commits January 10, 2023 11:13
* Restrict number of max concurrent dials per peer

* Increase hop relay timeout to 1 day
@nikugogoi nikugogoi changed the title [WIP] Implement peer package to send messages between peers Implement peer package to send messages between peers Jan 10, 2023
nikugogoi and others added 3 commits January 10, 2023 17:33
…290)

* Increase pubsub discovery interval

* Disable autodial to avoid peer dials without protocol on a reconnect

* Add steps to create a peer id and use for relay node
@ashwinphatak ashwinphatak merged commit cd29b47 into main Jan 10, 2023
@ashwinphatak ashwinphatak deleted the ng-peer branch January 10, 2023 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants