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

Implement delegated AG #184

Merged
merged 1 commit into from
Apr 1, 2024
Merged

Implement delegated AG #184

merged 1 commit into from
Apr 1, 2024

Conversation

luistorres
Copy link
Member

Why:

We want to implement a delegated AG mechanism so it is citizend to support the fees of inserting the grants in the blockchain.

This change addresses the need by:

  • Calling the smartcontract from the UI with insertGrantBySignatureMessage that retrieves a message for the user to sign, granting the required permission for the projects to user later on
  • Make User signing the message
  • Send result to our server and call insertGrantBySignature, which closes the flow, by making our server wallet pay the transaction and inserts the AG from the user to the project in the blockchain

@luistorres luistorres self-assigned this Apr 1, 2024
@luistorres luistorres requested a review from DavideSilva April 1, 2024 18:15
@luistorres luistorres merged commit 5823128 into main Apr 1, 2024
3 checks passed
@luistorres luistorres deleted the lt/delegatedAccessGrants branch April 1, 2024 18:34
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

Successfully merging this pull request may close these issues.

2 participants