Service Daemon exposes an AI application as an API that is accessible through the SingularityNET Network. It handles all interaction with the blockchain for authorization and payment using AGI tokens and passes through API calls to the AI application.
Our experience with authentication using current Ethereum block shown that it is not convenient:
it sticks whole payment system to Ethereum. It is not bad for the escrow payments as they use Ethereum anyway, but generally it is not good (for freecall payments for example) as we plan to support other payment methods in future;
it is not faster than requesting random number from server side as both methods require making RPC.
So we should probably invent another authentication method to be able using it when payment method is not based on Ethereum.
Steps required:
[ ] collect authentication use cases from the code
[ ] discuss which authentication method could replace current Ethereum block
Our experience with authentication using current Ethereum block shown that it is not convenient:
So we should probably invent another authentication method to be able using it when payment method is not based on Ethereum.
Steps required: