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

feat: Add authority approval/removal for world instances #82

Merged
merged 8 commits into from
Oct 4, 2024

Conversation

GabrielePicco
Copy link
Contributor

@GabrielePicco GabrielePicco commented Oct 2, 2024

Add authority approval/removal for world instances

Status Type ⚠️ Core Change Issue
Ready Feature Yes #8

Problem

  • Systems where completely permissionless
  • Added a way to add/remove authorities authorities on a world instance
  • Adde a mechanism to approve/remove systems allows in a specific game instance

See #8 for a full description

Examples using the Bolt CLI

Authorize a new authority

bolt authorize JBupPMmv4zaXa5c8EdubsCPvoHZwCK7mwnDfmfs8dC5Y tEsT3eV6RFCWs1BZ7AXTzasHqTtMnMLCB2tjQ42TDXD

Deauthorize an authority

bolt deauthorize JBupPMmv4zaXa5c8EdubsCPvoHZwCK7mwnDfmfs8dC5Y tEsT3eV6RFCWs1BZ7AXTzasHqTtMnMLCB2tjQ42TDXD

Approve an authority using a specific key

bolt authorize JBupPMmv4zaXa5c8EdubsCPvoHZwCK7mwnDfmfs8dC5Y tEsT3eV6RFCWs1BZ7AXTzasHqTtMnMLCB2tjQ42TDXD --provider.wallet keypair.json

Approve a system

bolt approve-system JBupPMmv4zaXa5c8EdubsCPvoHZwCK7mwnDfmfs8dC5Y 6LHhFVwif6N9Po3jHtSmMVtPjF6zRfL3xMosSzcrQAS8

Remove a system

bolt authorize JBupPMmv4zaXa5c8EdubsCPvoHZwCK7mwnDfmfs8dC5Y 6LHhFVwif6N9Po3jHtSmMVtPjF6zRfL3xMosSzcrQAS8

Notes

  • PDAs can also be authorities, multisig, DAOs or outcome of a prediction market decision could approve/remove a system

Issues

Closes #8

@GabrielePicco GabrielePicco merged commit 529927b into main Oct 4, 2024
4 checks passed
@GabrielePicco GabrielePicco deleted the picco/add-systems-permission-system branch October 4, 2024 08:51
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.

Add a permission mechanism in the World program
1 participant