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

Bandada gatekeeper #568

Open
0xmad opened this issue Nov 8, 2024 · 5 comments
Open

Bandada gatekeeper #568

0xmad opened this issue Nov 8, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@0xmad
Copy link
Collaborator

0xmad commented Nov 8, 2024

As a coordinator I'd like to use gatekeeper and check if user is in group (offchain and/or onchain).

@0xmad 0xmad self-assigned this Nov 8, 2024
@0xmad 0xmad added the enhancement New feature or request label Nov 8, 2024
@ctrlc03
Copy link
Collaborator

ctrlc03 commented Dec 3, 2024

@0xmad How would this differ than just using excubiae? seems like we should be opting for one solution to simplify code, then if there's need for bandada that could come as an excubiae gatekeeper?
Also what exactly is a bandada gatekeeper? bandada on-chain would be semaphore, which is already available.

@0xmad
Copy link
Collaborator Author

0xmad commented Dec 3, 2024

So, if we don't need the pre/post hooks and just need to prove the membership of the user, it would be a good candidate for gatekeeper. As a group coordinator/owner, I can easily add the members using already implemented UI and don't need to implement my app to add users to semaphore. In case, if bandada can be replaced with semaphore and group coordinator/owner can use the UI, it's fine to keep only semaphore gatekeeper for on-chain. But what's about off-chain?

@ctrlc03
Copy link
Collaborator

ctrlc03 commented Dec 12, 2024

So, if we don't need the pre/post hooks and just need to prove the membership of the user, it would be a good candidate for gatekeeper.

In Excubiae you can make simple policies like our gatekeepers that do not require pre or post hooks (cc @0xjei)

As a group coordinator/owner, I can easily add the members using already implemented UI and don't need to implement my app to add users to semaphore. In case, if bandada can be replaced with semaphore and group coordinator/owner can use the UI, it's fine to keep only semaphore gatekeeper for on-chain. But what's about off-chain?

How would you verify offchain? Sounds to me that In order to verify the user inclusion we'd still need to move the merkle root onchain, so that becomes a merkle proof gatekeeper akin to this (ofc this wouldn't work as it uses msg.sender as leaf not the identity)?

@0xmad
Copy link
Collaborator Author

0xmad commented Dec 12, 2024

Ok, seems this task is more for platform side and integration with semaphore/merke proof gatekeepers and bandada.

@ctrlc03
Copy link
Collaborator

ctrlc03 commented Dec 13, 2024

Ok, seems this task is more for platform side and integration with semaphore/merke proof gatekeepers and bandada.

sweet, wanna transfer the issue over to maci platform?

@ctrlc03 ctrlc03 transferred this issue from privacy-scaling-explorations/maci Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants