Service Execution

Once a service has been chosen, it is executed:

  1. The DApp displays the service in its interface.

  2. The DApp opens a payment channel with the Multi-Party Escrow contract and ensures that there are sufficient funds to pay for the service.

  3. It then invokes the service through the daemon.

  4. The DApp displays the response returned by the service.

The DApp in its current version will use MetaMask to integrate with the Binance blockchain, which means that all transactions will be done via MetaMask.

Querying the Registry smart contract would be costly, so the DApp currently relies on a centralized, serverless component to index and search the Registry. This is merely a performance optimization, as the Registry data is still stored on the Binance blockchain. A future version of the DApp will remove this centralized component but will retain Osiris centralized curation and display only curated services.

Last updated