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

Advanced docs for js-waku #104

Closed
6 of 8 tasks
Tracked by #914
fryorcraken opened this issue Aug 3, 2023 · 13 comments
Closed
6 of 8 tasks
Tracked by #914

Advanced docs for js-waku #104

fryorcraken opened this issue Aug 3, 2023 · 13 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@fryorcraken
Copy link
Contributor

fryorcraken commented Aug 3, 2023

Planned start date:
Due date:

Summary

Complement the current basic js-waku docs.

Acceptance Criteria

The following guides are published:

  • Use @waku/react
  • Use symmetric encryption/decryption
  • Use ECIES encryption/decryption
  • Use noise for device pairing
  • Instructions to debug your web app when using js-waku
  • js-waku in NodeJS
  • Instructions to run a nwaku node for local js-waku browser development

Tasks

RAID (Risks, Assumptions, Issues and Dependencies)

  • js-waku's API needs to be stable and reliable
  • js-waku devs need to provide support and fix any raised bug
@LordGhostX
Copy link
Contributor

LordGhostX commented Aug 7, 2023

Weekly Update

  • next: create guide on @waku/react and debugging js-waku web apps

@fryorcraken
Copy link
Contributor Author

Also explain js-waku in NodeJS.
Current recommendations for NodeJS
And that it doesn't make sense to use BE/FE model like NestJS or express.

@fryorcraken
Copy link
Contributor Author

Also explain local development setup. Running nwaku docker with ws (not wss), serving website locally and the fact that secure context protection from the browser (no ws in https) doesn't apply when the website is served locally (127.0.0.1 url)

@LordGhostX
Copy link
Contributor

LordGhostX commented Aug 14, 2023

Weekly Update

  • next: document notes/recommendations for NodeJS, begin docs on js-waku encryption

@LordGhostX
Copy link
Contributor

Weekly Update

  • achieved: added guide for js-waku debugging and running in NodeJS
  • next: js-waku encryption guides

@fryorcraken fryorcraken changed the title [Milestone] Advanced docs for js-waku [Epic] Advanced docs for js-waku Aug 24, 2023
@fryorcraken fryorcraken added epic Tracks a yearly team epic (only for waku-org/pm repo) and removed milestone Tracks a subteam milestone labels Aug 24, 2023
@LordGhostX
Copy link
Contributor

Weekly Update

  • achieved: added guide for local development with nwaku

@fryorcraken
Copy link
Contributor Author

Manage filter subscription to be added here cc @danisharora099

@danisharora099
Copy link
Contributor

danisharora099 commented Oct 12, 2023

@LordGhostX we want to add a new section perhaps titled Manage your Filter subscription where:

  • if they wish to maintain their Filter subscription (to account for unwarranted disconnections with the node), they should keep a recurring ping open on Filter to check for active subscriptions.
  • If the ping fails with the error message includes peer has no subscriptions (happy to provide a better way to handle this case if required)
  • if it's a deliberate disconnection/unsubscribe for the Filter subscription, pings can be stopped.

Added a test to js-waku that can be used as a reference for this section: waku-org/js-waku#1656 (perhaps a permalink to this can be used for the prod docs when the PR is merged and the entire ping.node.spec.ts file can be used a reference for Filter.ping())

Please let me know if you would prefer any change of API/improvements :)
Also, I'm happy to make a PR to the docs if you'd prefer :)

@danisharora099
Copy link
Contributor

danisharora099 commented Oct 12, 2023

Also part of waku-org/js-waku#914, we would like to add docs around consumers being able to gauge connection/disconnection with nodes for peers: waku-org/js-waku#1412 (comment) sums up how we can do that

@LordGhostX
Copy link
Contributor

Weekly Update

@fryorcraken fryorcraken added documentation Improvements or additions to documentation and removed epic Tracks a yearly team epic (only for waku-org/pm repo) labels Nov 7, 2023
@fryorcraken fryorcraken changed the title [Epic] Advanced docs for js-waku Advanced docs for js-waku Nov 7, 2023
@LordGhostX
Copy link
Contributor

Weekly Update

@LordGhostX
Copy link
Contributor

Weekly Update

  • achieved: published manage filter guide, finished react docs
  • next: ECIES and symmetric encryption/decryption

@fryorcraken
Copy link
Contributor Author

@LordGhostX I think we can close this issue and track encryption with #125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
Status: Done
Development

No branches or pull requests

3 participants