1 unstable release

0.0.1 Aug 16, 2024

#17 in #pubkey

Download history 153/week @ 2024-11-13 108/week @ 2024-11-20 12/week @ 2024-11-27 7/week @ 2024-12-04 22/week @ 2024-12-11 99/week @ 2024-12-18 48/week @ 2024-12-25 121/week @ 2025-01-01 89/week @ 2025-01-08 7/week @ 2025-01-15 24/week @ 2025-02-05 56/week @ 2025-02-12 89/week @ 2025-02-19 13/week @ 2025-02-26

182 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

~19–28MB
~489K SLoC