@snowflake-so/safe-cli
v1.0.7
Published
Snowflake Safe CLI: Manage multisig wallets on command line
Downloads
2
Maintainers
Readme
Snowflake Safe CLI
Installation
Install with NPM
npm install -g @snowflake-so/safe-cli
Or with Yarn
yarn add -G @snowflake-so/safe-cli
How to use the CLI?
Usage: snowsafe [options] [command]
❄️ Snowflake Safe CLI: Manage multisig wallets on command line ❄️
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
config Configure Snowflake CLI
proposal Manage proposals
safe Manage safes
program Manage Solana program
help [command] display help for command
Development Guide
To create a new command, go to src/command
and create a new command following the structure of current commands config.ts
or proposal.ts
.
Add a new command to the command instruction in the index.ts
Command List
1. Utility Command
--help (-h)
: Provides help information
--version (-v)
: Prints the version number
2. Get configuration
Usage: snowsafe config get [options]
Get configuration
Options:
-h, --help display help for command
config get
: Prints the configuration file
3. Set configuration
Usage: snowsafe config set [options]
Set configuration
Options:
--url <RPC_URL> Set URL to Solana RPC endpoint
--keypair <PATH_TO_KEYPAIR> Set path to keypair
-h, --help display help for command
config set
: Sets the configuration file
Flags
--url <URL>
: Solana Cluster endpoint (mainnet-beta, devnet, testnet)--keypair <PATH_TO_KEYPAIR>
: Path to keypair
Contact for support
Twitter: https://twitter.com/snowflake_sol
Website: https://snowflake.so/
Discord: https://discord.gg/VjebQgGa
@snowflake-so