Client node is a SONM component that provides a uniform API to access SONM core functions for external software (Wallet/CLI).
Client node has functions for Consumer and Supplier, that are provided by Client node API. And Client node takes part in automatic processes, where Consumer and Supplier does not participate.
Consumers and Suppliers can place and cancel orders on SONM market. They can also list and filter current orders on the market.
For BID orders placed by Consumer Client node automatically searchs matching orders on the market. If matching order found, the Deal is created.
Client node creates Deal automatically for placed BID orders. Client node also allows creating Deal based on selected ASK order.
Client node enables Deal monitoring and managing Deal Change Requests.
Run and control tasks
Task consists of two parts: description and image. Description is sent through UI (CLI or Wallet) - Client node - Worker node. Image can be pushed by Consumer to Docker registry or it can be pushed directly to the Worker via push method.
Client node provides functions:
After task stop the resulting image may be received from Worker.
Supplier's Client node interacts with Workers using Worker Management API. Interaction is over open channels, encrypted with TLS. Functions:
Create ASK-plans on Workers to publish ASK orders. Function initiates by Supplier in GUI/CLI and is used by Autosell bot. ASK-plans are automatically published on the Market as ASK orders, when underlying Worker resources are free. Worker automatically scans Market for orders matching hos ASK orders and initiates deal creation for found candidates.