Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@proton/cli

Package Overview
Dependencies
Maintainers
3
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@proton/cli

Proton CLI

  • 0.1.13
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
decreased by-88.3%
Maintainers
3
Weekly downloads
 
Created
Source

@proton/cli

Proton CLI

oclif Version Downloads/week License

Installation

From Scratch

curl -Ls https://raw.githubusercontent.com/ProtonProtocol/proton-cli/master/install.sh | sh

NPM

npm i -g @proton/cli

yarn

yarn global add @proton/cli

Usage

$ npm install -g @proton/cli
$ proton COMMAND
running command...
$ proton (--version)
@proton/cli/0.1.13 darwin-arm64 node-v17.6.0
$ proton --help [COMMAND]
USAGE
  $ proton COMMAND
...

Commands

proton account ACCOUNTNAME

Get Account Information

USAGE
  $ proton account [ACCOUNTNAME] [-r]

FLAGS
  -r, --raw

DESCRIPTION
  Get Account Information

See code: src/commands/account/index.ts

proton boilerplate [FOLDER]

Boilerplate a new Proton Project with contract, frontend and tests

USAGE
  $ proton boilerplate [FOLDER] [-h]

FLAGS
  -h, --help  show CLI help

DESCRIPTION
  Boilerplate a new Proton Project with contract, frontend and tests

See code: src/commands/boilerplate.ts

proton chain

Get Current Chain

USAGE
  $ proton chain

DESCRIPTION
  Get Current Chain

ALIASES
  $ proton network

See code: src/commands/chain/index.ts

proton chain:info

Get Chain Info

USAGE
  $ proton chain:info

DESCRIPTION
  Get Chain Info

See code: src/commands/chain/info.ts

proton chain:list

All Networks

USAGE
  $ proton chain:list

DESCRIPTION
  All Networks

See code: src/commands/chain/list.ts

proton chain:set

Set Chain

USAGE
  $ proton chain:set [--chain proton|proton-test]

FLAGS
  --chain=<option>  <options: proton|proton-test>

DESCRIPTION
  Set Chain

See code: src/commands/chain/set.ts

proton contract:contract ACCOUNT DIRECTORY

Set Contract

USAGE
  $ proton contract:contract [ACCOUNT] [DIRECTORY]

DESCRIPTION
  Set Contract

See code: src/commands/contract/contract.ts

proton help [COMMAND]

display help for proton

USAGE
  $ proton help [COMMAND] [--all]

ARGUMENTS
  COMMAND  command to show help for

FLAGS
  --all  see all commands in CLI

DESCRIPTION
  display help for proton

See code: @oclif/plugin-help

proton keys:add [PRIVATEKEY]

Add Key

USAGE
  $ proton keys:add [PRIVATEKEY]

DESCRIPTION
  Add Key

See code: src/commands/keys/add.ts

proton keys:generate

Generate Key

USAGE
  $ proton keys:generate

DESCRIPTION
  Generate Key

See code: src/commands/keys/generate.ts

proton keys:list

List All Key

USAGE
  $ proton keys:list

DESCRIPTION
  List All Key

See code: src/commands/keys/list.ts

proton keys:lock

Lock Keys with password

USAGE
  $ proton keys:lock

DESCRIPTION
  Lock Keys with password

See code: src/commands/keys/lock.ts

proton keys:remove [PRIVATEKEY]

Remove Key

USAGE
  $ proton keys:remove [PRIVATEKEY]

DESCRIPTION
  Remove Key

See code: src/commands/keys/remove.ts

proton keys:reset

Reset password (Caution: deletes all private keys stored)

USAGE
  $ proton keys:reset

DESCRIPTION
  Reset password (Caution: deletes all private keys stored)

See code: src/commands/keys/reset.ts

proton keys:unlock [PASSWORD]

Unlock all keys (Caution: Your keys will be stored in plaintext on disk)

USAGE
  $ proton keys:unlock [PASSWORD]

DESCRIPTION
  Unlock all keys (Caution: Your keys will be stored in plaintext on disk)

See code: src/commands/keys/unlock.ts

proton multisig:contract DIRECTORY

Multisig Contract

USAGE
  $ proton multisig:contract [DIRECTORY]

DESCRIPTION
  Multisig Contract

See code: src/commands/multisig/contract.ts

proton network

Get Current Chain

USAGE
  $ proton network

DESCRIPTION
  Get Current Chain

ALIASES
  $ proton network

proton system:newaccount ACCOUNT OWNER ACTIVE

System NewAccount

USAGE
  $ proton system:newaccount [ACCOUNT] [OWNER] [ACTIVE] [-h] [-n <value>] [-c <value>] [-r <value>] [-t] [--code]

FLAGS
  -c, --cpu=<value>  [default: 10.0000 SYS]
  -h, --help         show CLI help
  -n, --net=<value>  [default: 10.0000 SYS]
  -r, --ram=<value>  [default: 12288]
  -t, --transfer
  --code

DESCRIPTION
  System NewAccount

See code: src/commands/system/newaccount.ts

proton version

Version of CLI

USAGE
  $ proton version

DESCRIPTION
  Version of CLI

See code: src/commands/version.ts

Keywords

FAQs

Package last updated on 07 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc