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.7
  • Source
  • npm
  • Socket score

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

@protonprotocol/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 @protonprotocol/cli

yarn

yarn global add @protonprotocol/cli

Usage

$ npm install -g @proton/cli
$ proton COMMAND
running command...
$ proton (-v|--version|version)
@proton/cli/0.1.7 darwin-x64 node-v12.19.0
$ proton --help [COMMAND]
USAGE
  $ proton COMMAND
...

Commands

proton boilerplate [FOLDER]

Boilerplate a new Proton Project with contract, frontend and tests

USAGE
  $ proton boilerplate [FOLDER]

OPTIONS
  -h, --help  show CLI help

See code: src/commands/boilerplate.ts

proton generate:key

Generate Key

USAGE
  $ proton generate:key

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

proton help [COMMAND]

display help for proton

USAGE
  $ proton help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

proton install [VERSION]

Install nodeos, cleos and keosd software

USAGE
  $ proton install [VERSION]

ARGUMENTS
  VERSION  [default: 2.1.0-rc1] EOSIO version

See code: src/commands/install.ts

proton multisig:contract DIRECTORY

Multisig Contract

USAGE
  $ proton multisig:contract DIRECTORY

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

proton network:all

All Networks

USAGE
  $ proton network:all

See code: src/commands/network/all.ts

proton network:get

Get Current Network

USAGE
  $ proton network:get

ALIASES
  $ proton network

See code: src/commands/network/get.ts

proton network:set CHAIN

Set Current Network

USAGE
  $ proton network:set CHAIN

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

proton set:contract ACCOUNT DIRECTORY

Set Contract

USAGE
  $ proton set:contract ACCOUNT DIRECTORY

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

proton system:dappreg ACCOUNT

Set Contract

USAGE
  $ proton system:dappreg ACCOUNT

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

proton system:newaccount ACCOUNT OWNER ACTIVE

System NewAccount

USAGE
  $ proton system:newaccount ACCOUNT OWNER ACTIVE

OPTIONS
  -c, --cpu=cpu   [default: 10.0000 SYS]
  -d, --dappreg
  -h, --help      show CLI help
  -n, --net=net   [default: 10.0000 SYS]
  -r, --ram=ram   [default: 12288]
  -t, --transfer
  --code

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

proton version

Version of CLI

USAGE
  $ proton version

See code: src/commands/version.ts

proton wallet:create [NAME]

Create new local wallet

USAGE
  $ proton wallet:create [NAME]

See code: src/commands/wallet/create.ts

proton wallet:createkey [NAME] [TYPE]

Create key in wallet

USAGE
  $ proton wallet:createkey [NAME] [TYPE]

See code: src/commands/wallet/createkey.ts

proton wallet:importkey [NAME] [PRIVATE_KEY]

Import private key to wallet

USAGE
  $ proton wallet:importkey [NAME] [PRIVATE_KEY]

See code: src/commands/wallet/importkey.ts

proton wallet:list

List open wallets

USAGE
  $ proton wallet:list

ALIASES
  $ proton wallet

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

proton wallet:listprivatekeys [NAME]

List private keys for a single wallet

USAGE
  $ proton wallet:listprivatekeys [NAME]

See code: src/commands/wallet/listprivatekeys.ts

proton wallet:listpublickeys

List public keys for all wallets

USAGE
  $ proton wallet:listpublickeys

See code: src/commands/wallet/listpublickeys.ts

proton wallet:lock [NAME]

Lock local wallet

USAGE
  $ proton wallet:lock [NAME]

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

proton wallet:lockall

Lock all local wallets

USAGE
  $ proton wallet:lockall

See code: src/commands/wallet/lockall.ts

proton wallet:open [NAME]

Open local wallet

USAGE
  $ proton wallet:open [NAME]

See code: src/commands/wallet/open.ts

proton wallet:removekey [NAME] [PUBLIC_KEY]

Remove private key from wallet

USAGE
  $ proton wallet:removekey [NAME] [PUBLIC_KEY]

See code: src/commands/wallet/removekey.ts

proton wallet:stopkeosd

Stops Keosd

USAGE
  $ proton wallet:stopkeosd

See code: src/commands/wallet/stopkeosd.ts

proton wallet:unlock [NAME]

Unlock local wallet

USAGE
  $ proton wallet:unlock [NAME]

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

Keywords

FAQs

Package last updated on 17 May 2021

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