-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On-chain consent: API-in-Market or Service-in-Market #38
Comments
Given a published API
and a registered XBR member "Alice" that has joined a XBR data market 7 as a seller, "Alice" may now announce that she will provide a service in that market implementing the given API by calling: function offerService (bytes16 marketId,
bytes16 api,
string memory prefix,
address delegate) public;
further, she
|
here is an example of the data association we need to track:
|
for the discussed variant, which is actually "API-in-Market", pls see https://github.com/crossbario/xbr-protocol/blob/master/docs/_static/docs/xbr_datamodel_variant1.pdf This will result in eg:
the main variant would be: "Service-in-Market" consent tracking https://github.com/crossbario/xbr-protocol/blob/master/docs/_static/docs/xbr_datamodel_variant1b.pdf |
|
|
A seller delegate may offer an instance of a service that provides data, conforming to an API (which is available in a given market).
Eg seller 7 registered in a market 3 may announce that one of its (seller 7) seller delegates is providing a service that implements API 6.
This announcment is a willing commitment of seller 7 to provide the respective data - in other words, seller 7 gives his consent to that.
We need to track this consent on-chain in a SC.
The text was updated successfully, but these errors were encountered: