npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

sui-multisig-cli

v1.4.1

Published

CLI tool for managing Sui multisig operations

Readme

Sui Multisig CLI 🛡️

This CLI tool provides a secure way to manage multisig operations on the Sui blockchain. It's designed to be used alongside the web frontend for a complete multisig solution.

Prerequisites

NOTE: To use this tool you must use the custom fork of the Sui CLI. This custom fork allows to create a transaction with a custom signer (i.e. the multisig wallet). We created a PR (https://github.com/MystenLabs/sui/pull/22158) to add this new feature to the next version of the Sui CLI.

Installation

You can install the Sui Multisig CLI tool globally using npm:

npm install -g sui-multisig-cli

If you want to run the scripts without installing the tool, see the adjusted instructions here.

Initial setup

Before you start you must initialize the Sui CLI, connected to a Sui Full node (sui client new-env) and create some accounts (sui client new-address <KEY_SCHEME>). Instructions and more details can be found here.

Scripts

0. Setup Multisig Wallet

sui-multisig setup

Sets up a multisig wallet with multiple signers. The script will guide you through:

  • Adding public keys of all signers
  • Setting weights for each key
  • Setting the threshold for transaction approval

The configuration is saved to a JSON file in the transactions directory for future reference.

1. Create transaction

sui-multisig create [options]

Options:

  • -t, --type <type>: Transaction type (publish, upgrade, call, or transfer)
  • -b, --batch <file>: Create multiple transactions from a JSON batch file
  • -ms, --multisig <address>: Multisig wallet address to use as sender
  • -d, --directory <dir>: Package directory for publish/upgrade
  • -p, --package <address>: Package address for call
  • -m, --module <name>: Module name for call
  • -f, --function <name>: Function name for call
  • -a, --args <args>: Arguments for call (space-separated string)
  • -r, --recipient <address>: Recipient address for transfer
  • -o, --object <id>: Object ID for transfer

Creates a multisig transaction. The script supports four types of transactions:

  1. Publish - Deploy a new smart contract

    sui-multisig create -t publish -d <package_directory>

    Example:

    sui-multisig create -t publish -d ./my-contract
  2. Upgrade - Upgrade an existing smart contract

    sui-multisig create -t upgrade -d <package_directory>

    Example:

    sui-multisig create -t upgrade -d ./my-contract
  3. Call - Call a function on a smart contract

    sui-multisig create -t call -p <package_address> -m <module_name> -f <function_name> [-a <args>]

    Example:

    sui-multisig create -t call -p 0x123... -m counter -f create
  4. Transfer - Transfer an object to another account

    sui-multisig create -t transfer -r <recipient_address> -o <object_id>

    Example:

    sui-multisig create -t transfer -r 0x456... -o 0x789...

If no type is specified, the script will prompt you to select one interactively.

2. Approve transaction

sui-multisig approve [options]

Options:

  • -tx, --transaction <dir>: Specify the transaction directory (either just the name or full path)
  • -ms, --multisig <address>: Specify the multisig wallet address
  • -s, --signer <address>: Specify the signer address to use for approval
  • -y, --assume-yes: Automatically answer 'yes' to all prompts (non-interactive mode)

Examples:

Approve a transaction interactively:

sui-multisig approve

Approve a specific transaction non-interactively:

sui-multisig approve -tx tx_20250723_211214_call_counter_create -ms 0x... -s 0x... -y

3. Execute transaction

sui-multisig execute [options]

Options:

  • -tx, --transaction <dir>: Specify the transaction directory (either just the name or full path)
  • -ms, --multisig <address>: Specify the multisig wallet address
  • -y, --assume-yes: Automatically answer 'yes' to all prompts (non-interactive mode)

Examples:

Execute a transaction interactively:

sui-multisig execute

Execute a specific transaction non-interactively:

sui-multisig execute -tx tx_20250723_211214_call_counter_create -ms 0x... -y

Configuration

The CLI tool stores its configuration in the ~/.sui-multisig directory. This includes:

  • Multisig wallet configuration
  • Transaction history
  • Signer information

Development

To work on the CLI tool:

  1. Install dependencies:
pnpm install
  1. Build the TypeScript code:
pnpm build
  1. Run in development mode:
pnpm dev

License

MIT

Learn more

To learn more about how multisigs work on Sui check out these resources: