| Crates.io | fortis-multisig-cli |
| lib.rs | fortis-multisig-cli |
| version | 1.0.1 |
| created_at | 2025-12-14 18:19:02.800033+00 |
| updated_at | 2025-12-15 21:14:33.915043+00 |
| description | Command line interface to interact with the Fortis program. |
| homepage | https://github.com/Fortis-labs/fortis-cli |
| repository | https://github.com/Fortis-labs/fortis-cli |
| max_upload_size | |
| id | 1984884 |
| size | 290,472 |
cli for fortis multisig.
Fortis multisig cli is an extesive toolkit to support multisig proposal workflows on SVMThe following is an overview of commands available to interact Fortis Multisig Cli.
Overview
You can install the CLI with Cargo. For this an installation of Rust will be needed. You can find installation steps here.
To install
cargo install fortis-multisig-cli
We Provide the same wallet support as the Solana CLI, meaning it supports file system wallets as well as Ledger hardware wallets.
You can easily use your local filesystem wallet by using it as the "keypair" argument in commands.
fortis-multisig-cli example-command --keypair /path/to/keypair.json
This specifies the path of the Keypair that you want to use to sign a CLI transaction.
To use a Ledger with the Fortis CLI, just specify the Ledger device URL in the "keypair" argument.
fortis-multisig-cli example-command --keypair usb://ledger
This will use the default derivation path of your Ledger.
fortis-multisig-cli example-command --keypair usb://ledger/5BvrQfDzwjFFjpaAys2KA1a7GuuhLXKJoCWykhsoyHet?key=0/0
This specifies a custom derivation path. You can read more about it here.
Creates a new multisig with members and threshold configuration.
multisig-create --rpc-url <RPC_URL> --keypair <KEYPAIR_PATH> --rent-collector <RENT_COLLECTOR> --members <MEMBER_1> <MEMBER_2> ... --threshold <THRESHOLD>
--rpc-url <RPC_URL>: (Optional) The URL of the Solana RPC endpoint. Defaults to mainnet if not specified.--keypair <KEYPAIR_PATH>: Path to your keypair file.--members <MEMBER_...>: List of members' public keys, separated by spaces.--threshold <THRESHOLD>: The threshold number of signatures required for executing multisig transactions.--rent-collector <RENT_COLLECTOR> : The Public key that will be able to reclaim rent from canceled and executed transactions.multisig-create --keypair /path/to/keypair.json --members "Member1PubKey" "Member2PubKey" --threshold 2 --rent-collector <RENT_COLLECTOR>
Creates a new multisig account with two members and a threshold of 2.
Approve a proposed transaction proposal. This command allows a member of a multisig to approve, a transaction proposal.
proposal-approve --rpc_url <RPC_URL> --keypair <KEYPAIR_PATH> --multisig-pubkey <MULTISIG_PUBLIC_KEY> --transaction-index <TRANSACTION_INDEX>
--rpc-url <RPC_URL>: (Optional) The URL of the Solana RPC endpoint. Defaults to mainnet if not specified.--keypair <KEYPAIR_PATH>: Path to your keypair file.--multisig-pubkey <MULTISIG_PUBLIC_KEY>: The public key of the multisig account.--transaction-index <TRANSACTION_INDEX>: The index of the transaction to vote on.proposal-approve --keypair /path/to/keypair.json --multisig-pubkey <MULTISIG_PUBLIC_KEY> --transaction_index 1 --action Approve
Closes the proposal and transaction accounts associated with a specific Proposal. The rent will be returned to the multisigs "rent_collector".
proposal-accounts-close --rpc_url <RPC_URL> --keypair <KEYPAIR_PATH> --multisig-pubkey <MULTISIG_PUBLIC_KEY> --transaction-index <TRANSACTION_INDEX> --rent-collector <RENT_COLLECTOR_PUBKEY>
--rpc-url <RPC_URL>: (Optional) The URL of the Solana RPC endpoint. Defaults to mainnet if not specified.--keypair <KEYPAIR_PATH>: Path to your keypair file.--multisig-pubkey <MULTISIG_PUBLIC_KEY>: The public key of the multisig account.--transaction-index <TRANSACTION_INDEX>: The index of the transaction whose accounts are to be closed.--rent-collector <RENT_COLLECTOR_PUBKEY>: The public key of the account responsible for collecting rent.proposal-accounts-close --keypair /path/to/keypair.json --multisig-pubkey <MULTISIG_PUBLIC_KEY> --transaction-index 1 --rent-collector <RENT_COLLECTOR_PUBKEY>
In this example, the command closes the proposal accounts for the transaction at index 1 in the specified multisig account and collects rent using the provided rent collector public key.
Creates a new proposal with a custom transaction message.
proposal-create --rpc-url <RPC_URL> --keypair <KEYPAIR_PATH> --multisig-pubkey <MULTISIG_PUBLIC_KEY> --transaction-message <TRANSACTION_MESSAGE>
--rpc-url <RPC_URL>: (Optional) The URL of the Solana RPC endpoint. Defaults to mainnet if not specified.--keypair <KEYPAIR_PATH>: Path to your keypair file.--multisig-pubkey <MULTISIG_PUBLIC_KEY>: The public key of the multisig account.--transaction-message <TRANSACTION_MESSAGE>: The message or payload of the transaction.proposal-create --keypair /path/to/keypair.json --multisig-pubkey <MULTISIG_PUBLIC_KEY> --vault-index 1 --transaction-message [1, 2, 3, 5, 5, 6, 7, 8]
In this example, a new transaction with the specified message is proposed in the multisig vault.
Executes a proposal ,once it has reachen threshold.
proposal-execute --rpc-url <RPC_URL> --keypair <KEYPAIR_PATH> --multisig-pubkey <MULTISIG_PUBLIC_KEY> --transaction-index <TRANSACTION_INDEX>
--rpc-url <RPC_URL>: (Optional) The URL of the Solana RPC endpoint. Defaults to mainnet if not specified.--keypair <KEYPAIR_PATH>: Path to your keypair file.--multisig-pubkey <MULTISIG_PUBLIC_KEY>: The public key of the multisig account.--transaction-index <TRANSACTION_INDEX>: The index of the transaction to be executed.vault-transaction-execute --keypair /path/to/keypair.json --multisig-pubkey <MULTISIG_PUBLIC_KEY> --transaction-index 1
This example executes the proposal at index 1 in the specified multisig.