Commands
Fortis cli offers a bunch of commands to easily interact with forits
Commands
Create multisig
Approve proposals
Close Proposal Accounts
Create new Proposal
Execute Proposal
Multisig Create
Description
Creates a new multisig with initial members ,threshold configuration and optional rent collector.
multisig-create --keypair <KEYPAIR_PATH> --members "MEMBER_1_PUBKEY MEMBER_2_PUBKEY ..." --rent-collector <RENT_COLLECTOR> --threshold <THRESHOLD>Parameters
--rpc-url <RPC_URL>: (Optional) The URL of the Solana RPC endpoint. Defaults to mainnet if not specified.--rent-collector <RENT_COLLECTOR>: (Optional) The Public key that will be able to reclaim rent from rejected and executed proposals.Defaults to Fortis treasury--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.
Approve Proposal
Description
Approve a proposed transaction proposal. This command allows a member of a multisig to approve a transaction proposal.
Parameters
--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 Accounts Close
Description
Closes the proposal and transaction accounts associated with a specific Transaction. The rent will be returned to the multisigs "rent_collector".
Parameters
--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 Create
Description
Creates a new proposal with a custom transaction message.
Parameters
--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(encoded to base58).
Proposal Execute
Description
Executes a proposal, once the threshold has reached.
Parameters
--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.
Last updated