Skip to content

Latest commit

 

History

History
317 lines (248 loc) · 9.83 KB

File metadata and controls

317 lines (248 loc) · 9.83 KB

safely

Enter the Terminal User Interface (TUI) for interactive multisig management

When no command is specified, safely launches an interactive terminal interface
that provides a menu-driven experience for managing multisigs.

Features:
  - Visual menu navigation
  - Interactive multisig management
  - Proposal viewing and voting
  - Account configuration

safely account [options] [command]

Multisig account operations

Options:
  -h, --help        display help for command
Commands:
  create [options]  Create a new multisig account
  update [options]  Update multisig owners and optionally the number of
                    required signatures
  show [options]    Show multisig summary
  help [command]    display help for command

safely account create [options]

Create a new multisig account

Options:
  -o, --additional-owners <addresses>     Comma-separated list of additional owner addresses
  -n, --num-signatures-required <number>  Number of signatures required for execution
  -p, --profile <string>                  Profile to use for the transaction
  --network <network>                     network to use (choices: "aptos-devnet", "aptos-testnet", "aptos-mainnet", "movement-mainnet", "movement-testnet")
  -h, --help                              display help for command

safely account update [options]

Update multisig owners and optionally the number of required signatures

Options:
  -a, --owners-add <addresses>            Comma-separated list of owner addresses to add
  -r, --owners-remove <addresses>         Comma-separated list of owner addresses to remove
  -n, --num-signatures-required <number>  New number of signatures required for execution
  -m, --multisig-address <address>        multisig account address
  -p, --profile <string>                  Profile to use for the transaction
  --network <network>                     network to use (choices: "aptos-devnet", "aptos-testnet", "aptos-mainnet", "movement-mainnet", "movement-testnet")
  -h, --help                              display help for command

safely account show [options]

Show multisig summary

Options:
  -m, --multisig-address <address>  multisig account address
  --network <network>               network to use (choices: "aptos-devnet",
                                    "aptos-testnet", "aptos-mainnet",
                                    "movement-mainnet", "movement-testnet")
  --fullnode <url>                  Fullnode URL override
  -h, --help                        display help for command

safely propose [options] [command]

Propose a new transaction for a multisig

Options:
  -m, --multisig-address <address>  multisig account address
  --network <network>               network to use (choices: "aptos-devnet",
                                    "aptos-testnet", "aptos-mainnet",
                                    "movement-mainnet", "movement-testnet")
  -p, --profile <string>            Profile to use for the transaction
  --force                           propose transaction despite simulation
                                    failure
  --dry-run                         simulate transaction without proposing
  -h, --help                        display help for command
Commands:
  raw [options]                     Propose a raw transaction from a payload
                                    file (supports batch payloads)
  predefined                        Propose a predefined transaction type
  help [command]                    display help for command

safely propose raw [options]

Propose a raw transaction from a payload file (supports batch payloads)

Options:
  --payload <payload>  Transaction payload (JSON/YAML file path, JSON string,
                       or - for stdin)
  --yes                Skip confirmation prompt for batch payloads
  -h, --help           display help for command

safely propose predefined [options] [command]

Propose a predefined transaction type

Options:
  -h, --help                 display help for command
Commands:
  transfer-assets [options]  Transfer assets to an address
  help [command]             display help for command

safely propose predefined transfer-assets [options]

Transfer assets to an address

Options:
  --asset <type>         Either coin type of fungible asset address
  --recipient <address>  Recipient address
  --amount <number>      Amount to transfer
  -h, --help             display help for command

safely vote [options]

Vote on a pending transaction

Options:
  -s, --sequence-number <number>    sequence number of transaction to vote on
  -a, --approve <boolean>           true to approve, false to reject
  -m, --multisig-address <address>  multisig account address
  --network <network>               network to use (choices: "aptos-devnet",
                                    "aptos-testnet", "aptos-mainnet",
                                    "movement-mainnet", "movement-testnet")
  -p, --profile <string>            profile name of voter
  -h, --help                        display help for command

safely execute [options]

Execute a multisig transaction

Options:
  -m, --multisig-address <address>  multisig account address
  -p, --profile <string>            Profile to use for the transaction
  --reject                          Reject the transaction instead of executing
                                    it
  --network <network>               network to use (choices: "aptos-devnet",
                                    "aptos-testnet", "aptos-mainnet",
                                    "movement-mainnet", "movement-testnet")
  -h, --help                        display help for command

safely proposal [options]

List proposals for a multisig

Options:
  -m, --multisig-address <address>  multisig account address
  --network <network>               network to use (choices: "aptos-devnet",
                                    "aptos-testnet", "aptos-mainnet",
                                    "movement-mainnet", "movement-testnet")
  --fullnode <url>                  Fullnode URL override
  -s, --sequence-number <number>    fetch transaction with specific sequence
                                    number
  -h, --help                        display help for command

safely simulate [options]

Simulate multisig transaction

Options:
  -m, --multisig-address <address>  multisig account address
  --network <network>               network to use (choices: "aptos-devnet",
                                    "aptos-testnet", "aptos-mainnet",
                                    "movement-mainnet", "movement-testnet")
  --fullnode <url>                  Fullnode URL override
  -s, --sequence-number <number>    fetch transaction with specific sequence
                                    number
  -h, --help                        display help for command

safely decode [options]

Decode multisig transaction bytes (experimental)

Options:
  -b, --bytes <bytes>  transaction bytes to decode (hex string starting with
                       0x)
  --network <network>  network to use (choices: "aptos-devnet",
                       "aptos-testnet", "aptos-mainnet", "movement-mainnet",
                       "movement-testnet")
  --fullnode <url>     Fullnode URL override
  -h, --help           display help for command

safely encode [options]

Encode entry function payload (experimental)

Options:
  --payload <payload>  Transaction payload (file path, JSON string, or - for
                       stdin)
  --network <network>  network to use (choices: "aptos-devnet",
                       "aptos-testnet", "aptos-mainnet", "movement-mainnet",
                       "movement-testnet")
  --fullnode <url>     Fullnode URL override
  -h, --help           display help for command

safely label [options] [command]

Manage address labels

Options:
  -h, --help              display help for command
Commands:
  apply [options] [file]  Apply labels from a JSON file or stdin (merges with
                          existing)
  list [options]          List all labels for a network
  clear [options]         Remove all labels for a network
  help [command]          display help for command

safely label apply [options] [file]

Apply labels from a JSON file or stdin (merges with existing)

Arguments:
  file                     Path to JSON file containing labels (omit to read
                           from stdin)
Options:
  -n, --network <network>  Network to apply labels to
  -h, --help               display help for command

safely label list [options]

List all labels for a network

Options:
  -n, --network <network>  Network to list labels for
  -h, --help               display help for command

safely label clear [options]

Remove all labels for a network

Options:
  -n, --network <network>  Network to clear labels for
  -h, --help               display help for command

safely default [options] [command]

Multisig default values

Options:
  -h, --help      display help for command
Commands:
  list            List default multisig values
  set [options]   Set default multisig values
  remove          Remove default multisig value
  help [command]  display help for command

safely default list [options]

List default multisig values

Options:
  -h, --help  display help for command

safely default set [options]

Set default multisig values

Options:
  -m, --multisig <address>  Multisig address
  -n, --network <network>   network to use (choices: "aptos-devnet",
                            "aptos-testnet", "aptos-mainnet",
                            "movement-mainnet", "movement-testnet")
  -p, --profile <string>    Profile to use for transactions
  -h, --help                display help for command

safely default remove [options]

Remove default multisig value

Options:
  -h, --help  display help for command