vacp2p / research

Thinking in code
MIT License
62 stars 4 forks source link

Waku v2 - Dingpu testnet #48

Closed oskarth closed 3 years ago

oskarth commented 3 years ago

Follows on Nangang testnet (https://github.com/vacp2p/research/issues/43) but with slightly more capabilities.

Scope

In addition to Nangang:

  1. Store and filter usage
  2. Specs: store and filter in draft
  3. Second client: basic Waku Web support
  4. Interface: basic chat-style interface

Stretch goals

  1. Closer towards bridge: run node with Waku v1 and v2 together
  2. Companion spec with legacy/existing for encryption https://github.com/vacp2p/specs/issues/181 https://github.com/vacp2p/specs/issues/194

Where does the name from?

頂埔站 Dingpu metro station in Taipei https://en.wikipedia.org/wiki/Dingpu_metro_station

Acceptance criteria

  1. All devs can use basic chat interface example to talk to each other
  2. This includes storeclient for basic history view
  3. Ditto for filter
  4. Can interface using Waku Web (e.g. Node or possibly browser, might be hacky)
  5. Store and filter specs marked as draft

Stretch:

  1. Run node with v1 and v2 both running
  2. Use envelope data field spec for inside of message as PoC

Tasks

(Not a complete list yet)

General

Store and filter

Stretch goals

oskarth commented 3 years ago

Update: https://github.com/vacp2p/specs/issues/194 and https://github.com/vacp2p/specs/issues/181 addressed.

Implementation issues created in nim-waku: https://github.com/status-im/nim-waku/issues/191 and https://github.com/status-im/nim-waku/issues/192

Strictly speaking the former isn't a must (protobuf defaults to 0) but it helps to make it explicit. The second is part of the stretch goal.

oskarth commented 3 years ago

End to end interface implemented https://github.com/vacp2p/research/issues/48

oskarth commented 3 years ago

Updated issue and board with store and filter todos. As you can see it is quite a lot. @decanus

oskarth commented 3 years ago

Brief update: main blocker https://github.com/status-im/nim-waku/issues/215 was addressed.

@decanus is working on https://github.com/vacp2p/specs/issues/180

I started working on https://github.com/vacp2p/waku-web-chat/issues/1 issue.

Any luck with the two nodes in one or including v1 encrypted payload @kdeme? Would be nice to have these as part of the testnet

oskarth commented 3 years ago

Waku web spec compliant (though not very stable but eh)

oskarth commented 3 years ago

Update: above addressed.

Also adding https://github.com/vacp2p/specs/pull/222 to scope to get all specs to draft status.

Removing encrypted payload from scope (stretch goal initially).

oskarth commented 3 years ago

As soon as https://github.com/status-im/nim-waku/pull/228 is merged we can close this

oskarth commented 3 years ago

Done!