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

User can join new public channel (a topic on our libp2p network) #10

Open
holmesworcester opened this issue Oct 16, 2020 · 1 comment
Open

Comments

@holmesworcester
Copy link
Contributor

Once a user is given a user is given a zcash address and viewing key of channel, they can join it.

All users are joined to a "master" channel on startup.

To join a channel:

  1. user ensures that they have a unique hidden service for the new channel.
  2. user sends a message to the master channel, encrypted to the channel's zcash address, asking for peers for the channel with zcash address A.
  3. All peers attempt to decrypt all messages sent to the master channel.
  4. Peers respond in a message to channel 18, encrypted to recipient, with a message containing the hidden service addresses they know about.
  5. User joins the libp2p/gossipsub network using the unique hidden service.
@holmesworcester holmesworcester added this to the backlog milestone Oct 16, 2020
@holmesworcester holmesworcester changed the title User can join a channel User can join new libp2p networks Nov 17, 2020
@holmesworcester holmesworcester changed the title User can join new libp2p networks User can join new public channel (a libp2p network with a name) Nov 17, 2020
@holmesworcester
Copy link
Contributor Author

Update: user asks on "master channel" ("channel 18") to join network with this name. And another user adds them or gives them what they need to join, and they join.

@holmesworcester holmesworcester changed the title User can join new public channel (a libp2p network with a name) User can join new public channel (a topic on our libp2p network) Nov 17, 2020
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

No branches or pull requests

1 participant