cli: Add commands to create valid SPL Multisig and set mint authority#628
cli: Add commands to create valid SPL Multisig and set mint authority#628
Conversation
…n-authority` PDA (or valid SPL Multisig)
|
For local testing, I used a demo Solana devnet deployment: 8y2hh2wGnagy8wc8Fe8xsjUtLSHnzFbiPmFNrext4jHm |
|
Could you separate the work for the TODO refactor from the new functionality to make this easier to review? |
The TODO refactor refers to this commit: a385a5b. As it is very small in scope. I added it with this PR. However, if you think it makes it easier if it were moved out, I can undo that commit. On a similar note, I've split the commits based on features so it might be easier to review the commits one-by-one. |
Sounds good, will do that then. |
Co-authored-by: evgeniko <97796468+evgeniko@users.noreply.github.com>
This PR adds:
create_spl_multisig <multisigMemberPubkey...>command that mimicsspl-token create-multisigto create valid SPL Multisig.set-mint-authority <newAuthority>command that sets mint authority based on version:3.x.x: callsspl.setAuthoritydirectly3.x.x: callsacceptTokenAuthoritynewAuthorityis a valid SPL Multisig via the--multisigflag