1 unstable release

0.0.1 Aug 16, 2024

#12 in #pubkey

Download history 141/week @ 2024-08-14 23/week @ 2024-08-21 15/week @ 2024-08-28 36/week @ 2024-09-04 27/week @ 2024-09-11 82/week @ 2024-09-18 94/week @ 2024-09-25 68/week @ 2024-10-02 137/week @ 2024-10-09

395 downloads per month

Apache-2.0

17KB
336 lines

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:

  1. Owners - the set of addresses that sign transactions for the multisig.
  2. Threshold - the number of signers required to execute a transaction.

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. threshold) of the owners have signed.

Dependencies

~17–26MB
~441K SLoC