Skip to content

P2P support in ocean.js  #1887

@mihaisc

Description

@mihaisc

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions