You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We don't support access-control or delegates for request creation, and updates (accept, cancel, increaseExpectedAmount, decreaseExpectedAmount). Only the payee or payer identity addresses can create or update the request.
Motivation
This feature could allow for automation - where a dapp or platform is empowered by the end user to create/update requests on the user's behalf.
Possible Solutions
1-of-2 MPC Wallet - End User share, Platform Share, either can create requests
Change the Protocol to allow 3rd parties to create requests, not just Payee / Payer
Lit Protocol Access Controls
Inspiration
We already support delegates for declarePaymentSent and declarePaymentReceived. Maybe this could be extended to request creation and other types of updates?
Lit Protocol PoC will make it possible for end-user to fully own their data
This will make it easier for platforms to create requests on behalf of user.
The text was updated successfully, but these errors were encountered:
MantisClone
changed the title
Add mechanism to delegate request creation and updates (accept, cancel, increase, decrease, addStakeholder)
Add access-control mechanism so payee or payer can delegate request creation and updates (accept, cancel, increase, decrease, addStakeholder)
Jan 23, 2024
Hey @MantisClone I would like to work on this one.
My initial thought is:
Creation of DIDs:
Creating the DID with the issuer as DID subject, and all the delegates as DID controllers including the subject. The DID Doc should contain a delegates property which will contain all the delegates of the issuer and a state property to mention the state of the DID.
The issues can remove any delegates from the DID Doc but the delegates can only remove themselves from the DID Doc.
Creating requests with DIDs:
While creating the request instead of Eth Address we can use the DID.
The access control mechanism:
While for create, update, and other methods we can verify the signer's identity if he is the DID Subject or inside the delegates array in DID Docs.
Should I create a draft PR about the in-depth implementation of this?
Problem
We don't support access-control or delegates for request creation, and updates (accept, cancel, increaseExpectedAmount, decreaseExpectedAmount). Only the payee or payer identity addresses can create or update the request.
Motivation
This feature could allow for automation - where a dapp or platform is empowered by the end user to create/update requests on the user's behalf.
Possible Solutions
Inspiration
Consideration
Do after we implement Lit Protocol PoC
Lit Protocol PoC will make it possible for end-user to fully own their data
This will make it easier for platforms to create requests on behalf of user.
The text was updated successfully, but these errors were encountered: