An example of a multisig to execute arbitrary Solana transactions.
This program can be used to allow a multisig to govern anything a regular Pubkey can govern. One can use the multisig as a BPF program upgrade authority, a mint authority, etc.
To use, one must first create a Multisig account, specifying two important
parameters:
Once the Multisig account is created, one can create a Transaction
account, specifying the parameters for a normal solana transaction.
To sign, owners should invoke the approve instruction, and finally,
the execute_transaction, once enough (i.e. threhsold) of the owners have
signed.
msigmtwzgXJHj2ext4XJjCDmpbcMuufFb5cHuwg6XdtTo verify: check out tag 0.7.0 and...
cd serum/multisig/programs/multisig
anchor verify msigmtwzgXJHj2ext4XJjCDmpbcMuufFb5cHuwg6Xdt`
Anchor is used for developoment, and it's recommended workflow is used here. To get started, see the guide.
anchor build --verifiable
The --verifiable flag should be used before deploying so that your build artifacts
can be deterministically generated with docker.
anchor test
To verify the program deployed on Solana matches your local source code, install
docker, cd programs/multisig, and run
anchor verify <program-id | write-buffer>
A list of build artifacts can be found under releases.
$ claude mcp add multisig \
-- python -m otcore.mcp_server <graph>