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

Support multiple superuser addresses in Ownable #3347

Open
stefann-01 opened this issue Dec 16, 2024 · 1 comment
Open

Support multiple superuser addresses in Ownable #3347

stefann-01 opened this issue Dec 16, 2024 · 1 comment

Comments

@stefann-01
Copy link
Contributor

Extend Ownable to supports two superuser addresses (main and backup). This would allow users to recover contracts if the main address is lost while keeping the simplicity of the existing design for those who don’t need this feature. The Authorizable extension allows multiple addresses but still relies on a single superuser, which doesn’t fully address this issue.

I’m interested in working on this but would first appreciate hearing some thoughts.

@n2p5
Copy link
Contributor

n2p5 commented Dec 20, 2024

Yes. I ran into a similar issue, and it is why I built mgroup for my config realm .

I'd love to collaborate on this as well. I made some design choices for mgroup (short for Managed Group) that work for what I needed, but I think it could be generalized. What I wanted was:

  • Primary Owner - Can and Add backup Owners and members
  • Backup Owners (Backup Owners can ClaimOwnership() to become the Primary Owner
  • Members are like what's in Authorizable, but it has a few features like paginated listing of members, etc.

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

No branches or pull requests

2 participants