Skip to content
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

Add require method #7

Open
bkaptijn opened this issue Apr 2, 2019 · 0 comments
Open

Add require method #7

bkaptijn opened this issue Apr 2, 2019 · 0 comments

Comments

@bkaptijn
Copy link
Contributor

bkaptijn commented Apr 2, 2019

With require() one can denote an abundance service requires the actor in need to have a claim with a certain predicate and requires this claim to be attested by a given other SSID as attestor that used a given second predicate.

require (serviceSsid, predicate, attestorDid, attestPredicate)

The service can use the core verify() method to assert the requirement before offering a solution. A service can match a need before all requirements are met as some requirements may involve information that needs to be communicated over more private channels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant