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

Add example of an automated proposal signing program #90

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

wizzeh
Copy link

@wizzeh wizzeh commented Jun 30, 2023

This PR (sorry) does a couple of things:

  1. It breaks out the existing workspace into 3 separate crates. The existing example programs rely on old versions of dependencies that can't be upgraded yet. Something (probably the bpf dependency resolver?) is requiring that the workspace crate only have a single version of each dependency. This is preventing new work from being merged.
  2. It adds a new program, signatory-no-transfers, an example Anchor program which could be added as a required signer to a governance. The program will only sign off on proposals that don't involve token transfers. This should provide a framework for anyone who wants to create automatic constitutional rules for a governance.

Since this PR relies on this work that I did at @SebastianBor's suggestion, I'm marking it as a draft until that work is merged.

@wizzeh
Copy link
Author

wizzeh commented Aug 8, 2023

My work on spl-gov has been merged so I'm moving this out of draft.

@wizzeh wizzeh marked this pull request as ready for review August 8, 2023 22:01
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.

1 participant