npm package: @proton/cli
Description: Proton CLI
Author: Syed Jafri @jafri
Latest version: 0.1.97

# @proton/cli

Proton CLI

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/@proton/cli.svg)](https://npmjs.org/package/@proton/cli)
[![Downloads/week](https://img.shields.io/npm/dw/@proton/cli.svg)](https://npmjs.org/package/@proton/cli)
[![License](https://img.shields.io/npm/l/@proton/cli.svg)](https://github.com/ProtonProtocol/proton-cli/blob/master/package.json)

<!-- toc -->
* [@proton/cli](#protoncli)
* [Installation](#installation)
* [Install NodeJS](#install-nodejs)
* [Usage](#usage)
* [Commands](#commands)
<!-- tocstop -->

# Installation

Install CLI (NPM)

```
npm i -g @proton/cli
```

Install CLI (Yarn)

```
yarn global add @proton/cli
```

If you get a missing write access error on Mac/Linux, first run:

```
sudo chown -R $USER /usr/local/lib/node_modules
sudo chown -R $USER /usr/local/bin
```

# Install NodeJS

> You can skip this step if you already have NodeJS installed

**1. Install NVM**

MacOS/Linux/WSL:

```
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
```

Windows 7/10/11:

Download nvm-setup.zip and run it [here](https://github.com/coreybutler/nvm-windows/releases). After installation, open a new PowerShell window as administrator.

**2. Install NodeJS**

```
nvm install 16
nvm use 16
```

# Usage

<!-- usage -->
```sh-session
$ npm install -g @proton/cli
$ proton COMMAND
running command...
$ proton (--version)
@proton/cli/0.1.97 darwin-arm64 node-v23.11.0
$ proton --help [COMMAND]
USAGE
  $ proton COMMAND
...
```
<!-- usagestop -->

# Commands

<!-- commands -->
* [`proton account ACCOUNT`](#proton-account-account)
* [`proton account:create ACCOUNT`](#proton-accountcreate-account)
* [`proton account:create-funded ACCOUNT`](#proton-accountcreate-funded-account)
* [`proton action CONTRACT [ACTION] [DATA] [AUTHORIZATION]`](#proton-action-contract-action-data-authorization)
* [`proton block:get BLOCKNUMBER`](#proton-blockget-blocknumber)
* [`proton boilerplate [FOLDER]`](#proton-boilerplate-folder)
* [`proton chain:get`](#proton-chainget)
* [`proton chain:info`](#proton-chaininfo)
* [`proton chain:list`](#proton-chainlist)
* [`proton chain:set [CHAIN]`](#proton-chainset-chain)
* [`proton contract:abi ACCOUNT`](#proton-contractabi-account)
* [`proton contract:clear ACCOUNT`](#proton-contractclear-account)
* [`proton contract:enableinline ACCOUNT`](#proton-contractenableinline-account)
* [`proton contract:set ACCOUNT SOURCE`](#proton-contractset-account-source)
* [`proton encode:name ACCOUNT`](#proton-encodename-account)
* [`proton encode:symbol SYMBOL PRECISION`](#proton-encodesymbol-symbol-precision)
* [`proton endpoint`](#proton-endpoint)
* [`proton endpoint:default [ENDPOINT]`](#proton-endpointdefault-endpoint)
* [`proton endpoint:get`](#proton-endpointget)
* [`proton endpoint:set [ENDPOINT]`](#proton-endpointset-endpoint)
* [`proton faucet`](#proton-faucet)
* [`proton faucet:claim SYMBOL AUTHORIZATION`](#proton-faucetclaim-symbol-authorization)
* [`proton generate:action`](#proton-generateaction)
* [`proton generate:contract CONTRACTNAME`](#proton-generatecontract-contractname)
* [`proton generate:inlineaction ACTIONNAME`](#proton-generateinlineaction-actionname)
* [`proton generate:table TABLENAME`](#proton-generatetable-tablename)
* [`proton help [COMMAND]`](#proton-help-command)
* [`proton key:add [PRIVATEKEY]`](#proton-keyadd-privatekey)
* [`proton key:generate`](#proton-keygenerate)
* [`proton key:get PUBLICKEY`](#proton-keyget-publickey)
* [`proton key:list`](#proton-keylist)
* [`proton key:lock`](#proton-keylock)
* [`proton key:remove [PRIVATEKEY]`](#proton-keyremove-privatekey)
* [`proton key:reset`](#proton-keyreset)
* [`proton key:unlock [PASSWORD]`](#proton-keyunlock-password)
* [`proton msig:approve PROPOSER PROPOSAL AUTH`](#proton-msigapprove-proposer-proposal-auth)
* [`proton msig:cancel PROPOSALNAME AUTH`](#proton-msigcancel-proposalname-auth)
* [`proton msig:exec PROPOSER PROPOSAL AUTH`](#proton-msigexec-proposer-proposal-auth)
* [`proton msig:propose PROPOSALNAME ACTIONS AUTH`](#proton-msigpropose-proposalname-actions-auth)
* [`proton network`](#proton-network)
* [`proton permission ACCOUNT`](#proton-permission-account)
* [`proton permission:link ACCOUNT PERMISSION CONTRACT [ACTION]`](#proton-permissionlink-account-permission-contract-action)
* [`proton permission:unlink ACCOUNT CONTRACT [ACTION]`](#proton-permissionunlink-account-contract-action)
* [`proton psr URI`](#proton-psr-uri)
* [`proton ram`](#proton-ram)
* [`proton ram:buy BUYER RECEIVER BYTES`](#proton-rambuy-buyer-receiver-bytes)
* [`proton rpc:accountsbyauthorizers AUTHORIZATIONS [KEYS]`](#proton-rpcaccountsbyauthorizers-authorizations-keys)
* [`proton scan ACCOUNT`](#proton-scan-account)
* [`proton table CONTRACT [TABLE] [SCOPE]`](#proton-table-contract-table-scope)
* [`proton transaction JSON`](#proton-transaction-json)
* [`proton transaction:get ID`](#proton-transactionget-id)
* [`proton transaction:push TRANSACTION`](#proton-transactionpush-transaction)
* [`proton version`](#proton-version)

## `proton account ACCOUNT`

Get Account Information

```
USAGE
  $ proton account [ACCOUNT] [-r] [-t]

FLAGS
  -r, --raw
  -t, --tokens  Show token balances

DESCRIPTION
  Get Account Information
```

_See code: [lib/commands/account/index.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/account/index.js)_

## `proton account:create ACCOUNT`

Create New Account

```
USAGE
  $ proton account:create [ACCOUNT]

DESCRIPTION
  Create New Account
```

_See code: [lib/commands/account/create.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/account/create.js)_

## `proton account:create-funded ACCOUNT`

Create a new account funded by an existing account (no email verification).

```
USAGE
  $ proton account:create-funded [ACCOUNT] -c <value> [-h] [-k <value>] [-r <value>] [-o <value>]

ARGUMENTS
  ACCOUNT  New account name (4-12 chars, a-z and 1-5 only)

FLAGS
  -c, --creator=<value>  (required) Existing account that pays for and creates the new account
  -h, --help             show CLI help
  -k, --key=<value>      Public key for new account (PUB_K1_... format). Generates new key if omitted
  -o, --owner=<value>    Account to add as backup owner (can recover/rotate keys if agent key is lost)
  -r, --ram=<value>      [default: 3000] RAM bytes to purchase for new account (minimum 3000)

DESCRIPTION
  Create a new account funded by an existing account (no email verification).

  The creator account pays for RAM and signs the transaction.

  CPU and NET bandwidth are delegated for free by the network.

  Account naming rules:

  - Must be 4-12 characters long

  - Only lowercase letters a-z and digits 1-5 are allowed

  - Periods (.) are allowed but the suffix must be owned by the creator

  - Characters 0, 6, 7, 8, 9 are NOT allowed

  - Examples: myaccount, agent11111, test.paul

  Security:

  Use --owner to add a backup account to the owner permission.

  This allows the designated owner to recover or rotate keys

  on the new account if the generated key is lost or compromised.

  The owner permission threshold is set to 1, so either the key

  or the owner account can act independently.

  Cost: ~6-7 XPR per 3000 bytes of RAM (default).

  The creator account must hold enough XPR to cover RAM costs.

EXAMPLES
  $ proton account:create-funded myaccount --creator fundingacct

  $ proton account:create-funded myaccount -c fundingacct --ram 8192

  $ proton account:create-funded myaccount -c fundingacct -k PUB_K1_...

  $ proton account:create-funded agentacct -c fundingacct --owner paul123
```

_See code: [lib/commands/account/create-funded.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/account/create-funded.js)_

## `proton action CONTRACT [ACTION] [DATA] [AUTHORIZATION]`

Execute Action

```
USAGE
  $ proton action [CONTRACT] [ACTION] [DATA] [AUTHORIZATION]

ARGUMENTS
  CONTRACT
  ACTION
  DATA
  AUTHORIZATION  Account to authorize with

DESCRIPTION
  Execute Action
```

_See code: [lib/commands/action/index.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/action/index.js)_

## `proton block:get BLOCKNUMBER`

Get Block

```
USAGE
  $ proton block:get [BLOCKNUMBER]

DESCRIPTION
  Get Block
```

_See code: [lib/commands/block/get.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/block/get.js)_

## `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: [lib/commands/boilerplate.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/boilerplate.js)_

## `proton chain:get`

Get Current Chain

```
USAGE
  $ proton chain:get

DESCRIPTION
  Get Current Chain

ALIASES
  $ proton network
```

_See code: [lib/commands/chain/get.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/chain/get.js)_

## `proton chain:info`

Get Chain Info

```
USAGE
  $ proton chain:info

DESCRIPTION
  Get Chain Info
```

_See code: [lib/commands/chain/info.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/chain/info.js)_

## `proton chain:list`

All Networks

```
USAGE
  $ proton chain:list

DESCRIPTION
  All Networks
```

_See code: [lib/commands/chain/list.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/chain/list.js)_

## `proton chain:set [CHAIN]`

Set Chain

```
USAGE
  $ proton chain:set [CHAIN]

ARGUMENTS
  CHAIN  Specific chain

DESCRIPTION
  Set Chain
```

_See code: [lib/commands/chain/set.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/chain/set.js)_

## `proton contract:abi ACCOUNT`

Get Contract ABI

```
USAGE
  $ proton contract:abi [ACCOUNT]

DESCRIPTION
  Get Contract ABI
```

_See code: [lib/commands/contract/abi.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/contract/abi.js)_

## `proton contract:clear ACCOUNT`

Clean Contract

```
USAGE
  $ proton contract:clear [ACCOUNT] [-a] [-w]

FLAGS
  -a, --abiOnly   Only remove ABI
  -w, --wasmOnly  Only remove WASM

DESCRIPTION
  Clean Contract
```

_See code: [lib/commands/contract/clear.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/contract/clear.js)_

## `proton contract:enableinline ACCOUNT`

Enable Inline Actions on a Contract

```
USAGE
  $ proton contract:enableinline [ACCOUNT] [-p <value>]

ARGUMENTS
  ACCOUNT  Contract account to enable

FLAGS
  -p, --authorization=<value>  Use a specific authorization other than contract@active

DESCRIPTION
  Enable Inline Actions on a Contract
```

_See code: [lib/commands/contract/enableinline.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/contract/enableinline.js)_

## `proton contract:set ACCOUNT SOURCE`

Deploy Contract (WASM + ABI)

```
USAGE
  $ proton contract:set [ACCOUNT] [SOURCE] [-c] [-a] [-w] [-s]

FLAGS
  -a, --abiOnly        Only deploy ABI
  -c, --clear          Removes WASM + ABI from contract
  -s, --disableInline  Disable inline actions on contract
  -w, --wasmOnly       Only deploy WASM

DESCRIPTION
  Deploy Contract (WASM + ABI)
```

_See code: [lib/commands/contract/set.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/contract/set.js)_

## `proton encode:name ACCOUNT`

Encode Name

```
USAGE
  $ proton encode:name [ACCOUNT]

DESCRIPTION
  Encode Name
```

_See code: [lib/commands/encode/name.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/encode/name.js)_

## `proton encode:symbol SYMBOL PRECISION`

Encode Symbol

```
USAGE
  $ proton encode:symbol [SYMBOL] [PRECISION]

DESCRIPTION
  Encode Symbol
```

_See code: [lib/commands/encode/symbol.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/encode/symbol.js)_

## `proton endpoint`

Get Current enpoint

```
USAGE
  $ proton endpoint

DESCRIPTION
  Get Current enpoint

ALIASES
  $ proton endpoint
```

## `proton endpoint:default [ENDPOINT]`

Restore default enpoint

```
USAGE
  $ proton endpoint:default [ENDPOINT]

ARGUMENTS
  ENDPOINT  Restore default endpoints

DESCRIPTION
  Restore default enpoint
```

_See code: [lib/commands/endpoint/default.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/endpoint/default.js)_

## `proton endpoint:get`

Get Current enpoint

```
USAGE
  $ proton endpoint:get

DESCRIPTION
  Get Current enpoint

ALIASES
  $ proton endpoint
```

_See code: [lib/commands/endpoint/get.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/endpoint/get.js)_

## `proton endpoint:set [ENDPOINT]`

Set current enpoint

```
USAGE
  $ proton endpoint:set [ENDPOINT]

ARGUMENTS
  ENDPOINT  Specific endpoint

DESCRIPTION
  Set current enpoint
```

_See code: [lib/commands/endpoint/set.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/endpoint/set.js)_

## `proton faucet`

List all faucets

```
USAGE
  $ proton faucet

DESCRIPTION
  List all faucets
```

_See code: [lib/commands/faucet/index.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/faucet/index.js)_

## `proton faucet:claim SYMBOL AUTHORIZATION`

Claim faucet

```
USAGE
  $ proton faucet:claim [SYMBOL] [AUTHORIZATION]

ARGUMENTS
  SYMBOL
  AUTHORIZATION  Authorization like account1@active

DESCRIPTION
  Claim faucet
```

_See code: [lib/commands/faucet/claim.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/faucet/claim.js)_

## `proton generate:action`

Add extra actions to the smart contract

```
USAGE
  $ proton generate:action [-o <value>] [-c <value>]

FLAGS
  -c, --contract=<value>  The name of the contract for table. 1-12 chars, only lowercase a-z and numbers 1-5 are
                          possible
  -o, --output=<value>    The relative path to folder the the contract should be located. Current folder by default.

DESCRIPTION
  Add extra actions to the smart contract
```

_See code: [lib/commands/generate/action.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/generate/action.js)_

## `proton generate:contract CONTRACTNAME`

Create new smart contract

```
USAGE
  $ proton generate:contract [CONTRACTNAME] [-o <value>]

ARGUMENTS
  CONTRACTNAME  The name of the contract. 1-12 chars, only lowercase a-z and numbers 1-5 are possible

FLAGS
  -o, --output=<value>  The relative path to folder the the contract should be located. Current folder by default.

DESCRIPTION
  Create new smart contract
```

_See code: [lib/commands/generate/contract.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/generate/contract.js)_

## `proton generate:inlineaction ACTIONNAME`

Add inline action for the smart contract

```
USAGE
  $ proton generate:inlineaction [ACTIONNAME] [-o <value>] [-c <value>]

ARGUMENTS
  ACTIONNAME  The name of the inline action's class.

FLAGS
  -c, --contract=<value>  The name of the contract for table. 1-12 chars, only lowercase a-z and numbers 1-5 are
                          possible
  -o, --output=<value>    The relative path to folder the the contract should be located. Current folder by default.

DESCRIPTION
  Add inline action for the smart contract
```

_See code: [lib/commands/generate/inlineaction.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/generate/inlineaction.js)_

## `proton generate:table TABLENAME`

Add table for the smart contract

```
USAGE
  $ proton generate:table [TABLENAME] [-t <value>] [-s] [-o <value>] [-c <value>]

ARGUMENTS
  TABLENAME  The name of the contract's table. 1-12 chars, only lowercase a-z and numbers 1-5 are possible

FLAGS
  -c, --contract=<value>  The name of the contract for table. 1-12 chars, only lowercase a-z and numbers 1-5 are
                          possible
  -o, --output=<value>    The relative path to folder the the contract should be located. Current folder by default.
  -s, --singleton         Create a singleton table?
  -t, --class=<value>     The name of Typescript class for the table

DESCRIPTION
  Add table for the smart contract
```

_See code: [lib/commands/generate/table.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/generate/table.js)_

## `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](https://github.com/oclif/plugin-help/blob/v3.3.1/src/commands/help.ts)_

## `proton key:add [PRIVATEKEY]`

Manage Keys

```
USAGE
  $ proton key:add [PRIVATEKEY]

DESCRIPTION
  Manage Keys
```

_See code: [lib/commands/key/add.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/key/add.js)_

## `proton key:generate`

Generate Key

```
USAGE
  $ proton key:generate

DESCRIPTION
  Generate Key
```

_See code: [lib/commands/key/generate.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/key/generate.js)_

## `proton key:get PUBLICKEY`

Find private key for public key

```
USAGE
  $ proton key:get [PUBLICKEY]

DESCRIPTION
  Find private key for public key
```

_See code: [lib/commands/key/get.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/key/get.js)_

## `proton key:list`

List All Key

```
USAGE
  $ proton key:list

DESCRIPTION
  List All Key
```

_See code: [lib/commands/key/list.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/key/list.js)_

## `proton key:lock`

Lock Keys with password

```
USAGE
  $ proton key:lock

DESCRIPTION
  Lock Keys with password
```

_See code: [lib/commands/key/lock.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/key/lock.js)_

## `proton key:remove [PRIVATEKEY]`

Remove Key

```
USAGE
  $ proton key:remove [PRIVATEKEY]

DESCRIPTION
  Remove Key
```

_See code: [lib/commands/key/remove.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/key/remove.js)_

## `proton key:reset`

Reset password (Caution: deletes all private keys stored)

```
USAGE
  $ proton key:reset

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

_See code: [lib/commands/key/reset.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/key/reset.js)_

## `proton key:unlock [PASSWORD]`

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

```
USAGE
  $ proton key:unlock [PASSWORD]

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

_See code: [lib/commands/key/unlock.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/key/unlock.js)_

## `proton msig:approve PROPOSER PROPOSAL AUTH`

Multisig Approve

```
USAGE
  $ proton msig:approve [PROPOSER] [PROPOSAL] [AUTH]

DESCRIPTION
  Multisig Approve
```

_See code: [lib/commands/msig/approve.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/msig/approve.js)_

## `proton msig:cancel PROPOSALNAME AUTH`

Multisig Cancel

```
USAGE
  $ proton msig:cancel [PROPOSALNAME] [AUTH]

DESCRIPTION
  Multisig Cancel
```

_See code: [lib/commands/msig/cancel.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/msig/cancel.js)_

## `proton msig:exec PROPOSER PROPOSAL AUTH`

Multisig Execute

```
USAGE
  $ proton msig:exec [PROPOSER] [PROPOSAL] [AUTH]

DESCRIPTION
  Multisig Execute
```

_See code: [lib/commands/msig/exec.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/msig/exec.js)_

## `proton msig:propose PROPOSALNAME ACTIONS AUTH`

Multisig Propose

```
USAGE
  $ proton msig:propose [PROPOSALNAME] [ACTIONS] [AUTH] [-b <value>] [-x <value>]

FLAGS
  -b, --blocksBehind=<value>   [default: 30]
  -x, --expireSeconds=<value>  [default: 604800]

DESCRIPTION
  Multisig Propose
```

_See code: [lib/commands/msig/propose.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/msig/propose.js)_

## `proton network`

Get Current Chain

```
USAGE
  $ proton network

DESCRIPTION
  Get Current Chain

ALIASES
  $ proton network
```

## `proton permission ACCOUNT`

Update Permission

```
USAGE
  $ proton permission [ACCOUNT]

ARGUMENTS
  ACCOUNT  Account to modify

DESCRIPTION
  Update Permission
```

_See code: [lib/commands/permission/index.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/permission/index.js)_

## `proton permission:link ACCOUNT PERMISSION CONTRACT [ACTION]`

Link Auth

```
USAGE
  $ proton permission:link [ACCOUNT] [PERMISSION] [CONTRACT] [ACTION] [-p <value>]

FLAGS
  -p, --permission=<value>  Permission to sign with (e.g. account@active)

DESCRIPTION
  Link Auth
```

_See code: [lib/commands/permission/link.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/permission/link.js)_

## `proton permission:unlink ACCOUNT CONTRACT [ACTION]`

Unlink Auth

```
USAGE
  $ proton permission:unlink [ACCOUNT] [CONTRACT] [ACTION] [-p <value>]

FLAGS
  -p, --permission=<value>

DESCRIPTION
  Unlink Auth
```

_See code: [lib/commands/permission/unlink.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/permission/unlink.js)_

## `proton psr URI`

Create Session

```
USAGE
  $ proton psr [URI]

DESCRIPTION
  Create Session
```

_See code: [lib/commands/psr/index.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/psr/index.js)_

## `proton ram`

List Ram price

```
USAGE
  $ proton ram

DESCRIPTION
  List Ram price
```

_See code: [lib/commands/ram/index.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/ram/index.js)_

## `proton ram:buy BUYER RECEIVER BYTES`

Buy RAM for an account

```
USAGE
  $ proton ram:buy [BUYER] [RECEIVER] [BYTES] [-p <value>]

ARGUMENTS
  BUYER     Account paying for RAM
  RECEIVER  Account receiving RAM
  BYTES     Number of bytes of RAM to purchase

FLAGS
  -p, --authorization=<value>  Authorization to use (e.g., account@active). Defaults to buyer@active

DESCRIPTION
  Buy RAM for an account

EXAMPLES
  $ proton ram:buy myaccount myaccount 10000

  $ proton ram:buy payer receiver 50000 -p payer@active
```

_See code: [lib/commands/ram/buy.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/ram/buy.js)_

## `proton rpc:accountsbyauthorizers AUTHORIZATIONS [KEYS]`

Get Accounts by Authorization

```
USAGE
  $ proton rpc:accountsbyauthorizers [AUTHORIZATIONS] [KEYS]

DESCRIPTION
  Get Accounts by Authorization
```

_See code: [lib/commands/rpc/accountsbyauthorizers.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/rpc/accountsbyauthorizers.js)_

## `proton scan ACCOUNT`

Open Account in Proton Scan

```
USAGE
  $ proton scan [ACCOUNT]

DESCRIPTION
  Open Account in Proton Scan
```

_See code: [lib/commands/scan/index.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/scan/index.js)_

## `proton table CONTRACT [TABLE] [SCOPE]`

Get Table Storage Rows

```
USAGE
  $ proton table [CONTRACT] [TABLE] [SCOPE] [-l <value>] [-u <value>] [-k <value>] [-r] [-p] [-c <value>]
    [-i <value>]

FLAGS
  -c, --limit=<value>          [default: 100]
  -i, --indexPosition=<value>  [default: 1]
  -k, --keyType=<value>
  -l, --lowerBound=<value>
  -p, --showPayer
  -r, --reverse
  -u, --upperBound=<value>

DESCRIPTION
  Get Table Storage Rows
```

_See code: [lib/commands/table/index.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/table/index.js)_

## `proton transaction JSON`

Execute Transaction

```
USAGE
  $ proton transaction [JSON]

DESCRIPTION
  Execute Transaction
```

_See code: [lib/commands/transaction/index.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/transaction/index.js)_

## `proton transaction:get ID`

Get Transaction by Transaction ID

```
USAGE
  $ proton transaction:get [ID]

DESCRIPTION
  Get Transaction by Transaction ID
```

_See code: [lib/commands/transaction/get.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/transaction/get.js)_

## `proton transaction:push TRANSACTION`

Push Transaction

```
USAGE
  $ proton transaction:push [TRANSACTION] [-u <value>]

FLAGS
  -u, --endpoint=<value>  Your RPC endpoint

DESCRIPTION
  Push Transaction
```

_See code: [lib/commands/transaction/push.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/transaction/push.js)_

## `proton version`

Version of CLI

```
USAGE
  $ proton version

DESCRIPTION
  Version of CLI
```

_See code: [lib/commands/version.js](https://github.com/ProtonProtocol/proton-cli/blob/v0.1.97/lib/commands/version.js)_
<!-- commandsstop -->