@particle-network/cli
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Particle CLI

The Particle CLI is used to support Particle Network usage from the command line. It is built using oclif.

Installation

  • NPM: npm install -g @particle-network/cli
  • Yarn: yarn global add @particle-network/cli

Usage

Particle Network CLI

VERSION
  @particle-network/cli/0.1.0 darwin-x64 node-v16.14.2

USAGE
  $ particle [COMMAND]

COMMANDS
  autocomplete  display autocomplete installation instructions
  help          Display help for particle.
  sign-message  Sign a message with a keypair
  update        update the particle CLI
  • Sign message
USAGE
  $ particle sign-message [MESSAGE] [-k <value>] [-p <value>] [-c evm-chain|solana]

ARGUMENTS
  MESSAGE  The message to sign

FLAGS
  -c, --chain=<option>      [default: evm-chain] The chain type to use for signing
                            <options: evm-chain|solana>
  -k, --keypair=<value>     The keypair to use for signing
  -p, --privateKey=<value>  The private key(hex string) to use for signing

DESCRIPTION
  Sign a message with a keypair

EXAMPLES
  $ particle sign-message 'Particle Network' --chain solana --keypair ./keypair.json

License

Apache License 2.0

Readme

Keywords

Package Sidebar

Install

npm i @particle-network/cli

Weekly Downloads

1

Version

0.1.0

License

Apache-2.0

Unpacked Size

20.8 kB

Total Files

12

Last publish

Collaborators

  • rookie0
  • pantaovay
  • particle-web3