Repository navigation
Add CLI instruction to transfer an authority - #157
Merged
fedgiac merged 5 commits intoSep 18, 2026
Merged
Conversation
Contributor
kaze-cow
requested changes
Sep 18, 2026
fedgiac
deleted the
federico/sc-417-add-cli-instruction-to-transfer-an-authority
branch
September 18, 2026 12:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add a path for the CLI to transfer an authority. This is specifically to transfer solver management to the solver team.
I also isolated the code that reads a keypair from a file or uses a default, since it's reused in the solver command and will be used again in the future. I also gave it a separate folder for future new commands.
How to test
Manually try on devnet that the authority gets changed as expected.
Example.
I decoded the account data before and after execution. Note that the second word of the account was changed, as expected for
reclaim-authority.