singnet / snet-daemon

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.
MIT License
46 stars 49 forks source link

Agent Oraclization #32

Open ldub opened 6 years ago

ldub commented 6 years ago

Agent Oraclization, or the ability to allow third party smart contract to use SingularityNET services (hosted offchain) as oracles, requires changes in the platform-contracts (singnet/platform-contracts/issues/28) as well as changes in the daemon itself to become an Oracle.

ferrouswheel commented 6 years ago

Am curious... does "Oracle" have a specific meaning in the blockchain world? Or is it our own definition for exposing SNet services to external smart contracts?

tiero commented 6 years ago

The blockchains in general have limited or zero external transport capabilities, resulting in tiny surface of attack wich is good, but also no way to gather data from outside. The concept of oracle can be trustful (such as just an API of third party). The problem is that if the API changes or disappear, the smart contract will not behave in a deterministic way for the same input. Some provably honest solution are out there, for example take a look at oraclize.it