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

Eth-PM using Noise + Library #240

Open
weboko opened this issue Jun 15, 2023 · 4 comments
Open

Eth-PM using Noise + Library #240

weboko opened this issue Jun 15, 2023 · 4 comments

Comments

@weboko
Copy link
Contributor

weboko commented Jun 15, 2023

There was a question in Discord about broadcasting messages from an Ethereum node.

I thought it might be a nice catchy example to have implemented and put into our guide section especially considering there are a lot of L2 chain projects happening.

wdyt @LordGhostX @hackyguru ?

@weboko weboko added this to Waku Jun 15, 2023
@weboko weboko moved this to Triage in Waku Jun 15, 2023
@LordGhostX
Copy link
Contributor

Based on what I gathered from the conversation:

  • The user wants to establish communication between two files/cmds/nodes (clients).
  • They have identified Waku as a promising solution (which is correct).
  • The proposed solution involves setting up a nwaku/go-waku node and connecting both clients (JSON-RPC, SDKs).

Are you inquiring about the possibility of providing an example that demonstrates two clients communicating or proxying messages to/from an Ethereum node?

PS: The documentation is being relocated to https://docs.waku.org/ and is still in development.

@fryorcraken
Copy link
Collaborator

fryorcraken commented Jun 29, 2023

Proposed way forward:

(1) Draft a protocol that is similar to ETH-PM but uses noise.
(2) Write a bounty with few outputs:

  • implement protocol above as a library
  • PoC that uses the library

We can then write a guide on how to do wallet to wallet communications.

In general, any good ideas for a guide can be recorded as an issue in docs.waku.org repo.
Any good ideas for PoC can be recorded in bounties repo.

@fryorcraken fryorcraken changed the title Advanced examples of Waku Eth-PM using Noise + Library Jun 29, 2023
@fryorcraken fryorcraken moved this from Triage to To Do in Waku Jun 29, 2023
@fryorcraken
Copy link
Collaborator

After starting to draft the protocol: vacp2p/rfc#606

I don't think a bounty is a good idea. However, I do think it'd be good to create a library and use it in Eth-PM.

I'd also think that we should move the example to light push + filter + store. The usage of store will make the UX better to retrieve the static public key of the users and as we know, Relay in the browser is not yet that useful.

@fryorcraken
Copy link
Collaborator

Finally, let's aim to do this work in 2024. Focus for now should be on making codebase production ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Icebox
Development

No branches or pull requests

3 participants