swarms/ideas/309-js-protocol-library-web...

2.1 KiB

id title status created category lead-contributor contributors exit-criteria success-metrics clear-roles future-iteration roles-needed
309-js-library Build a status protocol JS library & example web client for status draft 2018-10-15 multi-category iurimatias (Iuri Matias)
Richard Ramos
Barry G
no
js library that is easy to reuse to implement custom clients for status
proof of concept web chat client
no yes
JS or TS developers (nodejs, react, redux)
Frontend developers (css, bootstrap)

Preamble

Idea: 309 Title: Build a status protocol JS library & example web client for status Status: Draft Created: 2018-10-15

Summary

We need to make it easier for devs & 3rd parties to build their own chat clients & applications on top of the status protocol. We also need different/new client implementations which just like in the case of Ethereum itself, helps out flush the protocol and define it better. Arguably It also helps decentralization as users are not necessarily dependant on one client implementation.

Swarm Participants

Technical solution

  • JS library that abstracts protocol, so developer can: -- connect to (a) network -- listen & send messages to a channel or another user -- is allowed to specify his own (sub)-app protocol
  • Webapp client -- serverless app, connects to local geth node (initial solution) -- implements similar UI & functionality to existing status desktop

Technologies to use

  • nodejs + webpack (to build library for both node and browser)
  • react
  • redux

Milestones

    1. poc script that listens & display messages on the command line connected to a configured geth node.
    1. NodeJS library to listen to & send messages to custom channels.
    1. poc WebUI to listen to & send messages to custom channels.

Dates

To start after Devcon.

relevant work