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 🙏

© 2024 – Pkg Stats / Ryan Hefner

sol-multisig-cli

v0.0.2

Published

CLI to manage Solana transactions using multisig.

Downloads

3

Readme

sol-multisig-cli

CLI to manage Solana transactions using multisig.

oclif Version CircleCI Downloads/week License

Usage

$ npm install -g sol-multisig-cli
$ sol-multisig COMMAND
running command...
$ sol-multisig (-v|--version|version)
sol-multisig-cli/0.0.2 linux-x64 node-v16.1.0
$ sol-multisig --help [COMMAND]
USAGE
  $ sol-multisig COMMAND
...

Commands

sol-multisig approve [TRANSACTION]

Approve (sign) an existing transaction.

USAGE
  $ sol-multisig approve [TRANSACTION]

ARGUMENTS
  TRANSACTION  the transaction`s publickey

OPTIONS
  -h, --help               show CLI help
  -m, --multisig=multisig  multisig account (publicKey)
  -s, --signer=signer      path to wallet file of payer for the transaction

EXAMPLE
  $ sol-multisig approve CqJTr3je2ENaenVtZDboVDTVPioFUmMuQNu4N5XeFWmh -m DbnEfsCR6gSk2Doqr8chiS8Uus2sizUn4H8zg6iU7Lkr

See code: src/commands/approve.ts

sol-multisig create [PARTICIPANTS]

Create a new multisig account.

USAGE
  $ sol-multisig create [PARTICIPANTS]

OPTIONS
  -h, --help                         show CLI help
  -s, --signer=signer                path to wallet file of payer for the transaction

  -t, --threshold=threshold          [default: 2] multisig threshold, minimum number of signers required to execute a
                                     transaction (DEFAULT=2).

  -x, --maxNumSigners=maxNumSigners  [default: 10] max number of signers in the multisig (DEFAULT=10).

EXAMPLE
  $ sol-multisig create "SIGNER_ACC1,SIGNER_ACC2,SIGNER_ACC3" -t 2 -x 9

See code: src/commands/create.ts

sol-multisig execute [TRANSACTION]

Execute an existing transaction that is already signed by the minimum number of owners.

USAGE
  $ sol-multisig execute [TRANSACTION]

OPTIONS
  -h, --help               show CLI help
  -m, --multisig=multisig  multisig account (publicKey)
  -s, --signer=signer      path to wallet file of payer for the transaction

EXAMPLE
  $ sol-multisig execute CqJTr3je2ENaenVtZDboVDTVPioFUmMuQNu4N5XeFWmh --signer=~/.config/solana/id.json

See code: src/commands/execute.ts

sol-multisig help [COMMAND]

display help for sol-multisig

USAGE
  $ sol-multisig help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

sol-multisig listsigners

List the signers of the specified multisig wallet.

USAGE
  $ sol-multisig listsigners

OPTIONS
  -h, --help               show CLI help
  -m, --multisig=multisig  multisig account (publicKey)
  -s, --signer=signer      path to wallet file of payer for the transaction
  -t, --token=token        token mint (publicKey)

EXAMPLE
  $ sol-multisig listSigners -m DbnEfsCR6gSk2Doqr8chiS8Uus2sizUn4H8zg6iU7Lkr

See code: src/commands/listsigners.ts

sol-multisig listtransactions

List all transactions for the given multisig account.

USAGE
  $ sol-multisig listtransactions

OPTIONS
  -h, --help               show CLI help
  -m, --multisig=multisig  multisig account (publicKey)
  -s, --signer=signer      path to wallet file of payer for the transaction

EXAMPLE
  $ sol-multisig listTx -m DbnEfsCR6gSk2Doqr8chiS8Uus2sizUn4H8zg6iU7Lkr

See code: src/commands/listtransactions.ts

sol-multisig saberdeposit [SWAPACCOUNT] [AMOUNTA] [AMOUNTB] [MINPOOLAMOUNT]

Deposit tokens into a Saber pool.

USAGE
  $ sol-multisig saberdeposit [SWAPACCOUNT] [AMOUNTA] [AMOUNTB] [MINPOOLAMOUNT]

OPTIONS
  -h, --help               show CLI help
  -m, --multisig=multisig  multisig account (publicKey)
  -s, --signer=signer      path to wallet file of payer for the transaction

EXAMPLE
  $ sol-multisig saberDeposit VeNkoB1HvSP6bSeGybQDnx9wTWFsQb2NBCemeCDSuKL 10 10 1

See code: src/commands/saberdeposit.ts

sol-multisig saberwithdraw [SWAPACCOUNT] [POOLAMOUNT] [MINAMOUNTA] [MINAMOUNTB]

Withdraw tokens from a Saber pool.

USAGE
  $ sol-multisig saberwithdraw [SWAPACCOUNT] [POOLAMOUNT] [MINAMOUNTA] [MINAMOUNTB]

OPTIONS
  -a, --destA=destA        destination account for token A
  -b, --destB=destB        destination account for token B
  -h, --help               show CLI help
  -m, --multisig=multisig  multisig account (publicKey)
  -s, --signer=signer      path to wallet file of payer for the transaction

EXAMPLE
  $ sol-multisig saberWithdraw VeNkoB1HvSP6bSeGybQDnx9wTWFsQb2NBCemeCDSuKL 1 2 2

See code: src/commands/saberwithdraw.ts

sol-multisig transfertokens [TOKEN] [AMOUNT] [DESTINATION]

Submit a transaction to transfer tokens via the multisig wallet.

USAGE
  $ sol-multisig transfertokens [TOKEN] [AMOUNT] [DESTINATION]

OPTIONS
  -f, --from=from          source pubkey
  -h, --help               show CLI help
  -m, --multisig=multisig  multisig account (publicKey)
  -s, --signer=signer      path to wallet file of payer for the transaction

EXAMPLE
  $ sol-multisig transferTokens <token-mint> <amount-float> <destination-token-account>

See code: src/commands/transfertokens.ts