chore: protocol implementations in @waku/core
should be as unopinionated as possible
#1886
Closed
3 tasks done
This is a change request
Problem
Our protocol implementations exist is
@waku/core
, and offer opinions on the usage such as:These opinions are assumptions we have made, and they sit close with the code for the protocol's purest implementation.
Problems with having a general SDK-like functionalities with protocol implementation:
Proposed Solutions
It would be a better approach to decouple opinions as much as possible from the protocol implementation, thus keeping it as close to pure, while introducing opinions within
@waku/sdk
.This also allows us flexibility in terms of the different APIs we can provide for each protocol.
Acceptance Criteria
@waku/sdk
#1887@waku/sdk
(1/n) #1964@waku/sdk
#1913Notes
@waku/message-hash
and use@waku/core
#1810 (comment)The text was updated successfully, but these errors were encountered: