-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Labels
Milestone
Description
Should support p2p commands.
Update call logic to use p2p
Implement p2plib
Update docs
#specs needed
Besides supporting P2P calls to node, unification of Provider and Aquarius classes will be necessary, for backwards compatibility with ols stack (Aquarius and Provider), the lib need to be downgraded (we can mention in the README as well for ocean.js the stable version that supports Aquarius and Provider).
Each wrapper function that interact with Node, will support a string parameter (URI or nodeId), depending on the value format (if it's URI or nodeId), ocean.js decides which protocol to use for node's communication (HTTP, P2P).
Each wrapper function will integrate P2P logic.